mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
#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:
parent
08c26854a3
commit
4514dcad32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119879
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue