pci/pir: Make sure that the IRQ is allowed to be configured
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Aug 2012 04:46:20 +0000 (12:46 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Aug 2012 04:46:20 +0000 (12:46 +0800)
commitc497e9f0b4b3ac604f57a4fd66535434779418e8
treeecceb6ce0adb849243fe4ba6f91fc3658ce9fcf6
parent86d692fe83b6d699dbf900e72cdf9f77dcaccd74
pci/pir: Make sure that the IRQ is allowed to be configured

If the IRQ is already configured into non-level/low mode, we should not
change the trigger and polarity
sys/bus/pci/i386/pci_pir.c
sys/bus/pci/x86_64/pci_pir.c