aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2008-05-12 13:41:32 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:26:19 -0400
commitac731ab66960547c33a4e2c504419389ae747067 (patch)
treebbede8dbb9ee6044838bc09f68adfaf4c5d87b32 /drivers/net/s2io.h
parent25c16fffa8ed82d3ef31980d76ff95d3c6430f00 (diff)
S2io: Move all the transmit completions to a single msi-x (alarm) vector
- Move all the transmit completions to a single msi-x (alarm) vector. - Enable the continuous timer interrupt for only one transmit fifo. Signed-off-by: Santosh Rastapur <santosh.rastapur@neterion.com> Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 0709ebae9139..9a4b772f7411 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -849,8 +849,8 @@ struct s2io_msix_entry
849 void *arg; 849 void *arg;
850 850
851 u8 type; 851 u8 type;
852#define MSIX_FIFO_TYPE 1 852#define MSIX_ALARM_TYPE 1
853#define MSIX_RING_TYPE 2 853#define MSIX_RING_TYPE 2
854 854
855 u8 in_use; 855 u8 in_use;
856#define MSIX_REGISTERED_SUCCESS 0xAA 856#define MSIX_REGISTERED_SUCCESS 0xAA
@@ -982,6 +982,7 @@ struct s2io_nic {
982 u16 lro_max_aggr_per_sess; 982 u16 lro_max_aggr_per_sess;
983 volatile unsigned long state; 983 volatile unsigned long state;
984 u64 general_int_mask; 984 u64 general_int_mask;
985
985#define VPD_STRING_LEN 80 986#define VPD_STRING_LEN 80
986 u8 product_name[VPD_STRING_LEN]; 987 u8 product_name[VPD_STRING_LEN];
987 u8 serial_num[VPD_STRING_LEN]; 988 u8 serial_num[VPD_STRING_LEN];