diff options
author | sos <sos@FreeBSD.org> | 2003-09-08 08:36:46 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2003-09-08 08:36:46 +0000 |
commit | a1e52d797a17e76da87dfc5481cdd0523b6640ec (patch) | |
tree | 63240b94b7e376bc7e936f46b5f5422593e0d2da | |
parent | d2bb76d9463520f2aef03b8b7ca1af51ab1e7ba3 (diff) | |
download | FreeBSD-src-a1e52d797a17e76da87dfc5481cdd0523b6640ec.zip FreeBSD-src-a1e52d797a17e76da87dfc5481cdd0523b6640ec.tar.gz |
#ifdef out the vague ATA disk detection code causing fake ATA disks
to be found on some systems.
Hopefully this doesn't loose any real ATA disks...
-rw-r--r-- | sys/dev/ata/ata-lowlevel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c index 21a205d..cb6c12d 100644 --- a/sys/dev/ata/ata-lowlevel.c +++ b/sys/dev/ata/ata-lowlevel.c @@ -595,6 +595,7 @@ ata_reset(struct ata_channel *ch) "reset tp2 mask=%02x stat0=%02x stat1=%02x devices=0x%b\n", mask, stat0, stat1, ch->devices, "\20\4ATAPI_SLAVE\3ATAPI_MASTER\2ATA_SLAVE\1ATA_MASTER"); +#if 0 if (!mask) return; @@ -628,6 +629,7 @@ ata_reset(struct ata_channel *ch) if (bootverbose) ata_printf(ch, -1, "reset tp3 devices=0x%b\n", ch->devices, "\20\4ATAPI_SLAVE\3ATAPI_MASTER\2ATA_SLAVE\1ATA_MASTER"); +#endif } static int |