aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-04 17:36:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-04 17:36:23 +0000
commit500c3a147574fae2b953b00514b380b5adc9b097 (patch)
tree091d832f06fda431280d71a9a1f5062bf6f2eba4 /target/linux
parent353639cdd967c2d35e05961ba155d06dcf80e0e7 (diff)
downloadupstream-500c3a147574fae2b953b00514b380b5adc9b097.tar.gz
upstream-500c3a147574fae2b953b00514b380b5adc9b097.tar.bz2
upstream-500c3a147574fae2b953b00514b380b5adc9b097.zip
ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
index ce2af538cb..1f9cdf3b7d 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -452,9 +452,9 @@ static void ag71xx_hw_init(struct ag71xx *ag)
ag71xx_sb(ag, AG71XX_REG_MAC_CFG1, MAC_CFG1_SR);
udelay(20);
- ar71xx_device_stop(pdata->reset_bit);
+ ar71xx_device_stop(reset_mask);
mdelay(100);
- ar71xx_device_start(pdata->reset_bit);
+ ar71xx_device_start(reset_mask);
mdelay(200);
/* setup MAC configuration registers */