diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:34 -0400 |
commit | dbf02fae406daf4d583a279743869c686024c341 (patch) | |
tree | 38e926bdd4b445d1b51f263b2f5c7d3d749e6e43 /drivers/net/pcmcia/smc91c92_cs.c | |
parent | 4c5d502d8b2db8947c44dc44bdc67dbe55cce2b9 (diff) |
netdev: convert pcmcia drivers to netdev_tx_t
Update all the pcmcia network drivers for 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/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 2f39244c17f2..7bde2cd34c7e 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -288,7 +288,8 @@ static int smc_open(struct net_device *dev); | |||
288 | static int smc_close(struct net_device *dev); | 288 | static int smc_close(struct net_device *dev); |
289 | static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 289 | static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
290 | static void smc_tx_timeout(struct net_device *dev); | 290 | static void smc_tx_timeout(struct net_device *dev); |
291 | static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev); | 291 | static netdev_tx_t smc_start_xmit(struct sk_buff *skb, |
292 | struct net_device *dev); | ||
292 | static irqreturn_t smc_interrupt(int irq, void *dev_id); | 293 | static irqreturn_t smc_interrupt(int irq, void *dev_id); |
293 | static void smc_rx(struct net_device *dev); | 294 | static void smc_rx(struct net_device *dev); |
294 | static void set_rx_mode(struct net_device *dev); | 295 | static void set_rx_mode(struct net_device *dev); |
@@ -1370,7 +1371,8 @@ static void smc_tx_timeout(struct net_device *dev) | |||
1370 | netif_wake_queue(dev); | 1371 | netif_wake_queue(dev); |
1371 | } | 1372 | } |
1372 | 1373 | ||
1373 | static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev) | 1374 | static netdev_tx_t smc_start_xmit(struct sk_buff *skb, |
1375 | struct net_device *dev) | ||
1374 | { | 1376 | { |
1375 | struct smc_private *smc = netdev_priv(dev); | 1377 | struct smc_private *smc = netdev_priv(dev); |
1376 | unsigned int ioaddr = dev->base_addr; | 1378 | unsigned int ioaddr = dev->base_addr; |