mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 13:32:20 +03:00
[etherfabric] Avoid use of sleep() in driver code
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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" );
|
||||||
|
|||||||
Reference in New Issue
Block a user