mirror of https://github.com/ipxe/ipxe.git
[etherfabric] Avoid use of sleep() in driver code
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/51/head
parent
c640b954cd
commit
59bae324c0
|
@ -4006,7 +4006,7 @@ efab_init_mac ( struct efab_nic *efab )
|
||||||
* because we want to use it, or because we're about
|
* because we want to use it, or because we're about
|
||||||
* to reset the mac anyway
|
* to reset the mac anyway
|
||||||
*/
|
*/
|
||||||
sleep ( 2 );
|
mdelay ( 2000 );
|
||||||
|
|
||||||
if ( ! efab->link_up ) {
|
if ( ! efab->link_up ) {
|
||||||
EFAB_ERR ( "!\n" );
|
EFAB_ERR ( "!\n" );
|
||||||
|
|
Loading…
Reference in New Issue