ar71xx: reset the ethernet device before registration

SVN-Revision: 18071
This commit is contained in:
Gabor Juhos 2009-10-19 08:07:29 +00:00
parent b4d03a2780
commit ebaa6a2fab

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++;
}