freebsd-nq/sys/dev
Nate Lawson b0eefa38f9 Rework the code that waits for a response from the EC. Use an sx lock
instead of a mutex so we do not unblock it in msleep().  If we do this,
another event could occur, resetting the status register since reads
reset it.  While I'm here, remove the backoff approach.  Instead, sleep
in 10 ms chunks for up to the configured timeout using either DELAY (if
we aren't booted yet) or tsleep.

Help from:	dillon
Tested by:	Andrew Thompson andy AT fud.org.nz
2004-07-01 00:51:31 +00:00
..
aac Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
acpi_support Update for acpi_id_probe() 2004-06-29 19:05:20 +00:00
acpica Rework the code that waits for a response from the EC. Use an sx lock 2004-07-01 00:51:31 +00:00
adlink Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
advansys Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
agp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
aha
ahb
aic
aic7xxx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
amd Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
amr Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
an While setting up a transmit packet disable interupts on the card then 2004-06-17 02:19:11 +00:00
ar Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
arl Remove extra semicolon. 2004-06-02 18:03:07 +00:00
asr Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ata Remove leftover debug output. 2004-06-30 09:22:47 +00:00
ath
atkbdc Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
awi Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
bfe Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
bge Add some special case code to fix a problem with the BCM5704 in TBI (fiber) 2004-06-09 16:01:59 +00:00
bktr Fix a tuner problem. 2004-06-27 09:59:02 +00:00
buslogic Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
cardbus MFp4: 2004-06-27 13:07:02 +00:00
ciss Reset the update flag when scanning for new devices. 2004-06-22 23:05:06 +00:00
cm
cnw
cp Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
cs
ct
ctau Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
cx - Shorten the names for the TTY related swi interrupt handlers as the 2004-06-28 16:17:11 +00:00
cy - Shorten the names for the TTY related swi interrupt handlers as the 2004-06-28 16:17:11 +00:00
dc Remove saved_* from dc_softc. They are now no longer needed. 2004-06-29 20:38:44 +00:00
dcons Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
de Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
dec
digi Define the tty methods as typedefs. 2004-06-30 21:38:08 +00:00
dpt
drm Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ed A couple more style(9) nits I should have included in last commit 2004-06-18 01:28:54 +00:00
eisa When adding files to the repo, it is very important to not forget 2004-06-09 16:56:22 +00:00
em Implement support for controlling VLAN_HWTAGGING through ioctl(SIOCSIFCAP). 2004-06-04 16:57:18 +00:00
en Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ep
esp Include module.h 2004-06-21 07:27:34 +00:00
ex another format nit 2004-06-28 16:38:53 +00:00
exca
fatm
fb Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
fdc Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
fe Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
firewire Remove the setting of the pci config variables on power state changes. 2004-06-28 20:26:21 +00:00
fxp Remove the setting of the pci config variables on power state changes. 2004-06-28 20:26:21 +00:00
gem - Remove a variable no longer used after the conversion to ether_crc32_le(). 2004-06-10 00:04:16 +00:00
gfb Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
gx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
harp
hatm
hfa
hifn Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
hme Back out 1.23 until I figure out why it causes Netra t1 100 to no longer 2004-06-12 02:23:06 +00:00
ic
ichsmb Add PCI Device ID for 6300ESB ICH. If allocating 16 bytes fails then try 32. 2004-06-24 18:21:28 +00:00
ichwd make code less broken, only try to create unit 0 since there can only 2004-06-13 05:00:19 +00:00
ida Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
idt
ie
if_ndis Take advantage of the dev sysctl tree. 2004-06-04 22:24:46 +00:00
iicbus Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
iir Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ips Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ispfw Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ixgb Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
joy Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
kbd Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
led Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
lge Remove the setting of the pci config variables on power state changes. 2004-06-28 20:26:21 +00:00
lnc Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
matcd Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
mc146818
mca
mcd Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
md Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
mii
mk48txx
mlx Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
mly Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
mpt
mse Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
musycc
my Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
ncv
nge Remove the setting of the pci config variables on power state changes. 2004-06-28 20:26:21 +00:00
nmdm Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nsp
null Micro-tweaking. 2004-06-20 13:50:50 +00:00
ofw - set resid correctly so that a failed seek (e.g. end of file) returns 2004-06-25 13:43:56 +00:00
owi
patm
pccard
pccbb Improve the kludge assignment of sub-bus numbers a little by fixing an 2004-06-23 13:49:46 +00:00
pcf Add a first version of a pcf(4) front-end for the Sun i2c devices ("i2c" 2004-06-10 21:56:52 +00:00
pci Update the special handling code for ATA devices to allow usage of 2004-06-29 20:25:43 +00:00
pcic
pdq Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
ppbus Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ppc Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
pst
puc Remove extra RMAN_RESOURCE_VISISBLE 2004-06-30 21:37:55 +00:00
random Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ray Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
rc Define the tty methods as typedefs. 2004-06-30 21:38:08 +00:00
re Remove code to slam the config space on transition to d0. 2004-06-28 20:09:02 +00:00
rndtest
rp Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES. 2004-06-21 22:57:16 +00:00
sab Use generic modem control and BREAK ioctl handling. This eliminated 2004-06-25 20:32:51 +00:00
safe Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
sbni
sbsh Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
scd Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sf Remove burn bridges code that saved/restored the pci config registers 2004-06-28 20:07:03 +00:00
si Pick the hotchar out of the tty structure instead of caching private 2004-06-26 09:20:07 +00:00
sio Define the tty methods as typedefs. 2004-06-30 21:38:08 +00:00
sk Remove burn bridges code that saved/restored the pci config registers 2004-06-28 20:07:03 +00:00
smbus Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sn Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
snc
snp Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
sound Fix uninitialized variable, that breaks the build. 2004-06-25 16:34:33 +00:00
speaker Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sr Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
stg
streams Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sx Pick the hotchar out of the tty structure instead of caching private 2004-06-26 09:20:07 +00:00
sym
syscons Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
tdfx Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
tga Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
ti Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
trm Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
twa Fix a typo that made the busdma tag have a 0 highaddr. This driver heavily 2004-06-24 18:30:08 +00:00
twe Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
tx Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
txp Remove the setting of the pci config variables on power state changes. 2004-06-28 20:26:21 +00:00
uart Define the tty methods as typedefs. 2004-06-30 21:38:08 +00:00
ubsec Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
usb Add pnpinfo and location information to uhub. We also keep track of 2004-06-30 02:56:24 +00:00
utopia Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
vinum Catch up with g_dev_open() changes and pass over the current thread 2004-06-22 06:38:01 +00:00
vr Remove burn bridges code that saved/restored the pci config registers 2004-06-28 20:07:03 +00:00
vx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
watchdog Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
wds
wi Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
wl Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
xe MFp4: 2004-06-27 13:25:28 +00:00
zs Use generic routines for BREAK and modem control ioctls. 2004-06-25 20:33:52 +00:00