diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:04:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:04:44 -0400 |
commit | f8965467f366fd18f01feafb5db10512d7b4422c (patch) | |
tree | 3706a9cd779859271ca61b85c63a1bc3f82d626e /drivers/net/fs_enet | |
parent | a26272e5200765691e67d6780e52b32498fdb659 (diff) | |
parent | 2ec8c6bb5d8f3a62a79f463525054bae1e3d4487 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1674 commits)
qlcnic: adding co maintainer
ixgbe: add support for active DA cables
ixgbe: dcb, do not tag tc_prio_control frames
ixgbe: fix ixgbe_tx_is_paused logic
ixgbe: always enable vlan strip/insert when DCB is enabled
ixgbe: remove some redundant code in setting FCoE FIP filter
ixgbe: fix wrong offset to fc_frame_header in ixgbe_fcoe_ddp
ixgbe: fix header len when unsplit packet overflows to data buffer
ipv6: Never schedule DAD timer on dead address
ipv6: Use POSTDAD state
ipv6: Use state_lock to protect ifa state
ipv6: Replace inet6_ifaddr->dead with state
cxgb4: notify upper drivers if the device is already up when they load
cxgb4: keep interrupts available when the ports are brought down
cxgb4: fix initial addition of MAC address
cnic: Return SPQ credit to bnx2x after ring setup and shutdown.
cnic: Convert cnic_local_flags to atomic ops.
can: Fix SJA1000 command register writes on SMP systems
bridge: fix build for CONFIG_SYSFS disabled
ARCNET: Limit com20020 PCI ID matches for SOHARD cards
...
Fix up various conflicts with pcmcia tree drivers/net/
{pcmcia/3c589_cs.c, wireless/orinoco/orinoco_cs.c and
wireless/orinoco/spectrum_cs.c} and feature removal
(Documentation/feature-removal-schedule.txt).
Also fix a non-content conflict due to pm_qos_requirement getting
renamed in the PM tree (now pm_qos_request) in net/mac80211/scan.c
Diffstat (limited to 'drivers/net/fs_enet')
-rw-r--r-- | drivers/net/fs_enet/fs_enet-main.c | 2 | ||||
-rw-r--r-- | drivers/net/fs_enet/mac-fcc.c | 6 | ||||
-rw-r--r-- | drivers/net/fs_enet/mac-fec.c | 6 | ||||
-rw-r--r-- | drivers/net/fs_enet/mac-scc.c | 6 |
4 files changed, 9 insertions, 11 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c index 0770e2f6da6b..0fb0fefcb787 100644 --- a/drivers/net/fs_enet/fs_enet-main.c +++ b/drivers/net/fs_enet/fs_enet-main.c | |||
@@ -674,8 +674,6 @@ static int fs_enet_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
674 | skb->data, skb->len, DMA_TO_DEVICE)); | 674 | skb->data, skb->len, DMA_TO_DEVICE)); |
675 | CBDW_DATLEN(bdp, skb->len); | 675 | CBDW_DATLEN(bdp, skb->len); |
676 | 676 | ||
677 | dev->trans_start = jiffies; | ||
678 | |||
679 | /* | 677 | /* |
680 | * If this was the last BD in the ring, start at the beginning again. | 678 | * If this was the last BD in the ring, start at the beginning again. |
681 | */ | 679 | */ |
diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c index 0a973e71876b..714da967fa19 100644 --- a/drivers/net/fs_enet/mac-fcc.c +++ b/drivers/net/fs_enet/mac-fcc.c | |||
@@ -231,12 +231,12 @@ static void set_multicast_finish(struct net_device *dev) | |||
231 | 231 | ||
232 | static void set_multicast_list(struct net_device *dev) | 232 | static void set_multicast_list(struct net_device *dev) |
233 | { | 233 | { |
234 | struct dev_mc_list *pmc; | 234 | struct netdev_hw_addr *ha; |
235 | 235 | ||
236 | if ((dev->flags & IFF_PROMISC) == 0) { | 236 | if ((dev->flags & IFF_PROMISC) == 0) { |
237 | set_multicast_start(dev); | 237 | set_multicast_start(dev); |
238 | netdev_for_each_mc_addr(pmc, dev) | 238 | netdev_for_each_mc_addr(ha, dev) |
239 | set_multicast_one(dev, pmc->dmi_addr); | 239 | set_multicast_one(dev, ha->addr); |
240 | set_multicast_finish(dev); | 240 | set_multicast_finish(dev); |
241 | } else | 241 | } else |
242 | set_promiscuous_mode(dev); | 242 | set_promiscuous_mode(dev); |
diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c index ec81f50d5919..7eff92ef01da 100644 --- a/drivers/net/fs_enet/mac-fec.c +++ b/drivers/net/fs_enet/mac-fec.c | |||
@@ -232,12 +232,12 @@ static void set_multicast_finish(struct net_device *dev) | |||
232 | 232 | ||
233 | static void set_multicast_list(struct net_device *dev) | 233 | static void set_multicast_list(struct net_device *dev) |
234 | { | 234 | { |
235 | struct dev_mc_list *pmc; | 235 | struct netdev_hw_addr *ha; |
236 | 236 | ||
237 | if ((dev->flags & IFF_PROMISC) == 0) { | 237 | if ((dev->flags & IFF_PROMISC) == 0) { |
238 | set_multicast_start(dev); | 238 | set_multicast_start(dev); |
239 | netdev_for_each_mc_addr(pmc, dev) | 239 | netdev_for_each_mc_addr(ha, dev) |
240 | set_multicast_one(dev, pmc->dmi_addr); | 240 | set_multicast_one(dev, ha->addr); |
241 | set_multicast_finish(dev); | 241 | set_multicast_finish(dev); |
242 | } else | 242 | } else |
243 | set_promiscuous_mode(dev); | 243 | set_promiscuous_mode(dev); |
diff --git a/drivers/net/fs_enet/mac-scc.c b/drivers/net/fs_enet/mac-scc.c index 34d3da751eb4..7f0591e43cd9 100644 --- a/drivers/net/fs_enet/mac-scc.c +++ b/drivers/net/fs_enet/mac-scc.c | |||
@@ -223,12 +223,12 @@ static void set_multicast_finish(struct net_device *dev) | |||
223 | 223 | ||
224 | static void set_multicast_list(struct net_device *dev) | 224 | static void set_multicast_list(struct net_device *dev) |
225 | { | 225 | { |
226 | struct dev_mc_list *pmc; | 226 | struct netdev_hw_addr *ha; |
227 | 227 | ||
228 | if ((dev->flags & IFF_PROMISC) == 0) { | 228 | if ((dev->flags & IFF_PROMISC) == 0) { |
229 | set_multicast_start(dev); | 229 | set_multicast_start(dev); |
230 | netdev_for_each_mc_addr(pmc, dev) | 230 | netdev_for_each_mc_addr(ha, dev) |
231 | set_multicast_one(dev, pmc->dmi_addr); | 231 | set_multicast_one(dev, ha->addr); |
232 | set_multicast_finish(dev); | 232 | set_multicast_finish(dev); |
233 | } else | 233 | } else |
234 | set_promiscuous_mode(dev); | 234 | set_promiscuous_mode(dev); |