Fix a paste-o commited in r272109: we need to get the interrupts for the
child node, not the parent node. Pointed out by: jhibbits@
This commit is contained in:
parent
dc42251bc6
commit
d7771b5006
@ -201,7 +201,7 @@ ofw_pcibus_enum_devtree(device_t dev, u_int domain, u_int busno)
|
||||
* resource list.
|
||||
*/
|
||||
if (dinfo->opd_dinfo.cfg.intpin == 0)
|
||||
ofw_bus_intr_to_rl(dev, node, &dinfo->opd_dinfo.resources);
|
||||
ofw_bus_intr_to_rl(dev, child, &dinfo->opd_dinfo.resources);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user