[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

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" );