[PATCH v2 1/4 RESEND] staging: et131x: simplify rx dma code

2013-11-28 Thread ZHAO Gang
The original code allocate rx dma memory in several dma_alloc_coherent calls, which causes some problems: 1. since dma_alloc_coherent allocate at least one page memory, it wastes some memory when allocation size is smaller than one page. 2. it causes et131x_rx_dma_memory_free as complex as

Re: [PATCH v2 1/4 RESEND] staging: et131x: simplify rx dma code

2013-11-28 Thread Dan Carpenter
Reviewed-by: Dan Carpenter dan.carpen...@oracle.com regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel