From 4514dcad3203cf0434877e5448c5d649496be988 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Schmidt?= Date: Mon, 8 Sep 2003 08:36:46 +0000 Subject: [PATCH] #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... --- sys/dev/ata/ata-lowlevel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c index 21a205d4633..cb6c12dd0f7 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 -- 2.45.2