mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
Automatic merge of /spare/repo/netdev-2.6 branch natsemi
This commit is contained in:
commit
5ea6f2c33f
@ -2433,9 +2433,9 @@ static void __set_rx_mode(struct net_device *dev)
|
|||||||
rx_mode = RxFilterEnable | AcceptBroadcast
|
rx_mode = RxFilterEnable | AcceptBroadcast
|
||||||
| AcceptMulticast | AcceptMyPhys;
|
| AcceptMulticast | AcceptMyPhys;
|
||||||
for (i = 0; i < 64; i += 2) {
|
for (i = 0; i < 64; i += 2) {
|
||||||
writew(HASH_TABLE + i, ioaddr + RxFilterAddr);
|
writel(HASH_TABLE + i, ioaddr + RxFilterAddr);
|
||||||
writew((mc_filter[i+1]<<8) + mc_filter[i],
|
writel((mc_filter[i + 1] << 8) + mc_filter[i],
|
||||||
ioaddr + RxFilterData);
|
ioaddr + RxFilterData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
writel(rx_mode, ioaddr + RxFilterAddr);
|
writel(rx_mode, ioaddr + RxFilterAddr);
|
||||||
|
Loading…
Reference in New Issue
Block a user