freebsd-dev/sys/i386
Bruce Evans 3aacd339f0 Fixed a couple of missing drive selects in wdreset(). This mainly
affects cases where there is a slave but no master.  These bugs
were usually recovered from provided ATAPI was configured, but only
after lengthy delays.  Configuring ATAPI still fixes some bugs for
non-atapi drives.

Don't wait for seek complete in wdreset().  If necessary for pre-ata
drives, it can be waited for later (we got it wrong by only looking
at it for drive 0 anyway).  It is set as part of a historical
signature for ata drives but doesn't say anything useful about the
reset state.  It is cleared as part of a non-historical signature
for atapi drives so that drivers which don't understand atapi drives
seem to see no drive.  Waiting for it caused lengthy delays and
broke the status returned by wdreset() in cases where the master
was not an ata drive.  Then the whole wdprobe() failed in some
cases where the recovery code didn't work.

Don't wait for drive ready in wdreset().  The considerations are
the same as for seek complete, except drive ready does say something
useful about the reset state of ata drives, and waiting for it
later is required anyway for such drives.

Lengthy delays can now be avoided by not configuring nonexistent
(ata) drives.  Unfortunately, this breaks detection of atapi drives
in some configurations.
1999-03-23 10:22:19 +00:00
..
apm Perform APM power-off on power-off request, not halt request. 1998-12-10 23:36:14 +00:00
bios Perform APM power-off on power-off request, not halt request. 1998-12-10 23:36:14 +00:00
boot Don't refer to i386/isa/kbdio.h anymore. Use dev/kbd/atkbdcreg.h instead. 1999-01-11 03:50:01 +00:00
conf Add cdev 120 as the audit device. 1999-03-21 21:53:09 +00:00
eisa Fix a typo. 1999-03-23 07:27:38 +00:00
i386 Link the bb structures together as we find them. 1999-03-21 12:30:50 +00:00
ibcs2 Add missing poatch for ibcs2_ipc.h as well. 1999-02-09 15:53:21 +00:00
include Change the vm86_datacall interface so that callers are now responsible 1999-03-18 04:37:35 +00:00
isa Fixed a couple of missing drive selects in wdreset(). This mainly 1999-03-23 10:22:19 +00:00
linux Fix thread/process tracking and differentiation for Linux threads emulation. 1999-03-02 00:28:09 +00:00
pci
svr4 Integrated a patch provided by Guido to more correctly work out the 1999-02-25 14:32:29 +00:00
Makefile Update to know about current kernel directory layout. 1999-02-28 22:14:16 +00:00