]> git.baikalelectronics.ru Git - kernel.git/commit
net/at91_ether: clean up rx buffer handling
authorJoachim Eastwood <manabian@gmail.com>
Thu, 18 Oct 2012 11:01:17 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Oct 2012 17:18:29 +0000 (13:18 -0400)
commit300ec8ba22196d93413c6464e828a956df004dfa
tree72c51f4c09d2521dcdc46ca983e209597498fe3e
parentaacac73c09b0f512e140b2e98207e9dcb9a3a4fb
net/at91_ether: clean up rx buffer handling

This patch does two things:
* Use macb struct members and remove at91_ether ones
* Alloc DMA buffers on netdev start and dealloc on stop

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/cadence/macb.h