diff options
-rw-r--r-- | sys/pci/intpm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index 13404c8..1cbe75d 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -167,6 +167,12 @@ intsmb_attach(device_t dev) sc->poll == 0 ? "enabled" : "disabled"); printf("revision %d\n", pci_read_config(dev, PCI_REVID_SMB, 1)); + if (!sc->poll && intr == PCI_INTR_SMB_SMI) { + device_printf(dev, + "using polling mode when configured interrupt is SMI\n"); + sc->poll = 1; + } + if (sc->poll) goto no_intr; |