Date: Sun, 28 Nov 2010 18:53:29 +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 Message-ID: <201011282007.oASK7PdU092998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-11-28 18:53:29 UTC FreeBSD src repository Modified files: 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 Log: SVN rev 216013 on 2010-11-28 18:53:29Z by marius 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 MFC after: 1 month Revision Changes Path 1.164 +22 -11 src/sys/dev/ata/ata-dma.c 1.36 +1 -1 src/sys/dev/ata/chipsets/ata-ahci.c 1.5 +1 -5 src/sys/dev/ata/chipsets/ata-cyrix.c 1.23 +1 -1 src/sys/dev/ata/chipsets/ata-marvell.c 1.5 +1 -3 src/sys/dev/ata/chipsets/ata-national.c 1.22 +1 -2 src/sys/dev/ata/chipsets/ata-promise.c 1.18 +2 -2 src/sys/dev/ata/chipsets/ata-serverworks.c 1.20 +4 -3 src/sys/dev/ata/chipsets/ata-siliconimage.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011282007.oASK7PdU092998>