summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-04 17:36:23 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-04 17:36:23 +0000
commit3fe5c4149be89260eb8870c0272d512197b24c99 (patch)
tree0ac5b1a4b70a754dd420a2a91d6aa8b12b783990 /target/linux/ar71xx
parenta6a0fe3bd558fc3d30b5964812619d27e19db66f (diff)
ar71xx: fix MAC/MDIO reset mask handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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 */