]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
AT91RM9200 Ethernet: Fix multicast addressing
authorAndrew Victor <andrew@sanpeople.com>
Wed, 2 May 2007 10:11:38 +0000 (12:11 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 8 May 2007 05:30:21 +0000 (01:30 -0400)
The order that the two 32-bit words written to the Hash Address (Low,
High) Registers for matching of multicast addresses is incorrect.

Signed-off-by: Lars Reemts <Lars.Reemts@entwicklung.eq-3.de>
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/arm/at91_ether.c

index b9cb5cb4d97f14f2ce477762918a871237db19f2..ef2cc80256a36bc0692ba7fe2857e06fc1045eaf 100644 (file)
@@ -571,8 +571,8 @@ static void at91ether_sethashtable(struct net_device *dev)
                mc_filter[bitnr >> 5] |= 1 << (bitnr & 31);
        }
 
-       at91_emac_write(AT91_EMAC_HSH, mc_filter[0]);
-       at91_emac_write(AT91_EMAC_HSL, mc_filter[1]);
+       at91_emac_write(AT91_EMAC_HSL, mc_filter[0]);
+       at91_emac_write(AT91_EMAC_HSH, mc_filter[1]);
 }
 
 /*