Initialize the rid for input.
Left uninitialized, random rid causes the IRQ setup to fail, and the PCI device to not be attached.
This commit is contained in:
parent
7d3aadc2c1
commit
e1741da38a
@ -363,6 +363,7 @@ fsl_pcib_attach(device_t dev)
|
||||
}
|
||||
|
||||
/* Allocate irq */
|
||||
rid = 0;
|
||||
sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
|
||||
RF_ACTIVE | RF_SHAREABLE);
|
||||
if (sc->sc_irq_res == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user