ATA_ATAPI_MASTER
if (ch->devices & (ATA_ATAPI_MASTER << atadev->unit))
if (ch->devices & (((ATA_ATA_MASTER | ATA_ATAPI_MASTER) << i))) {
return ((atadev->unit == ATA_MASTER && ch->devices & ATA_ATAPI_MASTER) ||
ch->devices |= ATA_ATAPI_MASTER;
(scp->ata_ch->devices & ATA_ATAPI_MASTER) != 0)
if (((atadev->unit == ATA_MASTER) && !(ch->devices & ATA_ATAPI_MASTER)) ||
if (((atadev->unit == ATA_MASTER) && !(ch->devices & ATA_ATAPI_MASTER)) ||
if (((atadev->unit == ATA_MASTER) && !(ch->devices & ATA_ATAPI_MASTER)) ||
if (ch->devices & ATA_ATAPI_MASTER && ch->devices & ATA_ATAPI_SLAVE) {
ch->devices = ATA_ATAPI_MASTER;
ch->devices = ATA_ATAPI_MASTER;
ch->devices = ATA_ATAPI_MASTER;