[PATCH] mv643xx: Fix promiscuous mode handling
authorDale Farnsworth <dale@farnsworth.org>
Fri, 2 Sep 2005 19:36:48 +0000 (12:36 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 5 Sep 2005 22:08:30 +0000 (18:08 -0400)
commit7342cd810cfd73120687d5323846e5c114cb23bb
tree60106923617dae852111129609bc68e6b4be3aeb
parent8f543718ea1c20795853bf065f1dcb510f210465
[PATCH] mv643xx: Fix promiscuous mode handling

mv643xx_eth_get_config_reg() was reading the wrong register.
mv643xx_eth_set_config_reg() was or'ing instead of setting the
register.  These functions are trivial and both are called only from
mv643xx_eth_set_rx_mode() when changing to/from promiscuous mode.
Remove both functions and do the operations directly in
mv643xx_eth_set_rx_mode().

Also, maintain promiscuous mode setting across port resets.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.h