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
simonb
5a696d0850
Fix uninitialised variable introduced with previous change.
...
Patch from mlelstv.
2003-09-23 09:16:07 +00:00
mycroft
07da406c30
GC a structure element.
2003-09-23 09:11:43 +00:00
matt
f47a587ee6
Redo/fix gcc3 files for PowerPC.
2003-09-23 09:06:33 +00:00
matt
5d47b7eb8c
Add a .PATH dependency on the target's gcc config directory.
2003-09-23 09:04:40 +00:00
matt
65f3d076cb
Regenerated powerpc--netbsd files.
2003-09-23 07:31:54 +00:00
grant
889c15684e
bump PKGTOOLS_VERSION for identification purposes (despite the lack of
...
any functional change).
2003-09-23 07:10:53 +00:00
grant
fd9dca3d28
don't assume mtree is in BINDIR, allow it to be overridden by
...
MTREE_CMD.
2003-09-23 06:19:45 +00:00
grant
e37cded7b1
remove redundant comments about zoularis.
2003-09-23 05:39:41 +00:00
yamt
67a5559821
cleanup IN_ADIROP/VDIROP handling a little.
2003-09-23 05:26:49 +00:00
yamt
e2fbe9d54d
remove unnecessary externs of lfs_do_flush.
2003-09-23 05:26:12 +00:00
skd
f3de6832d9
Additional definitions as per SATA specifications.
...
Approved by Manuel Bouyer.
2003-09-23 03:55:59 +00:00
itojun
1db8823e19
out-of-bounds access. from openbsd
2003-09-23 03:19:28 +00:00
cl
4f2222cf82
make gdb53 work on m68k
...
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
cl
b60a501123
remove double initialize_corelow
2003-09-23 01:11:48 +00:00
itojun
ec5e739b46
extra blank line
2003-09-23 00:03:05 +00:00
itojun
34439bf0c9
off-by-one. from openbsd
2003-09-22 22:12:05 +00:00
cl
b8a8531844
get sys/signal.h included before machine/frame.h includes m68k/signal.h
2003-09-22 21:42:46 +00:00
wiz
a936fb8471
Bump date for previous.
2003-09-22 21:08:49 +00:00
cl
c49d4a7e55
pass signo to fownsignal #ifdef ALTQ
2003-09-22 20:49:39 +00:00
jandberg
54dc1f63e0
regen after wsmouse addition
2003-09-22 18:33:41 +00:00
thorpej
ddfcdc4f1f
Add support for dynamically attaching and detaching RAID array units.
2003-09-22 18:31:10 +00:00
jandberg
bc88a03488
regen after wsmouse addition
2003-09-22 18:29:05 +00:00
jandberg
05be5081d9
added wsmouse
2003-09-22 18:23:01 +00:00
jandberg
448afe509a
add wscons support to amiga mouse
2003-09-22 18:17:30 +00:00
tsutsui
75ae5bc4d8
Count clock interrupts.
...
clock_intr() functions on sun3 are called directly without dispatchers.
XXX should use evcnt(9)?
2003-09-22 17:53:46 +00:00
matt
8012bf2926
Make COMPAT_xx imply all later COMPAT_yy. (COMPAT_09 implies all whereas
...
COMPAT_14 just implies COMPAT_1[56]). This means COMPAT_xy implies NetBSD
compatibility for NetBSD x.y OR LATER.
2003-09-22 17:26:14 +00:00
tsutsui
e1e026b917
KNF a bit.
2003-09-22 17:21:51 +00:00
cl
177e4581bf
document COMPAT_16 (requested by Izumi Tsutsui)
2003-09-22 17:13:32 +00:00
tsutsui
da943b106a
Remove #ifdef _KERNEL inside #ifdef _KERNEL.
2003-09-22 17:11:46 +00:00
tsutsui
4c224a510b
- replace a magic number with macro
...
- some KNF
2003-09-22 16:54:14 +00:00
christos
802390c474
Add more comments for gdb-5.3
2003-09-22 14:50:51 +00:00
cl
95bf6d89d8
SA_SIGINFO support for m68k (compat svr4)
2003-09-22 14:47:35 +00:00
cl
bfa716044e
SA_SIGINFO support for m68k (libpthread)
2003-09-22 14:45:48 +00:00
cl
ae9566397a
SA_SIGINFO support for m68k (libc)
2003-09-22 14:42:02 +00:00
enami
9c2e06fe24
Space after the keyword `if'.
2003-09-22 14:37:57 +00:00
cl
11af0a3c8d
SA_SIGINFO support for m68k (emul linux)
2003-09-22 14:36:42 +00:00
cl
6821f967f5
SA_SIGINFO support for m68k (compat hpux)
2003-09-22 14:35:58 +00:00
cl
bf9728e0db
SA_SIGINFO support for m68k (compat sunos)
2003-09-22 14:34:57 +00:00
cl
9b18b6fa61
regen
2003-09-22 14:32:15 +00:00
cl
a580f34fa7
SA_SIGINFO support for m68k (compat aoutm68k)
2003-09-22 14:31:27 +00:00
cl
4169237230
SA_SIGINFO support for m68k (port specific changes)
2003-09-22 14:26:57 +00:00
cl
9289d63920
SA_SIGINFO support for m68k
2003-09-22 14:18:33 +00:00
cl
20dfd3bdde
regen
2003-09-22 14:12:29 +00:00
cl
a4186d3dd8
add COMPAT_15/COMPAT_16
2003-09-22 14:11:15 +00:00
wiz
f28be7c09d
Bump date for previous.
2003-09-22 13:23:56 +00:00
christos
5ae3f9d89d
document passing of signo to fownsignal
2003-09-22 13:00:45 +00:00
christos
6edc0e184e
- pass signo to fownsignal [ok by jd]
...
- make urg signal handling use fownsignal
- remove out of band detection in sowakeup
2003-09-22 12:59:55 +00:00
atatat
32984bfff2
Don't install libsm. Instead, pull a couple of things over into
...
libmilter.
2003-09-22 12:54:46 +00:00
dsl
b17e1b5c12
Fix 'set "*" b; case "* b" in "$@") ...' and 'set "*"; case 1 in "${#1}") ...'
...
Which got broken by the previous fix.
2003-09-22 12:17:24 +00:00