summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-07 16:50:58 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-07 16:50:58 -0700
commit3bcf8229a8c49769e48d3e0bd1e20d8e003f8106 (patch)
treed963b025f673f638a7e40d7c67a7cd4cb75f866e /virt
parent005c93b5d876edf670b4c71d8dd79dc4e845a099 (diff)
r6040: fix r6040_multicast_list
As reported in <https://bugzilla.kernel.org/show_bug.cgi?id=15355>, r6040_ multicast_list currently crashes. This is due a wrong maximum of multicast entries. This patch fixes the following issues with multicast: - number of maximum entries if off-by-one (4 instead of 3) - the writing of the hash table index is not necessary and leads to invalid values being written into the MCR1 register, so the MAC is simply put in a non coherent state - when we exceed the maximum number of mutlticast address, writing the broadcast address should be done in registers MID_1{L,M,H} instead of MID_O{L,M,H}, otherwise we would loose the adapter's MAC address Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions