david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[etherfabric] Avoid use of sleep() in driver code

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-03-22 15:19:25 +00:00
parent c640b954cd
commit 59bae324c0
1 changed files with 1 additions and 1 deletions

View File

@ -4006,7 +4006,7 @@ efab_init_mac ( struct efab_nic *efab )
* because we want to use it, or because we're about
* to reset the mac anyway
*/
sleep ( 2 );
mdelay ( 2000 );
if ( ! efab->link_up ) {
EFAB_ERR ( "!\n" );