mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 14:23:21 +02:00
ar71xx: fix MAC/MDIO reset mask handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a6a0fe3bd5
commit
3fe5c4149b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user