diff options
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 37e05d3ab893..2f39244c17f2 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -1399,7 +1399,7 @@ static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1399 | dev_kfree_skb (skb); | 1399 | dev_kfree_skb (skb); |
1400 | smc->saved_skb = NULL; | 1400 | smc->saved_skb = NULL; |
1401 | dev->stats.tx_dropped++; | 1401 | dev->stats.tx_dropped++; |
1402 | return 0; /* Do not re-queue this packet. */ | 1402 | return NETDEV_TX_OK; /* Do not re-queue this packet. */ |
1403 | } | 1403 | } |
1404 | /* A packet is now waiting. */ | 1404 | /* A packet is now waiting. */ |
1405 | smc->packets_waiting++; | 1405 | smc->packets_waiting++; |
@@ -1422,7 +1422,7 @@ static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1422 | outw((ir&0xff00) | IM_ALLOC_INT, ioaddr + INTERRUPT); | 1422 | outw((ir&0xff00) | IM_ALLOC_INT, ioaddr + INTERRUPT); |
1423 | smc_hardware_send_packet(dev); /* Send the packet now.. */ | 1423 | smc_hardware_send_packet(dev); /* Send the packet now.. */ |
1424 | spin_unlock_irqrestore(&smc->lock, flags); | 1424 | spin_unlock_irqrestore(&smc->lock, flags); |
1425 | return 0; | 1425 | return NETDEV_TX_OK; |
1426 | } | 1426 | } |
1427 | } | 1427 | } |
1428 | 1428 | ||
@@ -1431,7 +1431,7 @@ static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1431 | outw((IM_ALLOC_INT << 8) | (ir & 0xff00), ioaddr + INTERRUPT); | 1431 | outw((IM_ALLOC_INT << 8) | (ir & 0xff00), ioaddr + INTERRUPT); |
1432 | spin_unlock_irqrestore(&smc->lock, flags); | 1432 | spin_unlock_irqrestore(&smc->lock, flags); |
1433 | 1433 | ||
1434 | return 0; | 1434 | return NETDEV_TX_OK; |
1435 | } | 1435 | } |
1436 | 1436 | ||
1437 | /*====================================================================== | 1437 | /*====================================================================== |