summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMichael Brown2006-08-15 00:29:51 +0200
committerMichael Brown2006-08-15 00:29:51 +0200
commit97439cb6ebb49fad9855cc975cc80fb3eb8db13b (patch)
treece5375cd5e3ac7b2fa6109fd2725293db224665f /src/drivers/net/tg3.c
parentBug fixes to the HTTP protocol code (diff)
downloadipxe-97439cb6ebb49fad9855cc975cc80fb3eb8db13b.tar.gz
ipxe-97439cb6ebb49fad9855cc975cc80fb3eb8db13b.tar.xz
ipxe-97439cb6ebb49fad9855cc975cc80fb3eb8db13b.zip
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
Diffstat (limited to 'src/drivers/net/tg3.c')
-rw-r--r--src/drivers/net/tg3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c
index 6aad8718..1901f68f 100644
--- a/src/drivers/net/tg3.c
+++ b/src/drivers/net/tg3.c
@@ -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);