diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 2008-02-14 16:24:14 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2008-02-14 16:24:14 +0000 |
commit | 91ed89132cde0e6d020cb7a510db3b0e1f44330c (patch) | |
tree | d8eb9bbae8a65973450a656a4e48ca304f088217 /sys/dev/mxge/if_mxge_var.h | |
parent | 5014f8ded47a5e6d770ca588a2b929dff2617667 (diff) | |
download | src-91ed89132cde0e6d020cb7a510db3b0e1f44330c.tar.gz src-91ed89132cde0e6d020cb7a510db3b0e1f44330c.zip |
Now that mxge supports MSI-X interrupts, reverse the logic and flag
legacy interrupts rather than MSI as a special case. Prior to this
commit, the interrupt handler was doing the slow handshaking with
the device to ensure the legacy interrupt was lowered in both
the legacy and MSI-X case. This handshaking was not
required for MSI-X.
Notes
Notes:
svn path=/head/; revision=176281
Diffstat (limited to 'sys/dev/mxge/if_mxge_var.h')
-rw-r--r-- | sys/dev/mxge/if_mxge_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mxge/if_mxge_var.h b/sys/dev/mxge/if_mxge_var.h index 8e65e7fcb938..0eea0745eede 100644 --- a/sys/dev/mxge/if_mxge_var.h +++ b/sys/dev/mxge/if_mxge_var.h @@ -206,7 +206,7 @@ struct mxge_softc { mxge_dma_t cmd_dma; mxge_dma_t zeropad_dma; struct pci_dev *pdev; - int msi_enabled; + int legacy_irq; int link_state; unsigned int rdma_tags_available; int intr_coal_delay; |