summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/powermac/ata_kauai.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c
index fd45061..3ad2a48 100644
--- a/sys/powerpc/powermac/ata_kauai.c
+++ b/sys/powerpc/powermac/ata_kauai.c
@@ -217,8 +217,10 @@ ata_kauai_probe(device_t dev)
ch = &sc->sc_ch.sc_ch;
compatstring = ofw_bus_get_compat(dev);
- if (compatstring != NULL && strcmp(compatstring,"shasta-ata") == 0)
+ if (compatstring != NULL && strcmp(compatstring,"shasta-ata") == 0) {
+ ch->flags |= ATA_NO_ATAPI_DMA;
sc->shasta = 1;
+ }
/* Pre-K2 controllers apparently need this hack */
if (!sc->shasta &&
OpenPOWER on IntegriCloud