svn commit: r203051 - head/sys/dev/e1000
Jack F Vogel
jfv at FreeBSD.org
Tue Jan 26 23:04:14 UTC 2010
Author: jfv
Date: Tue Jan 26 23:04:13 2010
New Revision: 203051
URL: http://svn.freebsd.org/changeset/base/203051
Log:
Missing a fix for the new watchdog handling.
Modified:
head/sys/dev/e1000/if_em.c
head/sys/dev/e1000/if_igb.c
Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c Tue Jan 26 22:38:31 2010 (r203050)
+++ head/sys/dev/e1000/if_em.c Tue Jan 26 23:04:13 2010 (r203051)
@@ -2224,6 +2224,7 @@ em_xmit(struct adapter *adapter, struct
*/
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
Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c Tue Jan 26 22:38:31 2010 (r203050)
+++ head/sys/dev/e1000/if_igb.c Tue Jan 26 23:04:13 2010 (r203051)
@@ -1645,6 +1645,7 @@ igb_xmit(struct tx_ring *txr, struct mbu
*/
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
More information about the svn-src-all
mailing list