aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-03-17 22:59:48 -0400
committerJeff Garzik <jeff@garzik.org>2008-03-25 23:16:15 -0400
commit443be7960be77f3345b44491c700ae4471b0fe57 (patch)
tree48a20558ab8b4726507948b6fc3c850cac13f84b /drivers/net/netxen/netxen_nic.h
parent9e6db60825ef7e7999abc610ce256ba768e58162 (diff)
netxen: improve msi support
Recent netxen firmware has new scheme of generating MSI interrupts, it raises interrupt and blocks itself, waiting for driver to unmask. This reduces chance of spurious interrupts. The driver will be able to deal with older firmware as well. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Tested-by: Vernon Mauery <mauery@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 2bc5eaae141f..876cd0635f2e 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -942,6 +942,7 @@ struct netxen_adapter {
942 struct pci_dev *ctx_desc_pdev; 942 struct pci_dev *ctx_desc_pdev;
943 dma_addr_t ctx_desc_phys_addr; 943 dma_addr_t ctx_desc_phys_addr;
944 int intr_scheme; 944 int intr_scheme;
945 int msi_mode;
945 int (*enable_phy_interrupts) (struct netxen_adapter *); 946 int (*enable_phy_interrupts) (struct netxen_adapter *);
946 int (*disable_phy_interrupts) (struct netxen_adapter *); 947 int (*disable_phy_interrupts) (struct netxen_adapter *);
947 void (*handle_phy_intr) (struct netxen_adapter *); 948 void (*handle_phy_intr) (struct netxen_adapter *);