diff options
Diffstat (limited to 'drivers/net/pcmcia/fmvj18x_cs.c')
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 6580d78397d1..7c27c50211a5 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -878,7 +878,6 @@ static netdev_tx_t fjn_start_xmit(struct sk_buff *skb, | |||
878 | lp->sent = lp->tx_queue ; | 878 | lp->sent = lp->tx_queue ; |
879 | lp->tx_queue = 0; | 879 | lp->tx_queue = 0; |
880 | lp->tx_queue_len = 0; | 880 | lp->tx_queue_len = 0; |
881 | dev->trans_start = jiffies; | ||
882 | lp->tx_started = 1; | 881 | lp->tx_started = 1; |
883 | netif_start_queue(dev); | 882 | netif_start_queue(dev); |
884 | } else { | 883 | } else { |
@@ -1070,8 +1069,6 @@ static void fjn_rx(struct net_device *dev) | |||
1070 | "%d ticks.\n", dev->name, inb(ioaddr + RX_MODE), i); | 1069 | "%d ticks.\n", dev->name, inb(ioaddr + RX_MODE), i); |
1071 | } | 1070 | } |
1072 | */ | 1071 | */ |
1073 | |||
1074 | return; | ||
1075 | } /* fjn_rx */ | 1072 | } /* fjn_rx */ |
1076 | 1073 | ||
1077 | /*====================================================================*/ | 1074 | /*====================================================================*/ |
@@ -1184,11 +1181,11 @@ static void set_rx_mode(struct net_device *dev) | |||
1184 | memset(mc_filter, 0x00, sizeof(mc_filter)); | 1181 | memset(mc_filter, 0x00, sizeof(mc_filter)); |
1185 | outb(1, ioaddr + RX_MODE); /* Ignore almost all multicasts. */ | 1182 | outb(1, ioaddr + RX_MODE); /* Ignore almost all multicasts. */ |
1186 | } else { | 1183 | } else { |
1187 | struct dev_mc_list *mclist; | 1184 | struct netdev_hw_addr *ha; |
1188 | 1185 | ||
1189 | memset(mc_filter, 0, sizeof(mc_filter)); | 1186 | memset(mc_filter, 0, sizeof(mc_filter)); |
1190 | netdev_for_each_mc_addr(mclist, dev) { | 1187 | netdev_for_each_mc_addr(ha, dev) { |
1191 | unsigned int bit = ether_crc_le(ETH_ALEN, mclist->dmi_addr) >> 26; | 1188 | unsigned int bit = ether_crc_le(ETH_ALEN, ha->addr) >> 26; |
1192 | mc_filter[bit >> 3] |= (1 << (bit & 7)); | 1189 | mc_filter[bit >> 3] |= (1 << (bit & 7)); |
1193 | } | 1190 | } |
1194 | outb(2, ioaddr + RX_MODE); /* Use normal mode. */ | 1191 | outb(2, ioaddr + RX_MODE); /* Use normal mode. */ |