commit | d4ed8f8d1fb7d59eb63d2eada9a32c2f8c3795e2 | [log] [tgz] |
---|---|---|
author | Linas Vepstas <linas@austin.ibm.com> | Wed Dec 13 15:06:59 2006 -0600 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Feb 05 16:58:43 2007 -0500 |
tree | 5deb53b975439ce61e40bee57259c2d113df598a | |
parent | 834324687d08e0f67b167934cb56406aa98ff8c6 [diff] |
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 <linas@austin.ibm.com> Cc: James K Lewis <jklewis@us.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>