mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
This commit is contained in:
@@ -3536,7 +3536,6 @@ e1000_transmit (struct nic *nic, const char *d, /* Destination */
|
||||
E1000_WRITE_REG (&hw, TDT, tx_tail);
|
||||
while (!(txp->upper.data & E1000_TXD_STAT_DD)) {
|
||||
udelay(10); /* give the nic a chance to write to the register */
|
||||
poll_interruptions();
|
||||
}
|
||||
DEBUGFUNC("send end");
|
||||
}
|
||||
|
||||
@@ -3153,7 +3153,6 @@ static void tg3_transmit(struct nic *nic, const char *dst_addr,
|
||||
while((tp->hw_status->idx[0].tx_consumer != entry) &&
|
||||
(tp->hw_status->idx[0].tx_consumer != PREV_TX(entry))) {
|
||||
mdelay(10); /* give the nick a chance */
|
||||
poll_interruptions();
|
||||
if (++i > 500) { /* timeout 5s for transmit */
|
||||
printf("transmit timed out\n");
|
||||
tg3_halt(tp);
|
||||
|
||||
Reference in New Issue
Block a user