ATAPI DMA does not seem to work completely reliably on Shasta controllers,

especially in conjunction with ATA_CAM, so disable it for now.
This commit is contained in:
nwhitehorn 2010-09-11 22:09:16 +00:00
parent 4839bf82b7
commit 8b14990639

View File

@ -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 &&