#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...
This commit is contained in:
Søren Schmidt 2003-09-08 08:36:46 +00:00
parent 08c26854a3
commit 4514dcad32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119879

View file

@ -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