ar71xx: reset the ethernet device before registration
SVN-Revision: 18071
This commit is contained in:
parent
b4d03a2780
commit
ebaa6a2fab
1 changed files with 7 additions and 0 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue