]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years ago- Add myself.
beech [Sat, 9 Jun 2007 21:46:04 +0000 (21:46 +0000)]
- Add myself.

Approved by: sat (mentor)

17 years agoMake the handling of the tcp window explicit for the SYN_SENT case
andre [Sat, 9 Jun 2007 21:19:12 +0000 (21:19 +0000)]
Make the handling of the tcp window explicit for the SYN_SENT case
in tcp_outout().  This is currently not strictly necessary but paves
the way to simplify the entire SYN options handling quite a bit.
Clarify comment.  No change in effective behavour with this commit.

RFC1323 requires the window field in a SYN (i.e., a <SYN> or
<SYN,ACK>) segment itself never be scaled.

17 years agoRemove some bogosity from the SYN_SENT case in tcp_do_segment
andre [Sat, 9 Jun 2007 21:09:49 +0000 (21:09 +0000)]
Remove some bogosity from the SYN_SENT case in tcp_do_segment
and simplify handling of the send/receive window scaling.  No
change in effective behavour.

RFC1323 requires the window field in a SYN (i.e., a <SYN> or
<SYN,ACK>) segment itself never be scaled.

Noticed by: yar

17 years agoSince locking in kern/subr_prof.c is changed a bit, we need nomore of
attilio [Sat, 9 Jun 2007 19:41:14 +0000 (19:41 +0000)]
Since locking in kern/subr_prof.c is changed a bit, we need nomore of
time_lock spinlock exported.

Approved by: jeff (mentor)

17 years agoDon't send pure window updates when the peer has closed the connection
andre [Sat, 9 Jun 2007 19:39:14 +0000 (19:39 +0000)]
Don't send pure window updates when the peer has closed the connection
and won't ever send more data.

17 years agoThe current rusage code show peculiar problems:
attilio [Sat, 9 Jun 2007 18:56:11 +0000 (18:56 +0000)]
The current rusage code show peculiar problems:
- Unsafeness on ruadd() in thread_exit()
- Unatomicity of thread_exiit() in the exit1() operations

This patch addresses these problems allocating p_fd as part of the
process and modifying the way it is accessed.

A small chunk of this patch, resolves a race about p_state in kern_wait(),
since we have to be sure about the zombif-ing process.

Submitted by: jeff
Approved by: jeff (mentor)

17 years agoPropagate volatile qualifier to make gcc4.2 happy.
mjacob [Sat, 9 Jun 2007 18:09:37 +0000 (18:09 +0000)]
Propagate volatile qualifier to make gcc4.2 happy.

17 years agoHandle a race condition on >2 core machines in tcp_timer() when
andre [Sat, 9 Jun 2007 17:49:39 +0000 (17:49 +0000)]
Handle a race condition on >2 core machines in tcp_timer() when
a timer issues a shutdown and a simultaneous close on the socket
happens.  This race condition is inherent in the current socket/
inpcb life cycle system but can be handled well.

Reported by: kris
Tested by: kris (on 8-core machine)

17 years ago - Opps.. takes out debug printfs I accidentally left in :-(
rrs [Sat, 9 Jun 2007 13:53:27 +0000 (13:53 +0000)]
 - Opps.. takes out debug printfs I accidentally left in :-(

17 years ago- fix send_failed notification contents
rrs [Sat, 9 Jun 2007 13:46:57 +0000 (13:46 +0000)]
- fix send_failed notification contents
- Reorder send failed to be in correct order.
- Fixed calulation of init-ack to be right off
  mbuf lengths instead of the precalculated value. This
  will fix one 64 bit platform issue.

17 years agoAdds support for SCTP.
rrs [Sat, 9 Jun 2007 13:44:09 +0000 (13:44 +0000)]
Adds support for SCTP.

17 years agoMake this compile.
ru [Sat, 9 Jun 2007 11:07:07 +0000 (11:07 +0000)]
Make this compile.

17 years agoPointer to an ICMP header was getting left behind after doing a pullup.
darrenr [Sat, 9 Jun 2007 09:28:36 +0000 (09:28 +0000)]
Pointer to an ICMP header was getting left behind after doing a pullup.

17 years agoRemove a comment I forgot to remove
matteo [Sat, 9 Jun 2007 09:20:22 +0000 (09:20 +0000)]
Remove a comment I forgot to remove

17 years agoExpand USB_ATTACH_SETUP inline.
imp [Sat, 9 Jun 2007 06:53:27 +0000 (06:53 +0000)]
Expand USB_ATTACH_SETUP inline.
Kill devinfo stuff.

17 years agoExpand USB_ATTACH_SETUP inline + devinfo tweaks
imp [Sat, 9 Jun 2007 06:49:05 +0000 (06:49 +0000)]
Expand USB_ATTACH_SETUP inline + devinfo tweaks

# looks like there's a chance that uaudio might compile on otherBSD, so leave
# those #defines alone as well as make this change in a compatible way.

17 years agoRemove devinfo junk.
imp [Sat, 9 Jun 2007 06:42:19 +0000 (06:42 +0000)]
Remove devinfo junk.
Remove bogus bzero/memset
Expand USB_ATTACH_SETUP
Minor nits

17 years agoRemove lots of extra junk:
imp [Sat, 9 Jun 2007 06:40:17 +0000 (06:40 +0000)]
Remove lots of extra junk:
o other bsd defines, there's no way this would work there
o devinfo junk

17 years agoKill devinfo stuff. It is no longer needed.
imp [Sat, 9 Jun 2007 06:39:43 +0000 (06:39 +0000)]
Kill devinfo stuff.  It is no longer needed.
Kill bogus bzero as necessary.
Minor tidy.
Expand USB_ATTACH_SETUP inline where needed.

17 years agoKill USB_MATCH_SETUP, since this is the only place it was used in the tree.
imp [Sat, 9 Jun 2007 06:38:19 +0000 (06:38 +0000)]
Kill USB_MATCH_SETUP, since this is the only place it was used in the tree.
While I'm here, kill devinfo junk.

17 years agoTry to set the data multiplexed feature, but don't care if there's an
imp [Sat, 9 Jun 2007 06:37:17 +0000 (06:37 +0000)]
Try to set the data multiplexed feature, but don't care if there's an
error doing so.  It seems an increasing number of phones have this
quirk, and we're not keeping up.  There appears to be nothing bad that
happens for non-quirked phones.

Minor cleanups:
o prefer device_printf over printf
o kill devinfo stuff
o minor other preening.

17 years agoThe devinfo stuff has been moved up into the parent bus. There's no
imp [Sat, 9 Jun 2007 06:31:07 +0000 (06:31 +0000)]
The devinfo stuff has been moved up into the parent bus.  There's no
need to do it at all anymore.  Remove it from here.  Expand
USB_ATTACH_SETUP inline now that it is one line and we're moving away
from the compat macros.  Remove some bzero calls that turn out not be
be necessary.

17 years agoUpdated tests for changed features.
grog [Sat, 9 Jun 2007 06:01:24 +0000 (06:01 +0000)]
Updated tests for changed features.

Submitted by: edwin@

17 years agoSort events by date.
grog [Sat, 9 Jun 2007 05:54:13 +0000 (05:54 +0000)]
Sort events by date.
Correct long-standing off-by-one error in -W option.

Submitted by: edwin@

Shorten some long lines.  These files are still not completely
style(9) compliant.

17 years agoInclude calendar.dutch.
grog [Sat, 9 Jun 2007 05:51:24 +0000 (05:51 +0000)]
Include calendar.dutch.

17 years agoDutch calendar.
grog [Sat, 9 Jun 2007 05:41:18 +0000 (05:41 +0000)]
Dutch calendar.

Submitteed by: edwin@

17 years agoPhysical memory regions can be larger than INT_MAX. Change size1
marcel [Sat, 9 Jun 2007 01:19:08 +0000 (01:19 +0000)]
Physical memory regions can be larger than INT_MAX. Change size1
from an int to a long to avoid printing negative byte and page
counts.

17 years agoCleanup messages printed on attach. Since the description gets set to
imp [Fri, 8 Jun 2007 22:25:09 +0000 (22:25 +0000)]
Cleanup messages printed on attach.  Since the description gets set to
what we print, don't print it anymore.  And don't compute it anymore.
And don't malloc/free memory for it anymore.  While I'm here, prefer
device_printf where appropriate.

17 years agoDon't cast the command argument to ether_ioctl() to an int since its not an
dwhite [Fri, 8 Jun 2007 22:00:56 +0000 (22:00 +0000)]
Don't cast the command argument to ether_ioctl() to an int since its not an
int anymore. This was causing all sorts of bad behavior when booting a system
with an nve interface present.

17 years agoRemove the MUTEX_WAKE_ALL option and make it the default behaviour for our
attilio [Fri, 8 Jun 2007 21:36:52 +0000 (21:36 +0000)]
Remove the MUTEX_WAKE_ALL option and make it the default behaviour for our
mutexes.
Currently we alredy force MUTEX_WAKE_ALL beacause of some problems with the
!MUTEX_WAKE_ALL case (unavioidable priority inversion).

17 years agoEnable AUDIT by default in the GENERIC kernel, allowing security event
rwatson [Fri, 8 Jun 2007 20:29:07 +0000 (20:29 +0000)]
Enable AUDIT by default in the GENERIC kernel, allowing security event
auditing to be turned on without a kernel recompile, just an rc.conf
option.

Approved by: re (kensmith)
Obtained from: TrustedBSD Project

17 years agoAdd my copyright.
marcel [Fri, 8 Jun 2007 16:20:03 +0000 (16:20 +0000)]
Add my copyright.

Requested by: pjd@

17 years agoReplace a constant with an already defined symbolic name for it.
yar [Fri, 8 Jun 2007 13:43:28 +0000 (13:43 +0000)]
Replace a constant with an already defined symbolic name for it.

Tested with: md5(1)

17 years agoAdd a sysctl for the purge run interval so that it can
yar [Fri, 8 Jun 2007 13:35:51 +0000 (13:35 +0000)]
Add a sysctl for the purge run interval so that it can
be tuned along with the rest of hostcache parameters.
The new sysctl name is `net.inet.tcp.hostcache.prune'.

17 years agoReset dc->paddr and dc->reset if we cannot read configuration ROM.
simokawa [Fri, 8 Jun 2007 12:58:06 +0000 (12:58 +0000)]
Reset dc->paddr and dc->reset if we cannot read configuration ROM.

17 years agoCorrect the definition of PFIL_HOOKED() so that it compares
gallatin [Fri, 8 Jun 2007 12:43:25 +0000 (12:43 +0000)]
Correct the definition of PFIL_HOOKED() so that it compares
the value of ph_nhooks to zero, not the address.  This removes
extranious calls to pfil_run_hooks (and an rw lock) from the
network stack's critical path when no pfil hooks are active.

Reviewed by: csjp
Sponsored by: Myricom Inc.

17 years ago- Reduce number of atomic operations needed to be implemented in asm by
pjd [Fri, 8 Jun 2007 12:35:47 +0000 (12:35 +0000)]
- Reduce number of atomic operations needed to be implemented in asm by
  implementing some of them using existing ones.
- Allow to compile ZFS on all archs and use atomic operations surrounded
  by global mutex on archs we don't have or can't have all atomic
  operations needed by ZFS.

17 years agoMissing atomic operations for ZFS/ia64.
pjd [Fri, 8 Jun 2007 12:26:30 +0000 (12:26 +0000)]
Missing atomic operations for ZFS/ia64.

Submitted by: marcel

17 years agoDouble the WITNESS and DIAGNOSTIC benchmark warnings right before we
phk [Fri, 8 Jun 2007 11:47:36 +0000 (11:47 +0000)]
Double the WITNESS and DIAGNOSTIC benchmark warnings right before we
go into userland to improve the chances of people noticing them.

17 years ago- RTO was not being initialized to 0, thus the rtt calculation
rrs [Fri, 8 Jun 2007 10:57:11 +0000 (10:57 +0000)]
- RTO was not being initialized to 0, thus the rtt calculation
  algoritm would not go through the proper initialization.
- The initialization was incorrect as well, causing problems in
  sat networks with > 1sec RTT
- Get rid of magic numbers in RTT calculations.

17 years agoTimestamp after sent.
simokawa [Fri, 8 Jun 2007 09:04:30 +0000 (09:04 +0000)]
Timestamp after sent.

17 years agoDon't invalidate dcons buffer on shutdown.
simokawa [Fri, 8 Jun 2007 08:23:14 +0000 (08:23 +0000)]
Don't invalidate dcons buffer on shutdown.
We would like to keep connection after halt.

17 years agoFix a race after a bus reset.
simokawa [Fri, 8 Jun 2007 07:53:59 +0000 (07:53 +0000)]
Fix a race after a bus reset.
- We are in FWBUSINIT state just after SID interrupt.
- Do not pass normal xfers before bus probe is done.

17 years agoIn getblk(), before gbincore(), use BO_LOCK directly when locking
delphij [Fri, 8 Jun 2007 07:05:08 +0000 (07:05 +0000)]
In getblk(), before gbincore(), use BO_LOCK directly when locking
the bufobj, rather than using VI_LOCK, like what was done with
revision 1.453.

17 years agoIncrease inputFS buffer. awk will not accept some old scripts
delphij [Fri, 8 Jun 2007 05:44:12 +0000 (05:44 +0000)]
Increase inputFS buffer.  awk will not accept some old scripts
otherwise.

17 years agoClean up escape sequence handling and add support for
simokawa [Fri, 8 Jun 2007 05:26:11 +0000 (05:26 +0000)]
Clean up escape sequence handling and add support for
resetting target and suspending dconschat.

17 years agoSync with other platforms: add kluge to use contigmalloc when the
marcel [Fri, 8 Jun 2007 04:46:50 +0000 (04:46 +0000)]
Sync with other platforms: add kluge to use contigmalloc when the
alignment is larger than the size and print a diagnostic when we
didn't satisfy the alignment.

17 years agoAdd the address of IDT in the configuration ROM. (i386/amd64 only)
simokawa [Fri, 8 Jun 2007 04:33:25 +0000 (04:33 +0000)]
Add the address of IDT in the configuration ROM. (i386/amd64 only)

A change to dconschat(8) will follow so that it can bomb
this address over FireWire to reset a wedged system.

Though this method is just a hack and far from perfection,
it should be useful if you don't want to go machine room
just to reset or to power-cycle a machine without
remote-managed power supply.  And much better than doing:
# fwcontrol -m target-eui64
# dd if=/dev/zero of=/dev/fwmem0.2 bs=1m

17 years agogcc 4.2 thinks that tupleid is uninitialized. Or might be used
imp [Fri, 8 Jun 2007 04:03:57 +0000 (04:03 +0000)]
gcc 4.2 thinks that tupleid is uninitialized.  Or might be used
uninitialized.  It gets passed into other routines that initialize
it...  Cope by initializing.

Submitted by: mjacob

17 years agoReplace breakpoint() with kdb_enter().
simokawa [Fri, 8 Jun 2007 03:05:57 +0000 (03:05 +0000)]
Replace breakpoint() with kdb_enter().

17 years ago- Fixed a problem that caused autonegotiation failures.
davidch [Fri, 8 Jun 2007 02:34:44 +0000 (02:34 +0000)]
- Fixed a problem that caused autonegotiation failures.

Submitted by: tor.egge@cvsup.no.freebsd.org
MFC after: 4 weeks

17 years agoSet warning level to 2.
davidxu [Fri, 8 Jun 2007 02:21:13 +0000 (02:21 +0000)]
Set warning level to 2.

17 years agoPropagae volatile qualifier.
mjacob [Fri, 8 Jun 2007 01:54:22 +0000 (01:54 +0000)]
Propagae volatile qualifier.

17 years agoFix preprocessor code to check for a symbol being defined prior to checking
mjacob [Fri, 8 Jun 2007 01:49:04 +0000 (01:49 +0000)]
Fix preprocessor code to check for a symbol being defined prior to checking
for non-zero.

17 years agoCarry volatile type in cast so gcc 4.2 will be happy.
mjacob [Fri, 8 Jun 2007 01:48:23 +0000 (01:48 +0000)]
Carry volatile type in cast so gcc 4.2 will be happy.

17 years agoQuiet GCC 4.2 warning.
mjacob [Fri, 8 Jun 2007 01:39:04 +0000 (01:39 +0000)]
Quiet GCC 4.2 warning.

17 years agoRemove the __inline qualifier from a function which is in fact not an
mjacob [Fri, 8 Jun 2007 01:37:47 +0000 (01:37 +0000)]
Remove the __inline qualifier from a function which is in fact not an
inline but instead a module wide function, thus quieting a GCC 4.2 warning.

17 years agoInclude now unused var within #if 0 where it come back if the other
mjacob [Fri, 8 Jun 2007 01:34:04 +0000 (01:34 +0000)]
Include now unused var within #if 0 where it come back if the other
#if 0 code comes back- quiets gcc 4.2

17 years agoRemove assignment to uninitialized variable that wasn't then used anyway.
mjacob [Fri, 8 Jun 2007 01:21:20 +0000 (01:21 +0000)]
Remove assignment to uninitialized variable that wasn't then used anyway.

17 years agoPoll bus resets on FireWire while kdb/gdb is active.
simokawa [Fri, 8 Jun 2007 00:54:44 +0000 (00:54 +0000)]
Poll bus resets on FireWire while kdb/gdb is active.

Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb
is active. After this change, a dcons connnection over FireWire can survive
bus resets even in kernel debugger.

This means that it is not too late to plug a FireWire cable after a panic
to investigate the problem.

Actually there is a small window(between a jump to kernel from loader and
initialization of dcons_crom) in which no one can take care of a bus reset.
Except that window, firewire console should keep working
from loader to reboot even with a panic and a bus reset.
(as far as you enable LOADER_FIREWIRE_SUPPORT)

17 years agoMove per-process audit state from a pointer in the proc structure to
rwatson [Thu, 7 Jun 2007 22:27:15 +0000 (22:27 +0000)]
Move per-process audit state from a pointer in the proc structure to
embedded storage in struct ucred.  This allows audit state to be cached
with the thread, avoiding locking operations with each system call, and
makes it available in asynchronous execution contexts, such as deep in
the network stack or VFS.

Reviewed by: csjp
Approved by: re (kensmith)
Obtained from: TrustedBSD Project

17 years agoThere's no nobounce_dmamap on arm.
cognet [Thu, 7 Jun 2007 21:51:09 +0000 (21:51 +0000)]
There's no nobounce_dmamap on arm.

17 years agoIn tcp_hc_insert() we may have the case where we have hit the global
andre [Thu, 7 Jun 2007 21:41:50 +0000 (21:41 +0000)]
In tcp_hc_insert() we may have the case where we have hit the global
cache size limit but this bucket row is empty.  Normally we want to
recycle the oldest entry in the bucket row.  If there isn't any the
TAILQ_REMOVE leads to a panic by trying to remove a non-existing
element.  Fix this by just returning NULL and failing the insert.
This is not a problem as the TCP hostache is only advisory.

Submitted by: jhb

17 years ago- Remove unused variable from create_thread().
jhb [Thu, 7 Jun 2007 19:45:19 +0000 (19:45 +0000)]
- Remove unused variable from create_thread().
- Move kern_thr_*() prototype to <sys/syscallsubr.h> where all the other
  kern_*() prototypes live.

17 years agoRemove remaining references to pc_curtid missed in previous commit.
marcel [Thu, 7 Jun 2007 18:36:58 +0000 (18:36 +0000)]
Remove remaining references to pc_curtid missed in previous commit.

17 years agoEliminate pmap_install(), which was used to wrap pmap_switch() and
marcel [Thu, 7 Jun 2007 16:04:23 +0000 (16:04 +0000)]
Eliminate pmap_install(), which was used to wrap pmap_switch() and
grab sched_lock. This would serialize calls to pmap_switch from
cpu_switch(). With the introduction of thread_lock, this is not
possible anymore, because thread_lock is not a single lock. It
varies.  Secondly and most importantly, it's not needed at all. The
only requirement for pmap_switch() is that it's not preempted
while in the middle of updating the CPU and PCPU. In other words,
it's a critical region. No locking required.

17 years agoFix off-by-one error (introduced in r1.60) that had the effect of
bmah [Thu, 7 Jun 2007 15:04:30 +0000 (15:04 +0000)]
Fix off-by-one error (introduced in r1.60) that had the effect of
disallowing a read of exactly MAXPHYS bytes.

Reviewed by: des, rdivacky
MFC after: 1 week
Sponsored by: nCircle Network Security

17 years agoAdd a tunable hw.firewire.phydma_enable.
simokawa [Thu, 7 Jun 2007 13:20:48 +0000 (13:20 +0000)]
Add a tunable hw.firewire.phydma_enable.

This is enabled by default.  It should be disabled for
those who are uneasy with peeking/poking from FireWire.

Please note sbp(4) and dcons(4) over FireWire need
this feature.

17 years agoAdd heuristics for smooth reconnection.
simokawa [Thu, 7 Jun 2007 12:29:33 +0000 (12:29 +0000)]
Add heuristics for smooth reconnection.

17 years agoRemove compat ifdefs for version < 500014 from the rest of the USB files.
brueffer [Thu, 7 Jun 2007 09:29:37 +0000 (09:29 +0000)]
Remove compat ifdefs for version < 500014 from the rest of the USB files.

Approved by: rwatson (mentor)
MFC after: 1 week

17 years ago"-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8).
pav [Thu, 7 Jun 2007 07:43:04 +0000 (07:43 +0000)]
"-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8).

Pointed out by: ru

17 years agoBump __FreeBSD_version for the change of the vn_open/VOP_OPEN file index
kib [Thu, 7 Jun 2007 07:32:15 +0000 (07:32 +0000)]
Bump __FreeBSD_version for the change of the vn_open/VOP_OPEN file index
argument to struct file *.

Requested by: Csaba Henk <csaba-ml at creo hu>

17 years agoCalculate the correct PCI BAR for the Timedia based serial cards. The
peter [Thu, 7 Jun 2007 06:28:48 +0000 (06:28 +0000)]
Calculate the correct PCI BAR for the Timedia based serial cards.  The
Linux equivalent gives BAR offsets relative to the implied base of 0x10.
Our PUC_CFG_GET_RID functions have to add the base offset themselves.

17 years agoFix spaces introduced in last commit
imp [Thu, 7 Jun 2007 06:05:53 +0000 (06:05 +0000)]
Fix spaces introduced in last commit

17 years agoNew Features:
davidch [Thu, 7 Jun 2007 02:23:56 +0000 (02:23 +0000)]
New Features:
- Added 2.5G support for BCM5708S.

MFC after: 4 weeks

17 years agoNew features:
davidch [Thu, 7 Jun 2007 02:21:38 +0000 (02:21 +0000)]
New features:
- Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically
  TBI interfaces)
- Added 2.5G support for BCM5708S

Comments:
Since this driver is shared with bge I tested several available controllers
supported by bge and all worked as expected, however the list was not
exhaustive.  Need wider testing.

MFC after: 4 weeks

17 years agoFix compiling error.
davidxu [Thu, 7 Jun 2007 01:53:29 +0000 (01:53 +0000)]
Fix compiling error.

17 years agoThe maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes.
yongari [Thu, 7 Jun 2007 00:28:47 +0000 (00:28 +0000)]
The maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes.
In Rx path it allocates a new mbuf with m_getcl(9) so the length of
the mbuf is MCLBYTES which is greater than a segment size specified by
the dma tag. This segment size mismatch caused a voluntary panic.
Fix the panic by settting the mbuf length to TULIP_DATA_PER_DESC.

Reported by: Arne H Juul <arnej AT yahoo-inc DOT com>
Tested by: Arne H Juul <arnej AT yahoo-inc DOT com>

17 years ago - PCPU_ADD is no longer spelled with LAZY_ in the middle.
jeff [Wed, 6 Jun 2007 23:23:47 +0000 (23:23 +0000)]
 - PCPU_ADD is no longer spelled with LAZY_ in the middle.

Submitted by: attilio

17 years agoTeach the bridge wrapper how to handle the filter+ithread case.
piso [Wed, 6 Jun 2007 22:19:23 +0000 (22:19 +0000)]
Teach the bridge wrapper how to handle the filter+ithread case.

Reviewed by: marius

17 years ago-axe p_ih from struct puc_port cause it was useless
piso [Wed, 6 Jun 2007 22:17:01 +0000 (22:17 +0000)]
-axe p_ih from struct puc_port cause it was useless
-correctly check for filter only handler

Reviewed by: marcel
Tested by: marcel

17 years agoCorrectly print SEQ and IRS in the corresponding log message in
andre [Wed, 6 Jun 2007 22:10:12 +0000 (22:10 +0000)]
Correctly print SEQ and IRS in the corresponding log message in
syncache_expand().

17 years ago- Revert previous revision, it was incorrect
pav [Wed, 6 Jun 2007 21:28:50 +0000 (21:28 +0000)]
- Revert previous revision, it was incorrect
- Add an example using fdisk instead

Pointed out by: ru
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 3 days

17 years agoSpecify which Dlink chip is supported (D-Link DUB-E100 ver A) because
remko [Wed, 6 Jun 2007 19:27:10 +0000 (19:27 +0000)]
Specify which Dlink chip is supported (D-Link DUB-E100 ver A) because
others (D-Link DUB-E100 ver B1) are not.

PR: docs/109664
Submitted by: Martin Nilsson<martin at mullet dot se>
Patch by: asmodai
MFC after: 1 week

17 years agoDocument getaddrinfo(3)'s AI_ADDRCONFIG
remko [Wed, 6 Jun 2007 19:24:02 +0000 (19:24 +0000)]
Document getaddrinfo(3)'s AI_ADDRCONFIG

PR: docs/78357
Submitted by: Matthias Andree <matthias dot andree at gmx dot de>
Patch by: asmodai
MFC after: 1 week

17 years agoFix a typo to make this file compile
gallatin [Wed, 6 Jun 2007 18:33:38 +0000 (18:33 +0000)]
Fix a typo to make this file compile

17 years agoupdate copyrights to 2007 and convert to be 2-clause bsd-only
sam [Wed, 6 Jun 2007 15:49:16 +0000 (15:49 +0000)]
update copyrights to 2007 and convert to be 2-clause bsd-only

17 years agoMFp4: MPSAFE firewire stack.
simokawa [Wed, 6 Jun 2007 14:31:36 +0000 (14:31 +0000)]
MFp4: MPSAFE firewire stack.
- lock its own locks and drop Giant.
- create its own taskqueue thread.
- split interrupt routine
- use interrupt filter as a fast interrupt.
- run watchdog timer in taskqueue so that it should be
   serialized with the bottom half.
- add extra sanity check for transaction labels.
   disable ad-hoc workaround for unknown tlabels.
- add sleep/wakeup synchronization primitives
- don't reset OHCI in fwohci_stop()

17 years agoDo not leak lock in the case of EEXIST error.
glebius [Wed, 6 Jun 2007 14:21:49 +0000 (14:21 +0000)]
Do not leak lock in the case of EEXIST error.

PR: kern/92776
Submitted by: Ed Schouten <Ed.Schouten tunix.nl>

17 years agoMFi386: revision 1.657
nyan [Wed, 6 Jun 2007 13:04:15 +0000 (13:04 +0000)]
MFi386: revision 1.657

  Backout experimental adaptive-spin umtx code.

17 years ago- Sort the headers per style(9)
rafan [Wed, 6 Jun 2007 11:14:30 +0000 (11:14 +0000)]
- Sort the headers per style(9)

Reminded by: yar
Approved by: delphij (mentor, implicit)

17 years agoCorrect typo.
ceri [Wed, 6 Jun 2007 11:12:56 +0000 (11:12 +0000)]
Correct typo.

17 years agoUpdate rum driver that needs wlan(4).
kevlo [Wed, 6 Jun 2007 07:58:03 +0000 (07:58 +0000)]
Update rum driver that needs wlan(4).

17 years agoBackout experimental adaptive-spin umtx code.
davidxu [Wed, 6 Jun 2007 07:35:08 +0000 (07:35 +0000)]
Backout experimental adaptive-spin umtx code.

17 years agoAdd support IC Plus IP101 10/100 PHY that is found on nVidia network
yongari [Wed, 6 Jun 2007 07:07:23 +0000 (07:07 +0000)]
Add support IC Plus IP101 10/100 PHY that is found on nVidia network
adapters.

Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp >

17 years agoAdd IC Plus IP101 PHY
yongari [Wed, 6 Jun 2007 07:05:02 +0000 (07:05 +0000)]
Add IC Plus IP101 PHY

17 years agoAdd support Vitesse VSC8601 PHY that is found on nVidia network
yongari [Wed, 6 Jun 2007 06:55:49 +0000 (06:55 +0000)]
Add support Vitesse VSC8601 PHY that is found on nVidia network
adapters.

Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp >
Tested by: Yuri Pankov < yuri.pankov AT gmail DOT com>,
Rainer Hurling <rhurlin AT gwdg DOT de >

17 years agoAdd OUI for Vitesse Semiconductor.
yongari [Wed, 6 Jun 2007 06:53:40 +0000 (06:53 +0000)]
Add OUI for Vitesse Semiconductor.
Add Vitesse VSC8601 PHY.

17 years agoFix the compile. Band-aid until it is worked out how to use the context
grehan [Wed, 6 Jun 2007 06:01:56 +0000 (06:01 +0000)]
Fix the compile. Band-aid until it is worked out how to use the context
switch api on ppc.

17 years agoPrefix unknown (i.e. un-aliased) partition types with '!'. This is
marcel [Wed, 6 Jun 2007 05:06:14 +0000 (05:06 +0000)]
Prefix unknown (i.e. un-aliased) partition types with '!'. This is
how they had to be given with ctlreq.