From: Linas Vepstas Date: Wed, 13 Dec 2006 21:06:59 +0000 (-0600) Subject: Spidernet DMA coalescing X-Git-Tag: v2.6.21-rc1~92^2~31^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4ed8f8d1fb7d59eb63d2eada9a32c2f8c3795e2;p=pandora-kernel.git Spidernet DMA coalescing The current driver code performs 512 DMA mappings of a bunch of 32-byte ring descriptor structures. This is silly, as they are all in contiguous memory. This patch changes the code to dma_map_coherent() each rx/tx ring as a whole. Signed-off-by: Linas Vepstas Cc: James K Lewis Cc: Arnd Bergmann Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed