1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-06 01:17:18 +03:00

ar71xx: reset the ethernet device before registration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18071 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-10-19 08:07:29 +00:00
parent 85de4df7c1
commit 53a0966f40

View File

@ -593,6 +593,13 @@ void __init ar71xx_add_device_eth(unsigned int id)
ar71xx_eth_instance);
}
/* Reset the device */
ar71xx_device_stop(pdata->reset_bit);
mdelay(100);
ar71xx_device_start(pdata->reset_bit);
mdelay(100);
platform_device_register(pdev);
ar71xx_eth_instance++;
}