diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:50 -0400 |
commit | 27a1de95a1461ec0589005c293d6ac23a46cb72d (patch) | |
tree | 167e0c9aa3f2b179f4a38a7df734739e0b9cda6d /drivers/net/3c507.c | |
parent | ad096463f7ff809389454ea4219058a36564d55e (diff) |
3com: convert drivers to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r-- | drivers/net/3c507.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c index 9e93a0b39b6e..a6dc8bcbc7df 100644 --- a/drivers/net/3c507.c +++ b/drivers/net/3c507.c | |||
@@ -284,7 +284,8 @@ static unsigned short init_words[] = { | |||
284 | 284 | ||
285 | static int el16_probe1(struct net_device *dev, int ioaddr); | 285 | static int el16_probe1(struct net_device *dev, int ioaddr); |
286 | static int el16_open(struct net_device *dev); | 286 | static int el16_open(struct net_device *dev); |
287 | static int el16_send_packet(struct sk_buff *skb, struct net_device *dev); | 287 | static netdev_tx_t el16_send_packet(struct sk_buff *skb, |
288 | struct net_device *dev); | ||
288 | static irqreturn_t el16_interrupt(int irq, void *dev_id); | 289 | static irqreturn_t el16_interrupt(int irq, void *dev_id); |
289 | static void el16_rx(struct net_device *dev); | 290 | static void el16_rx(struct net_device *dev); |
290 | static int el16_close(struct net_device *dev); | 291 | static int el16_close(struct net_device *dev); |
@@ -509,7 +510,8 @@ static void el16_tx_timeout (struct net_device *dev) | |||
509 | } | 510 | } |
510 | 511 | ||
511 | 512 | ||
512 | static int el16_send_packet (struct sk_buff *skb, struct net_device *dev) | 513 | static netdev_tx_t el16_send_packet (struct sk_buff *skb, |
514 | struct net_device *dev) | ||
513 | { | 515 | { |
514 | struct net_local *lp = netdev_priv(dev); | 516 | struct net_local *lp = netdev_priv(dev); |
515 | int ioaddr = dev->base_addr; | 517 | int ioaddr = dev->base_addr; |