diff options
Diffstat (limited to 'drivers/net/arm')
-rw-r--r-- | drivers/net/arm/am79c961a.c | 2 | ||||
-rw-r--r-- | drivers/net/arm/at91_ether.c | 2 | ||||
-rw-r--r-- | drivers/net/arm/ether1.c | 2 | ||||
-rw-r--r-- | drivers/net/arm/ether3.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/arm/am79c961a.c b/drivers/net/arm/am79c961a.c index 627bc75da17d..164b37e85eea 100644 --- a/drivers/net/arm/am79c961a.c +++ b/drivers/net/arm/am79c961a.c | |||
@@ -482,7 +482,7 @@ am79c961_sendpacket(struct sk_buff *skb, struct net_device *dev) | |||
482 | 482 | ||
483 | dev_kfree_skb(skb); | 483 | dev_kfree_skb(skb); |
484 | 484 | ||
485 | return 0; | 485 | return NETDEV_TX_OK; |
486 | } | 486 | } |
487 | 487 | ||
488 | /* | 488 | /* |
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c index 2e7419a61191..d46a06e20db0 100644 --- a/drivers/net/arm/at91_ether.c +++ b/drivers/net/arm/at91_ether.c | |||
@@ -834,7 +834,7 @@ static int at91ether_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
834 | we free and return(0) or don't free and return 1 */ | 834 | we free and return(0) or don't free and return 1 */ |
835 | } | 835 | } |
836 | 836 | ||
837 | return 0; | 837 | return NETDEV_TX_OK; |
838 | } | 838 | } |
839 | 839 | ||
840 | /* | 840 | /* |
diff --git a/drivers/net/arm/ether1.c b/drivers/net/arm/ether1.c index edf770f639fa..e47c0d962857 100644 --- a/drivers/net/arm/ether1.c +++ b/drivers/net/arm/ether1.c | |||
@@ -748,7 +748,7 @@ ether1_sendpacket (struct sk_buff *skb, struct net_device *dev) | |||
748 | netif_stop_queue(dev); | 748 | netif_stop_queue(dev); |
749 | 749 | ||
750 | out: | 750 | out: |
751 | return 0; | 751 | return NETDEV_TX_OK; |
752 | } | 752 | } |
753 | 753 | ||
754 | static void | 754 | static void |
diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c index 455037134aa3..1f7a69c929a6 100644 --- a/drivers/net/arm/ether3.c +++ b/drivers/net/arm/ether3.c | |||
@@ -511,7 +511,7 @@ ether3_sendpacket(struct sk_buff *skb, struct net_device *dev) | |||
511 | dev_kfree_skb(skb); | 511 | dev_kfree_skb(skb); |
512 | priv(dev)->stats.tx_dropped ++; | 512 | priv(dev)->stats.tx_dropped ++; |
513 | netif_start_queue(dev); | 513 | netif_start_queue(dev); |
514 | return 0; | 514 | return NETDEV_TX_OK; |
515 | } | 515 | } |
516 | 516 | ||
517 | length = (length + 1) & ~1; | 517 | length = (length + 1) & ~1; |
@@ -562,7 +562,7 @@ ether3_sendpacket(struct sk_buff *skb, struct net_device *dev) | |||
562 | netif_stop_queue(dev); | 562 | netif_stop_queue(dev); |
563 | 563 | ||
564 | out: | 564 | out: |
565 | return 0; | 565 | return NETDEV_TX_OK; |
566 | } | 566 | } |
567 | 567 | ||
568 | static irqreturn_t | 568 | static irqreturn_t |