aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 46eb618bbc90..081402cb05fd 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -408,7 +408,8 @@ static int mdio_read(struct net_device *dev, int phy_id, int location);
408static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 408static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
409static int rhine_open(struct net_device *dev); 409static int rhine_open(struct net_device *dev);
410static void rhine_tx_timeout(struct net_device *dev); 410static void rhine_tx_timeout(struct net_device *dev);
411static int rhine_start_tx(struct sk_buff *skb, struct net_device *dev); 411static netdev_tx_t rhine_start_tx(struct sk_buff *skb,
412 struct net_device *dev);
412static irqreturn_t rhine_interrupt(int irq, void *dev_instance); 413static irqreturn_t rhine_interrupt(int irq, void *dev_instance);
413static void rhine_tx(struct net_device *dev); 414static void rhine_tx(struct net_device *dev);
414static int rhine_rx(struct net_device *dev, int limit); 415static int rhine_rx(struct net_device *dev, int limit);
@@ -1213,7 +1214,8 @@ static void rhine_tx_timeout(struct net_device *dev)
1213 netif_wake_queue(dev); 1214 netif_wake_queue(dev);
1214} 1215}
1215 1216
1216static int rhine_start_tx(struct sk_buff *skb, struct net_device *dev) 1217static netdev_tx_t rhine_start_tx(struct sk_buff *skb,
1218 struct net_device *dev)
1217{ 1219{
1218 struct rhine_private *rp = netdev_priv(dev); 1220 struct rhine_private *rp = netdev_priv(dev);
1219 void __iomem *ioaddr = rp->base; 1221 void __iomem *ioaddr = rp->base;