From: Florian Fainelli Date: Wed, 7 Apr 2010 23:50:58 +0000 (-0700) Subject: r6040: fix r6040_multicast_list X-Git-Tag: v2.6.34-rc5~25^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bcf8229a8c49769e48d3e0bd1e20d8e003f8106;p=pandora-kernel.git r6040: fix r6040_multicast_list As reported in , 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed