freebsd-dev/sys
Warner Losh bfd58cce84 Rather than waiting a fixed amount of time, which might not be enough
and also holds things up, check every 20ms to see if we can read the
vendor of device 0.0.  It will be 0xffffffff until the card is out of
reset.  Always wait at least 20ms, for safety.

I think this is a better fix to the reset problem.  However, I did it
as a separate commit in case something bad happens, people can roll
back to the commit before this one to see if that gives them reliable
behavior.  I don't have FreeBSD up on enough machines to do exhaustive
testing on all known bridges...
2008-08-09 04:08:36 +00:00
..
amd64 - Add cpuctl(4) pseudo-device driver to provide access to some low-level 2008-08-08 16:26:53 +00:00
arm Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
boot - Initialize the vm86 structure to a known-good state. Specifically, always 2008-08-08 19:41:20 +00:00
bsm Further synchronization of copyrights, licenses, white space, etc from 2008-07-31 09:54:35 +00:00
cam Update SCSI opcodes and ASCs from t10.org. 2008-08-07 17:25:05 +00:00
cddl We want to use LBOLT instead of lbolt on FreeBSD. 2008-07-21 14:35:48 +00:00
compat Add TIOCPKT and TIOCSPTLCK to the Linuxolator. 2008-07-23 17:47:44 +00:00
conf - Add cpuctl(4) pseudo-device driver to provide access to some low-level 2008-08-08 16:26:53 +00:00
contrib Merge state reuse for tcp. 2008-08-04 14:42:09 +00:00
crypto Convert lock that protects sessions list from a mutex to a rwlock. 2008-07-20 07:34:00 +00:00
ddb Fix software single-stepping: we need to check if the instruction is a 2008-08-02 12:49:43 +00:00
dev Rather than waiting a fixed amount of time, which might not be enough 2008-08-09 04:08:36 +00:00
fs Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom Trivial commit to attempt to diagnose a svn problem. Add 2008-07-22 18:05:50 +00:00
gnu - Disallow XFS mounting in write mode. The write support never worked really 2008-07-21 23:01:09 +00:00
i386 - Add cpuctl(4) pseudo-device driver to provide access to some low-level 2008-08-08 16:26:53 +00:00
ia64 Update bus_dmamem_alloc()'s first call to malloc() such that M_WAITOK is 2008-07-15 03:34:49 +00:00
isa atrtc.c is a repocopy of the RTC device driver from i386/isa/clock.c 2008-04-14 07:57:15 +00:00
kern Permit Giant to be passed as the explicit interlock either to 2008-08-07 21:00:13 +00:00
libkern Return arc4_i = arc4_j = 0; line from previous backing out since 2008-07-26 16:42:45 +00:00
mips Document a few sysctls. 2008-08-03 14:11:06 +00:00
modules - Add cpuctl(4) pseudo-device driver to provide access to some low-level 2008-08-08 16:26:53 +00:00
net Make "1000baseT" the description and "1000baseTX" the alias for 2008-08-01 22:13:39 +00:00
net80211 add WPS oui 2008-08-06 15:54:59 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Implement ratelimiting for debug messages. For now, allow at most 2008-08-01 00:36:43 +00:00
netinet Minor white space tweaks. 2008-08-07 09:06:04 +00:00
netinet6 Adopt the slightly weaker consistency locking approach used in IPv4 raw 2008-07-30 09:26:27 +00:00
netipsec Add lifetime informations to generated SPD entries when SPDDUMP 2008-08-05 15:36:50 +00:00
netipx Begin the sysctl descriptions with a capital letter. 2008-07-25 23:54:07 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp lockmgrs need to be released before to be destroyed and draining doesn't 2008-03-30 18:16:33 +00:00
netsmb Really, smb_iod_main() is not totally MPSAFE, so just acquire and drop 2008-03-27 01:23:59 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Move the NFS/RPC code away from lbolt. 2008-07-22 21:27:22 +00:00
nfsclient Try again not to use a userspace pointer in the kernel when trying to record 2008-07-24 14:02:03 +00:00
nfsserver Remove spls from NFS server setup call; expand receive socket buffer 2008-06-30 20:43:06 +00:00
nlm Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
opencrypto Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
pc98 Disconnect drivers that haven't been ported to MPSAFE TTY yet. 2008-08-03 10:32:17 +00:00
pccard
pci Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
powerpc Disconnect drivers that haven't been ported to MPSAFE TTY yet. 2008-08-03 10:32:17 +00:00
rpc Re-work the code slightly to avoid a possible livelock. 2008-07-23 09:18:08 +00:00
security Minor style tweaks. 2008-08-02 22:30:51 +00:00
sparc64 - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's 2008-08-07 22:46:25 +00:00
sun4v - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's 2008-08-07 22:46:25 +00:00
sys Add prototype defination for setfib(2) to sys/socket.h. 2008-08-08 22:40:04 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs User may do "mount -o snapshot ...", that causes new FFS mount to be 2008-08-06 14:47:19 +00:00
vm If a thread that is swapped out is made runnable, then the setrunnable() 2008-08-05 20:02:31 +00:00
xdr Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
Makefile Add a "glimpse" target to the kernel Makefile. 2008-08-08 18:00:33 +00:00