mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
cosmetics
This commit is contained in:
parent
fb92273bdc
commit
b8ad1eb270
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91860
@ -190,7 +190,7 @@ ata_attach(device_t dev)
|
|||||||
if (ata_getparam(&ch->device[MASTER], ATA_C_ATA_IDENTIFY))
|
if (ata_getparam(&ch->device[MASTER], ATA_C_ATA_IDENTIFY))
|
||||||
ch->devices &= ~ATA_ATA_MASTER;
|
ch->devices &= ~ATA_ATA_MASTER;
|
||||||
if (ch->devices & ATA_ATAPI_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;
|
ch->devices &= ~ATA_ATAPI_MASTER;
|
||||||
#ifdef DEV_ATADISK
|
#ifdef DEV_ATADISK
|
||||||
if (ch->devices & ATA_ATA_MASTER)
|
if (ch->devices & ATA_ATA_MASTER)
|
||||||
|
Loading…
Reference in New Issue
Block a user