aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-05-02 06:11:38 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-08 01:30:21 -0400
commit8bc354730bc877ebdf35c692460b01e624934aea (patch)
tree94db83b7fd7152bb522cd5af442fbe49ec16c8e7
parent6b4aea7352bed6e2fdb59a3fe24ce2b42b31c35a (diff)
AT91RM9200 Ethernet: Fix multicast addressing
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>
-rw-r--r--drivers/net/arm/at91_ether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c
index b9cb5cb4d97f..ef2cc80256a3 100644
--- a/drivers/net/arm/at91_ether.c
+++ b/drivers/net/arm/at91_ether.c
@@ -571,8 +571,8 @@ static void at91ether_sethashtable(struct net_device *dev)
571 mc_filter[bitnr >> 5] |= 1 << (bitnr & 31); 571 mc_filter[bitnr >> 5] |= 1 << (bitnr & 31);
572 } 572 }
573 573
574 at91_emac_write(AT91_EMAC_HSH, mc_filter[0]); 574 at91_emac_write(AT91_EMAC_HSL, mc_filter[0]);
575 at91_emac_write(AT91_EMAC_HSL, mc_filter[1]); 575 at91_emac_write(AT91_EMAC_HSH, mc_filter[1]);
576} 576}
577 577
578/* 578/*