summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-01-28 08:03:21 +0000
committersos <sos@FreeBSD.org>2000-01-28 08:03:21 +0000
commitf1a70ea24fc039df6d8ea38dbb8fdcc1337108fc (patch)
treea25840fd8c7fa6053a66f279cc76f876c47b75d9 /sys/dev
parent8d31907972e3e5380e3d86d84cc4fe380c739471 (diff)
downloadFreeBSD-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.c12
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
OpenPOWER on IntegriCloud