810cb9ef5e
intpin register is expressed in hardware where 0 means none, 1 means INTA, 2 INTB, etc. The other way is commonly used in loops where 0 means INTA, 1 means INTB, etc. The matchpin argument to pci_cfgintr_search() is supposed to be the first form, but we passsed in a loop index of the second. This fix adds one to the loop index to convert to the first form. Reported by: Pavlin Radoslavov <pavlin@icir.org> |
||
---|---|---|
.. | ||
pci_bus.c | ||
pci_cfgreg.c | ||
pci_pir.c |