Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152701326
D49849.id154123.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
845 B
Referenced Files
None
Subscribers
None
D49849.id154123.diff
View Options
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -429,6 +429,10 @@
&pci_enable_mps_tune, 1,
"Enable tuning of MPS(maximum payload size)." );
+static bool pci_intx_reroute = true;
+SYSCTL_BOOL(_hw_pci, OID_AUTO, intx_reroute, CTLFLAG_RWTUN,
+ &pci_intx_reroute, 0, "Re-route INTx interrupts when scanning devices");
+
static int
pci_has_quirk(uint32_t devid, int quirk)
{
@@ -4175,7 +4179,8 @@
if (q->devid == devid && q->type == PCI_QUIRK_MAP_REG)
pci_add_map(bus, dev, q->arg1, rl, force, 0);
- if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
+ if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline) &&
+ pci_intx_reroute) {
/*
* Try to re-route interrupts. Sometimes the BIOS or
* firmware may leave bogus values in these registers.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 17, 2:26 PM (1 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31664631
Default Alt Text
D49849.id154123.diff (845 B)
Attached To
Mode
D49849: pci: Add hw.pci.intx_reroute sysctl/tunable
Attached
Detach File
Event Timeline
Log In to Comment