diff options
author | 2005-09-02 12:36:48 -0700 | |
---|---|---|
committer | 2005-09-05 18:08:30 -0400 | |
commit | 7342cd810cfd73120687d5323846e5c114cb23bb (patch) | |
tree | 60106923617dae852111129609bc68e6b4be3aeb /lib/dec_and_lock.c | |
parent | [PATCH] mv643xx: Disable per port bandwidth limits (diff) | |
download | wireguard-linux-7342cd810cfd73120687d5323846e5c114cb23bb.tar.xz wireguard-linux-7342cd810cfd73120687d5323846e5c114cb23bb.zip |
[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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions