mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[3c5x9] Avoid use of sleep() in driver code
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -108,7 +108,7 @@ static void t509_enable ( struct nic *nic ) {
|
||||
else if (connector == utp) {
|
||||
GO_WINDOW(nic->ioaddr,4);
|
||||
outw(ENABLE_UTP, nic->ioaddr + EP_W4_MEDIA_TYPE);
|
||||
sleep(2); /* Give time for media to negotiate */
|
||||
mdelay(2000); /* Give time for media to negotiate */
|
||||
GO_WINDOW(nic->ioaddr,1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user