diff options
author | sos <sos@FreeBSD.org> | 2000-01-28 08:03:21 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-01-28 08:03:21 +0000 |
commit | f1a70ea24fc039df6d8ea38dbb8fdcc1337108fc (patch) | |
tree | a25840fd8c7fa6053a66f279cc76f876c47b75d9 /sys/dev | |
parent | 8d31907972e3e5380e3d86d84cc4fe380c739471 (diff) | |
download | FreeBSD-src-f1a70ea24fc039df6d8ea38dbb8fdcc1337108fc.zip FreeBSD-src-f1a70ea24fc039df6d8ea38dbb8fdcc1337108fc.tar.gz |
Oops, fix compile error due to the new way of storing the transfer mode.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/atapi-all.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index 2f37f2c..f83a691 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -87,12 +87,12 @@ atapi_attach(struct ata_softc *scp, int32_t device) #ifdef ATA_ENABLE_ATAPI_DMA if (!(ATP_PARAM->drqtype == ATAPI_DRQT_INTR)) { - if (!ata_dmainit(atp->controller, atp->unit, - (ata_pmode(ATP_PARAM) < 0) ? - (ATP_PARAM->dmaflag ? 4 : 0) : ata_pmode(ATP_PARAM), - (ata_wmode(ATP_PARAM) < 0) ? - (ATP_PARAM->dmaflag ? 2 : 0) : ata_wmode(ATP_PARAM), - ata_umode(ATP_PARAM))) + ata_dmainit(atp->controller, atp->unit, + (ata_pmode(ATP_PARAM) < 0) ? + (ATP_PARAM->dmaflag ? 4 : 0) : ata_pmode(ATP_PARAM), + (ata_wmode(ATP_PARAM) < 0) ? + (ATP_PARAM->dmaflag ? 2 : 0) : ata_wmode(ATP_PARAM), + ata_umode(ATP_PARAM)); } else #endif |