diff options
Diffstat (limited to 'drivers/net/epic100.c')
-rw-r--r-- | drivers/net/epic100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/epic100.c b/drivers/net/epic100.c index 88d7ebf31220..d668ff2af6e3 100644 --- a/drivers/net/epic100.c +++ b/drivers/net/epic100.c | |||
@@ -969,7 +969,7 @@ static int epic_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
969 | unsigned long flags; | 969 | unsigned long flags; |
970 | 970 | ||
971 | if (skb_padto(skb, ETH_ZLEN)) | 971 | if (skb_padto(skb, ETH_ZLEN)) |
972 | return 0; | 972 | return NETDEV_TX_OK; |
973 | 973 | ||
974 | /* Caution: the write order is important here, set the field with the | 974 | /* Caution: the write order is important here, set the field with the |
975 | "ownership" bit last. */ | 975 | "ownership" bit last. */ |
@@ -1013,7 +1013,7 @@ static int epic_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1013 | dev->name, (int)skb->len, entry, ctrl_word, | 1013 | dev->name, (int)skb->len, entry, ctrl_word, |
1014 | (int)inl(dev->base_addr + TxSTAT)); | 1014 | (int)inl(dev->base_addr + TxSTAT)); |
1015 | 1015 | ||
1016 | return 0; | 1016 | return NETDEV_TX_OK; |
1017 | } | 1017 | } |
1018 | 1018 | ||
1019 | static void epic_tx_error(struct net_device *dev, struct epic_private *ep, | 1019 | static void epic_tx_error(struct net_device *dev, struct epic_private *ep, |