NetBSD/sys
mycroft f9d629fb93 Fix more probe delay and/or failure problems:
1) Don't wait for DRQ on an IDENTIFY command -- if it's not set when we see
   BSY clear, abort the command and ignore the drive.  (Do this by testing
   for DRQ in the read/write cases in __wdccommand_intr().)
2) Don't wait for DRQ to deassert when we finish an IDENTIFY (or any other
   non-block command that reads data) -- we don't do this for block I/O, and
   empirically it doesn't clear on my CF cards at all, causing a pointless 1s
   delay.
3) Add comments to some of the delay()s, and add missing ones in wdcreset()
   and the WDCC_RECAL in the so-called "pre-ATA" probe.
4) Slightly simplify the reset sequence -- we were doing an extra I/O.
5) Modify the register writability test to make sure that registers are not
   overlapped -- this can happen in some weird cases with a missing device 1.
6) Check the error register value after the reset -- if it's not 01h or 81h,
   as appropriate (see ATA spec), punt.
Tested with a number of ATA-only, ATAPI-only, mixed ATA-ATAPI, CF, and IDE
disk configurations.

Also remove the SINGLE_DRIVE nonsense again.
2003-09-23 09:19:22 +00:00
..
altq
arch regen after wsmouse addition 2003-09-22 18:29:05 +00:00
coda
compat SA_SIGINFO support for m68k (emul linux) 2003-09-22 14:36:42 +00:00
conf Make COMPAT_xx imply all later COMPAT_yy. (COMPAT_09 implies all whereas 2003-09-22 17:26:14 +00:00
crypto
ddb Add a "show sched_qs" command to dump the run queues. Format is: 2003-09-20 03:02:03 +00:00
dev Fix more probe delay and/or failure problems: 2003-09-23 09:19:22 +00:00
fs add -t option for gmt time offset (normally MS-DOS filesystem has timestamp 2003-09-07 22:09:11 +00:00
gdbscripts
ipkdb
kern - pass signo to fownsignal [ok by jd] 2003-09-22 12:59:55 +00:00
lib the asm version of strlcpy() was buggy, just use the C version. 2003-09-11 05:04:33 +00:00
lkm Change LNFILES' to BUILDSYMLINKS', to more accurately describe its purpose. 2003-09-20 06:20:41 +00:00
miscfs move dupfd from struct proc to struct lwp - it's per-LWP, not per-process; we 2003-09-13 08:32:10 +00:00
net pass signo to fownsignal #ifdef ALTQ 2003-09-22 20:49:39 +00:00
net80211 Insert RCSIDs. 2003-09-14 01:14:54 +00:00
netatalk
netccitt
netinet Fast-ipsec can call ip_output() with a null 'struct socket *so' 2003-09-19 00:27:56 +00:00
netinet6 mark security policy that should persist in the system "persistent". 2003-09-22 04:47:43 +00:00
netipsec separate netkey/key* and netipsec/key* 2003-09-20 05:14:41 +00:00
netisdn Make it compile on alpha. 2003-08-12 19:49:27 +00:00
netiso adjust for SA_SIGINFO changes 2003-09-06 23:56:27 +00:00
netkey extra blank line 2003-09-23 00:03:05 +00:00
netnatm
netns
netsmb
nfs don't call nfs_delayedtruncate() from nfs_getpages(). 2003-09-17 09:11:12 +00:00
opencrypto Implement nanouptime as a function to avoid 'dereferencing type-punned pointer'. 2003-09-21 20:56:01 +00:00
stand
sys - pass signo to fownsignal [ok by jd] 2003-09-22 12:59:55 +00:00
ufs cleanup IN_ADIROP/VDIROP handling a little. 2003-09-23 05:26:49 +00:00
uvm Fix a reversed logic in swap deallocation which could lead to 2003-09-18 13:48:05 +00:00
Makefile