]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit04879e5cb47f40534bc108d4aec1c49232de65fd
tree72c51f4c09d2521dcdc46ca983e209597498fe3e
parentfbb7a6e7d4ee2139405957a131623815060cb966
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