aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorPrabhanjan Sarnaik <[email protected]>2009-06-18 11:35:02 +0000
committerDavid S. Miller <[email protected]>2009-06-19 01:12:52 -0700
commit6877f54e6a3326c99aaf84b7bff6a3019da0b847 (patch)
treef8ff9050739f64627b4a3a352047576dc1a8e76d /drivers/mtd/lpddr/lpddr_cmds.c
parent40c27eeac42600b21d483087ff3885b31e6857c9 (diff)
mv643xx_eth: fix unicast filter programming in promiscuous mode
The Unicast Promiscious Mode (UPM) bit in the mv643xx_eth port configuration register doesn't do exactly what its name would suggest: setting this bit merely enables reception of all unicast frames with a destination address that differs from our local MAC address in bits [47:4]. In particular, it doesn't have any effect on unicast frames with a destination address that matches our MAC address in bits [47:4] -- these will still be tested against the 16-entry unicast address filter table. Therefore, if the interface is set to promiscuous mode, just setting the unicast promiscuous bit isn't enough -- we need to set all filter bits in the unicast filter table to 1 as well. Reported-by: Sachin Sanap <[email protected]> Signed-off-by: Prabhanjan Sarnaik <[email protected]> Tested-by: Siddarth Gore <[email protected]> Tested-by: Mahavir Jain <[email protected]> Signed-off-by: Lennert Buytenhek <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions