diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 02:36:56 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 02:36:56 -0400 |
commit | cf9b59e9d3e008591d1f54830f570982bb307a0d (patch) | |
tree | 113478ce8fd8c832ba726ffdf59b82cb46356476 /drivers/net/fs_enet | |
parent | 44504b2bebf8b5823c59484e73096a7d6574471d (diff) | |
parent | f4b87dee923342505e1ddba8d34ce9de33e75050 (diff) |
Merge remote branch 'origin' into secretlab/next-devicetree
Merging in current state of Linus' tree to deal with merge conflicts and
build failures in vio.c after merge.
Conflicts:
drivers/i2c/busses/i2c-cpm.c
drivers/i2c/busses/i2c-mpc.c
drivers/net/gianfar.c
Also fixed up one line in arch/powerpc/kernel/vio.c to use the
correct node pointer.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
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 cae2d16858d..309a0eaddd8 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 9d4f272137d..5d45084b287 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 bd7a6e7064b..7ca1642276d 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 49a4d8c6016..a3c44544846 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); |