freebsd-nq/sys
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
..
alpha - Remove unused definitions. 2004-06-23 08:06:52 +00:00
amd64 We need to make resources visible here as well. 2004-06-30 19:24:26 +00:00
arm Remove unused includes. 2004-06-28 11:35:05 +00:00
boot Remove the entry for configuring pcm0 mixer channels. 2004-06-24 17:49:18 +00:00
cam Revert rev 1.140, it was a bit pre-mature. 2004-06-21 19:01:55 +00:00
coda Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
compat Cast variable-sized (based on platform) quantities before printing out. 2004-06-24 02:21:17 +00:00
conf My last commit broke oldcard. Rather than duplicate the lines for 2004-06-30 14:52:49 +00:00
contrib Mess from update & merge - don't release the ifnet lock twice, just once 2004-06-29 03:39:06 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Fixed DDB_NOKLDSYM on amd64's: 2004-05-18 05:30:06 +00:00
dev Rework the code that waits for a response from the EC. Use an sx lock 2004-07-01 00:51:31 +00:00
fs Remove spls from portal_open(). Acquire socket lock while sleeping 2004-06-24 00:47:23 +00:00
geom Fix regression in last commit. 2004-06-29 08:33:58 +00:00
gnu Fixed misformatting of code and breaking of a comment in previous commit. 2004-06-20 03:36:31 +00:00
i4b Be BURN_BRIDGES compliant 2004-06-21 21:59:00 +00:00
i386 Hide struct resource and struct rman. You must define 2004-06-30 16:54:10 +00:00
ia64 Unbreak build: define __RMAN_RESOURCE_VISIBLE 2004-06-30 23:55:14 +00:00
isa Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isofs/cd9660 Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
kern Hide struct resource and struct rman. You must define 2004-06-30 16:54:10 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules The ahb module is not needed for pc98. 2004-06-30 13:09:13 +00:00
net Do not m_free packet since IF_HANDOFF (called from netisr_queue) will 2004-06-28 15:32:24 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Socket MAC labels so_label and so_peerlabel are now protected by 2004-06-13 02:50:07 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Remove the home-grown metadata facility in favour of the now generic 2004-06-30 22:51:29 +00:00
netinet Rwatson, write 100 times for tomorrow: 2004-06-27 21:54:34 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
netipx Acquire the receive socket buffer lock when modifying out-of-band 2004-06-24 04:29:53 +00:00
netkey Merge next step in socket buffer locking: 2004-06-21 00:20:43 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nfsclient When updating sb_flags, acquire the socket buffer lock to prevent 2004-06-24 03:12:13 +00:00
nfsserver Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 - Shorten the names for the TTY related swi interrupt handlers as the 2004-06-28 16:17:11 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci Remove saved_* from dc_softc. They are now no longer needed. 2004-06-29 20:38:44 +00:00
posix4
powerpc Catchup to now-required <sys/module.h> for PowerPC 2004-06-25 13:42:48 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels on 2004-06-24 03:34:46 +00:00
sparc64 These need __RMAN_RESOURCE_VISIBLE, too. 2004-06-30 23:21:07 +00:00
sys Define the tty methods as typedefs. 2004-06-30 21:38:08 +00:00
tools Complete quirk handling script by matching the in-kernel table format. 2004-06-30 04:40:20 +00:00
ufs Annotate that we don't check the returned data length from ufs_readdir() 2004-06-24 18:31:23 +00:00
vm Initialize result->backing_object_offset before linking result onto the list of 2004-06-28 20:26:35 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00