mirror of https://github.com/ipxe/ipxe.git
[3c5x9] Avoid use of sleep() in driver code
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/51/head
parent
c32b07b81b
commit
c640b954cd
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue