Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61512
b: refs/heads/master
c: 82a0244
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and Jeff Garzik committed Jul 18, 2007
1 parent e003b7d commit e6d1162
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b947dd4b62a6adfd78292319a9d2e6396c1fb064
refs/heads/master: 82a0244df8165b0345cde5258afe176c12dd1e99
9 changes: 4 additions & 5 deletions trunk/drivers/net/saa9730.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,15 +940,14 @@ static void lan_saa9730_set_multicast(struct net_device *dev)
CAM_CONTROL_GROUP_ACC | CAM_CONTROL_BROAD_ACC,
&lp->lan_saa9730_regs->CamCtl);
} else {
if (dev->flags & IFF_ALLMULTI) {
if (dev->flags & IFF_ALLMULTI || dev->mc_count) {
/* accept all multicast packets */
writel(CAM_CONTROL_COMP_EN | CAM_CONTROL_GROUP_ACC |
CAM_CONTROL_BROAD_ACC,
&lp->lan_saa9730_regs->CamCtl);
} else {
/*
* Will handle the multicast stuff later. -carstenl
*/
writel(CAM_CONTROL_COMP_EN | CAM_CONTROL_GROUP_ACC |
CAM_CONTROL_BROAD_ACC,
&lp->lan_saa9730_regs->CamCtl);
}
}

Expand Down

0 comments on commit e6d1162

Please sign in to comment.