Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39403
b: refs/heads/master
c: 2f614fe
h: refs/heads/master
i:
  39401: 2fe265d
  39399: 3470c03
v: v3
  • Loading branch information
Jeff Garzik committed Oct 5, 2006
1 parent d1ebd88 commit 1cc74f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 39984a9fad0c642182f426d7771332d46f222103
refs/heads/master: 2f614fe04f4463ff22234133319067d7361f54e5
7 changes: 4 additions & 3 deletions trunk/drivers/net/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,14 +1706,15 @@ static void __b44_set_rx_mode(struct net_device *dev)

__b44_set_mac_addr(bp);

if (dev->flags & IFF_ALLMULTI)
if ((dev->flags & IFF_ALLMULTI) ||
(dev->mc_count > B44_MCAST_TABLE_SIZE))
val |= RXCONFIG_ALLMULTI;
else
i = __b44_load_mcast(bp, dev);

for (; i < 64; i++) {
for (; i < 64; i++)
__b44_cam_write(bp, zero, i);
}

bw32(bp, B44_RXCONFIG, val);
val = br32(bp, B44_CAM_CTRL);
bw32(bp, B44_CAM_CTRL, val | CAM_CTRL_ENABLE);
Expand Down

0 comments on commit 1cc74f4

Please sign in to comment.