summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcib_private.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-01-13 04:57:37 +0000
committerjhb <jhb@FreeBSD.org>2007-01-13 04:57:37 +0000
commit053f91b1b39c7a6ec974200bb7801edf27adb10f (patch)
treeec820e36829ba1e1545becb5800b8dd0b6da973f /sys/dev/pci/pcib_private.h
parentcbd9e164046125adc3cf7eee878772255b2ab871 (diff)
downloadFreeBSD-src-053f91b1b39c7a6ec974200bb7801edf27adb10f.zip
FreeBSD-src-053f91b1b39c7a6ec974200bb7801edf27adb10f.tar.gz
- Add a new flag to the PCI-PCI driver to disable MSI on devices behind the
bridge if it doesn't pass MSI messages up correctly. We set the flag in pcib_attach() if the device ID is disabled via a PCI quirk. - Disable MSI for devices behind the AMD 8131 HT-PCIX bridge. Linux has the same quirk. Tested by: no one despite repeated calls for testers
Diffstat (limited to 'sys/dev/pci/pcib_private.h')
-rw-r--r--sys/dev/pci/pcib_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/pcib_private.h b/sys/dev/pci/pcib_private.h
index 493b87d..9575df2 100644
--- a/sys/dev/pci/pcib_private.h
+++ b/sys/dev/pci/pcib_private.h
@@ -46,6 +46,7 @@ struct pcib_softc
device_t dev;
uint32_t flags; /* flags */
#define PCIB_SUBTRACTIVE 0x1
+#define PCIB_DISABLE_MSI 0x2
uint16_t command; /* command register */
uint8_t secbus; /* secondary bus number */
uint8_t subbus; /* subordinate bus number */
OpenPOWER on IntegriCloud