diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2013-05-30 09:51:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-30 16:52:37 -0700 |
commit | b37eb210c076b0465fcb8d14694fcce3f267ac63 (patch) | |
tree | 084e013056cbf6d51b35b4e9ec2d350ff52515d3 /drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | |
parent | a120e864676548454f8d061e7d8a2e68c908a794 (diff) | |
download | op-kernel-dev-b37eb210c076b0465fcb8d14694fcce3f267ac63.zip op-kernel-dev-b37eb210c076b0465fcb8d14694fcce3f267ac63.tar.gz |
netxen_nic: Avoid mixed mode interrupts
o Adapters do not support co-existence of INTx Interrupt with
MSI-X or MSI among multiple functions. Prevent attaching
of a function during normal load, if adapter gets into mixed
mode of interrupts
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h index 28e0769..32c7906 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h @@ -734,6 +734,9 @@ enum { #define NIC_CRB_BASE_2 (NETXEN_CAM_RAM(0x700)) #define NETXEN_NIC_REG(X) (NIC_CRB_BASE+(X)) #define NETXEN_NIC_REG_2(X) (NIC_CRB_BASE_2+(X)) +#define NETXEN_INTR_MODE_REG NETXEN_NIC_REG(0x44) +#define NETXEN_MSI_MODE 0x1 +#define NETXEN_INTX_MODE 0x2 #define NX_CDRP_CRB_OFFSET (NETXEN_NIC_REG(0x18)) #define NX_ARG1_CRB_OFFSET (NETXEN_NIC_REG(0x1c)) |