aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000.h
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-01-12 19:50:53 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:44:50 -0500
commit66a2b0a30fcc37876d3639ea375a9d24649b53bf (patch)
treedab5bdcbf8d2db73cc22b1030bb679ad81eeffb9 /drivers/net/e1000/e1000.h
parentf11b7f8535fab0f9196a7387e93dca5deaa5fff2 (diff)
[PATCH] e1000: Fix TX queue length based on link speed
10/100 speeds seem to have some problems reporting false tx timeouts especially at half duplex. Fixed by using a timeout factor to attempt to mitigate the false timeouts. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r--drivers/net/e1000/e1000.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index 0a084e915dd6..d95a5f88181c 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -296,6 +296,7 @@ struct e1000_adapter {
296 uint32_t tx_fifo_head; 296 uint32_t tx_fifo_head;
297 uint32_t tx_head_addr; 297 uint32_t tx_head_addr;
298 uint32_t tx_fifo_size; 298 uint32_t tx_fifo_size;
299 uint8_t tx_timeout_factor;
299 atomic_t tx_fifo_stall; 300 atomic_t tx_fifo_stall;
300 boolean_t pcix_82544; 301 boolean_t pcix_82544;
301 boolean_t detect_tx_hung; 302 boolean_t detect_tx_hung;