1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

cosmetics

This commit is contained in:
Søren Schmidt 2002-03-08 11:31:37 +00:00
parent fb92273bdc
commit b8ad1eb270
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91860

View File

@ -190,7 +190,7 @@ ata_attach(device_t dev)
if (ata_getparam(&ch->device[MASTER], ATA_C_ATA_IDENTIFY))
ch->devices &= ~ATA_ATA_MASTER;
if (ch->devices & ATA_ATAPI_MASTER)
if (ata_getparam(&ch->device[MASTER] ,ATA_C_ATAPI_IDENTIFY))
if (ata_getparam(&ch->device[MASTER], ATA_C_ATAPI_IDENTIFY))
ch->devices &= ~ATA_ATAPI_MASTER;
#ifdef DEV_ATADISK
if (ch->devices & ATA_ATA_MASTER)