summaryrefslogtreecommitdiff
path: root/drivers/net/acenic.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-07-22 10:31:12 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-26 03:16:00 +0400
commit427e21faee1877053828b115bbb336c289562ac5 (patch)
treef9e85e1f2a70bda11bc227e23a559820298677d7 /drivers/net/acenic.h
parent750e06992d49666a7589aac555eb3bb68e4dbb88 (diff)
downloadlinux-427e21faee1877053828b115bbb336c289562ac5.tar.xz
acenic: use netdev_alloc_skb_ip_align
Take Eric's patch one step further. Use netdev_skb_ip_align to do setup the receive skb. Compile tested only. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/acenic.h')
-rw-r--r--drivers/net/acenic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/acenic.h b/drivers/net/acenic.h
index f67dc9b0eb80..51c486cfbb8c 100644
--- a/drivers/net/acenic.h
+++ b/drivers/net/acenic.h
@@ -766,9 +766,9 @@ static inline void ace_unmask_irq(struct net_device *dev)
* Prototypes
*/
static int ace_init(struct net_device *dev);
-static void ace_load_std_rx_ring(struct ace_private *ap, int nr_bufs);
-static void ace_load_mini_rx_ring(struct ace_private *ap, int nr_bufs);
-static void ace_load_jumbo_rx_ring(struct ace_private *ap, int nr_bufs);
+static void ace_load_std_rx_ring(struct net_device *dev, int nr_bufs);
+static void ace_load_mini_rx_ring(struct net_device *dev, int nr_bufs);
+static void ace_load_jumbo_rx_ring(struct net_device *dev, int nr_bufs);
static irqreturn_t ace_interrupt(int irq, void *dev_id);
static int ace_load_firmware(struct net_device *dev);
static int ace_open(struct net_device *dev);