diff options
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
| -rw-r--r-- | drivers/net/ixgb/ixgb.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index 16f9c756aa46..804698fc6a8f 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /******************************************************************************* | 1 | /******************************************************************************* |
| 2 | 2 | ||
| 3 | Intel PRO/10GbE Linux driver | 3 | Intel PRO/10GbE Linux driver |
| 4 | Copyright(c) 1999 - 2006 Intel Corporation. | 4 | Copyright(c) 1999 - 2008 Intel Corporation. |
| 5 | 5 | ||
| 6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
| 7 | under the terms and conditions of the GNU General Public License, | 7 | under the terms and conditions of the GNU General Public License, |
| @@ -89,18 +89,16 @@ struct ixgb_adapter; | |||
| 89 | 89 | ||
| 90 | 90 | ||
| 91 | /* TX/RX descriptor defines */ | 91 | /* TX/RX descriptor defines */ |
| 92 | #define DEFAULT_TXD 256 | 92 | #define DEFAULT_TXD 256 |
| 93 | #define MAX_TXD 4096 | 93 | #define MAX_TXD 4096 |
| 94 | #define MIN_TXD 64 | 94 | #define MIN_TXD 64 |
| 95 | 95 | ||
| 96 | /* hardware cannot reliably support more than 512 descriptors owned by | 96 | /* hardware cannot reliably support more than 512 descriptors owned by |
| 97 | * hardware descrioptor cache otherwise an unreliable ring under heavy | 97 | * hardware descriptor cache otherwise an unreliable ring under heavy |
| 98 | * recieve load may result */ | 98 | * receive load may result */ |
| 99 | /* #define DEFAULT_RXD 1024 */ | 99 | #define DEFAULT_RXD 512 |
| 100 | /* #define MAX_RXD 4096 */ | 100 | #define MAX_RXD 512 |
| 101 | #define DEFAULT_RXD 512 | 101 | #define MIN_RXD 64 |
| 102 | #define MAX_RXD 512 | ||
| 103 | #define MIN_RXD 64 | ||
| 104 | 102 | ||
| 105 | /* Supported Rx Buffer Sizes */ | 103 | /* Supported Rx Buffer Sizes */ |
| 106 | #define IXGB_RXBUFFER_2048 2048 | 104 | #define IXGB_RXBUFFER_2048 2048 |
| @@ -157,7 +155,6 @@ struct ixgb_adapter { | |||
| 157 | u32 part_num; | 155 | u32 part_num; |
| 158 | u16 link_speed; | 156 | u16 link_speed; |
| 159 | u16 link_duplex; | 157 | u16 link_duplex; |
| 160 | spinlock_t tx_lock; | ||
| 161 | struct work_struct tx_timeout_task; | 158 | struct work_struct tx_timeout_task; |
| 162 | 159 | ||
| 163 | struct timer_list blink_timer; | 160 | struct timer_list blink_timer; |
