diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index c97b6e4365a9..1f724e53c728 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -54,6 +54,7 @@ | |||
54 | #include <linux/io.h> | 54 | #include <linux/io.h> |
55 | #include <linux/types.h> | 55 | #include <linux/types.h> |
56 | #include <linux/inet_lro.h> | 56 | #include <linux/inet_lro.h> |
57 | #include <linux/slab.h> | ||
57 | #include <asm/system.h> | 58 | #include <asm/system.h> |
58 | 59 | ||
59 | static char mv643xx_eth_driver_name[] = "mv643xx_eth"; | 60 | static char mv643xx_eth_driver_name[] = "mv643xx_eth"; |
@@ -881,7 +882,6 @@ static netdev_tx_t mv643xx_eth_xmit(struct sk_buff *skb, struct net_device *dev) | |||
881 | 882 | ||
882 | txq->tx_bytes += skb->len; | 883 | txq->tx_bytes += skb->len; |
883 | txq->tx_packets++; | 884 | txq->tx_packets++; |
884 | dev->trans_start = jiffies; | ||
885 | 885 | ||
886 | entries_left = txq->tx_ring_size - txq->tx_desc_count; | 886 | entries_left = txq->tx_ring_size - txq->tx_desc_count; |
887 | if (entries_left < MAX_SKB_FRAGS + 1) | 887 | if (entries_left < MAX_SKB_FRAGS + 1) |
@@ -1769,7 +1769,7 @@ static void mv643xx_eth_program_multicast_filter(struct net_device *dev) | |||
1769 | struct mv643xx_eth_private *mp = netdev_priv(dev); | 1769 | struct mv643xx_eth_private *mp = netdev_priv(dev); |
1770 | u32 *mc_spec; | 1770 | u32 *mc_spec; |
1771 | u32 *mc_other; | 1771 | u32 *mc_other; |
1772 | struct dev_addr_list *addr; | 1772 | struct netdev_hw_addr *ha; |
1773 | int i; | 1773 | int i; |
1774 | 1774 | ||
1775 | if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { | 1775 | if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { |
@@ -1794,8 +1794,8 @@ oom: | |||
1794 | memset(mc_spec, 0, 0x100); | 1794 | memset(mc_spec, 0, 0x100); |
1795 | memset(mc_other, 0, 0x100); | 1795 | memset(mc_other, 0, 0x100); |
1796 | 1796 | ||
1797 | netdev_for_each_mc_addr(addr, dev) { | 1797 | netdev_for_each_mc_addr(ha, dev) { |
1798 | u8 *a = addr->da_addr; | 1798 | u8 *a = ha->addr; |
1799 | u32 *table; | 1799 | u32 *table; |
1800 | int entry; | 1800 | int entry; |
1801 | 1801 | ||