freebsd-dev/sys/i386
Bill Paul 89e85b2828 Apply my small patch to make detection of ATAPI CD-ROMs happen a
little more reliably. So far I've received a couple of positive
responses and no objections to these changes.

There are two one-line changes:

- In wdprobe(), when testing the error status of drives, don't
  unconditionally decide that there is no controller present if we
  read back a value of 0x81 (drive 0 okay, drive 1 failed) twice
  in a row. This may be caused by having an ATAPI CD-ROM jumpered
  as a master on the controller with no slave.

- In wdgetctlr(), when checking for a status of WDCS_READY, check the
  value twice. The first time may be bogus. This stops a phantom wd2
  device from being detected when an ATAPI CD-ROM is attached to the
  secondary controller alone as a slave. (This can cause installation to
  fail when sysinstall attempts to open the phantom device and wedges the
  system as a result. This has bitten me a couple of times on some
  Gateway 2000 machines.)
1996-08-12 00:53:02 +00:00
..
apm Add some comments explaining what APM_DSVALUE_BUG does no that I know 1996-07-11 16:35:12 +00:00
bios Add some comments explaining what APM_DSVALUE_BUG does no that I know 1996-07-11 16:35:12 +00:00
boot Megacommit to straigthen out ETHER_ mess. 1996-08-06 21:14:36 +00:00
conf Merge. 1996-07-11 11:18:45 +00:00
eisa Add interrupt register set up with original register value 1996-07-19 13:20:05 +00:00
i386 Add support for i686 machine check trap. 1996-08-11 17:41:25 +00:00
ibcs2 Clean-up the new VM map procfs code, and also add support for executable 1996-06-18 05:16:00 +00:00
include Defined T_MCHK exception for i686; renumbered T_RESERVED to 29. 1996-08-11 17:29:39 +00:00
isa Apply my small patch to make detection of ATAPI CD-ROMs happen a 1996-08-12 00:53:02 +00:00
linux Fix memory leak bug in the path parsing code which never released it's 1996-08-05 20:52:30 +00:00
pci Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.h 1996-06-18 01:22:40 +00:00
scsi Fix problem with scb flag handing that crept in with the SCB paging support. 1996-06-23 20:02:37 +00:00
Makefile