Date: Sun, 6 Mar 2011 11:51:39 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata ata-dma.c src/sys/dev/ata/chipsets ata-ahci.c ata-cyrix.c ata-marvell.c ata-national.c ata-promise.c ata-serverworks.c ata-siliconimage.c src/sys/powerpc/powermac ata_dbdma.c Message-ID: <201103061152.p26Bq5ta046468@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-03-06 11:51:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ata ata-dma.c sys/dev/ata/chipsets ata-ahci.c ata-cyrix.c ata-marvell.c ata-national.c ata-promise.c ata-serverworks.c ata-siliconimage.c sys/powerpc/powermac ata_dbdma.c Log: SVN rev 219333 on 2011-03-06 11:51:39Z by marius MFC: r216013, r216083 Several chipset drivers alter parameters relevant for the DMA tag creation, i.e. alignment, max_address, max_iosize and segsize (only max_address is thought to have an negative impact regarding this issue though), after calling ata_dmainit() either directly or indirectly so these values have no effect or at least no effect on the DMA tags and the defaults are used for the latter instead. So change the drivers to set these parameters up-front and ata_dmainit() to honor them. Reviewd by: mav Revision Changes Path 1.160.2.5 +22 -11 src/sys/dev/ata/ata-dma.c 1.26.2.10 +1 -1 src/sys/dev/ata/chipsets/ata-ahci.c 1.3.2.3 +1 -5 src/sys/dev/ata/chipsets/ata-cyrix.c 1.9.2.11 +1 -1 src/sys/dev/ata/chipsets/ata-marvell.c 1.3.2.3 +1 -3 src/sys/dev/ata/chipsets/ata-national.c 1.11.2.11 +1 -2 src/sys/dev/ata/chipsets/ata-promise.c 1.6.2.10 +2 -2 src/sys/dev/ata/chipsets/ata-serverworks.c 1.8.2.13 +4 -3 src/sys/dev/ata/chipsets/ata-siliconimage.c 1.2.2.3 +1 -2 src/sys/powerpc/powermac/ata_dbdma.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103061152.p26Bq5ta046468>