summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-01-26 23:04:13 +0000
committerjfv <jfv@FreeBSD.org>2010-01-26 23:04:13 +0000
commitf58131e1e486131bc5b10b4db8adfbfb58a6db5f (patch)
tree4cb95d2e4b82836ff7cab58500f42fcb9ada23d2 /sys/dev
parent938cfc70dcf8c86d8e5bc464f881add513b1c6bd (diff)
downloadFreeBSD-src-f58131e1e486131bc5b10b4db8adfbfb58a6db5f.zip
FreeBSD-src-f58131e1e486131bc5b10b4db8adfbfb58a6db5f.tar.gz
Missing a fix for the new watchdog handling.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/e1000/if_em.c1
-rw-r--r--sys/dev/e1000/if_igb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 5df665a..5f2a4f6 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -2224,6 +2224,7 @@ em_xmit(struct adapter *adapter, struct mbuf **m_headp)
*/
tx_buffer = &adapter->tx_buffer_area[first];
tx_buffer->next_eop = last;
+ adapter->watchdog_time = ticks;
/*
* Advance the Transmit Descriptor Tail (TDT), this tells the E1000
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 517521d..92ccdae 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -1645,6 +1645,7 @@ igb_xmit(struct tx_ring *txr, struct mbuf **m_headp)
*/
tx_buffer = &txr->tx_buffers[first];
tx_buffer->next_eop = last;
+ txr->watchdog_time = ticks;
/*
* Advance the Transmit Descriptor Tail (TDT), this tells the E1000
OpenPOWER on IntegriCloud