aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 420fefb99188..62398fab2e96 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -412,6 +412,10 @@ struct config_param {
412 struct tx_fifo_config tx_cfg[MAX_TX_FIFOS]; /*Per-Tx FIFO config */ 412 struct tx_fifo_config tx_cfg[MAX_TX_FIFOS]; /*Per-Tx FIFO config */
413 u32 max_txds; /*Max no. of Tx buffer descriptor per TxDL */ 413 u32 max_txds; /*Max no. of Tx buffer descriptor per TxDL */
414 u64 tx_intr_type; 414 u64 tx_intr_type;
415#define INTA 0
416#define MSI_X 2
417 u8 intr_type;
418
415 /* Specifies if Tx Intr is UTILZ or PER_LIST type. */ 419 /* Specifies if Tx Intr is UTILZ or PER_LIST type. */
416 420
417/* Rx Side */ 421/* Rx Side */
@@ -862,6 +866,8 @@ struct s2io_nic {
862 struct vlan_group *vlgrp; 866 struct vlan_group *vlgrp;
863#define MSIX_FLG 0xA5 867#define MSIX_FLG 0xA5
864 struct msix_entry *entries; 868 struct msix_entry *entries;
869 int msi_detected;
870 wait_queue_head_t msi_wait;
865 struct s2io_msix_entry *s2io_entries; 871 struct s2io_msix_entry *s2io_entries;
866 char desc[MAX_REQUESTED_MSI_X][25]; 872 char desc[MAX_REQUESTED_MSI_X][25];
867 873