macb: Add support of the netpoll API
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 May 2009 18:08:41 +0000 (11:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2009 18:08:41 +0000 (11:08 -0700)
commit6e8cf5c069c6cb7b316e9b1715eac38873dd5cab
treefdbe28f7cf062c7e2dfaf4bdbb3e55345cf4bf60
parent255cac91c3c9ce7dca7713b93ab03c75b7902e0e
macb: Add support of the netpoll API

With this patch in place, I'm successfully able to use the netconsole
mechanism with the Calao USB-A9263 board, which uses the AT91SAM9263
CPU, which in terms of Ethernet controller is supported by the macb
driver.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[haavard.skinnemoen@atmel.com: disable_irq() -> local_irq_save()]
[haavard.skinnemoen@atmel.com: convert to net_device_ops]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macb.c