Date: Sat, 11 Sep 2010 22:09:16 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212483 - head/sys/powerpc/powermac Message-ID: <201009112209.o8BM9G3Y047436@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sat Sep 11 22:09:16 2010 New Revision: 212483 URL: http://svn.freebsd.org/changeset/base/212483 Log: ATAPI DMA does not seem to work completely reliably on Shasta controllers, especially in conjunction with ATA_CAM, so disable it for now. Modified: head/sys/powerpc/powermac/ata_kauai.c Modified: head/sys/powerpc/powermac/ata_kauai.c ============================================================================== --- head/sys/powerpc/powermac/ata_kauai.c Sat Sep 11 22:02:36 2010 (r212482) +++ head/sys/powerpc/powermac/ata_kauai.c Sat Sep 11 22:09:16 2010 (r212483) @@ -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 &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009112209.o8BM9G3Y047436>