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:
Ian Lepore 2014-09-26 15:16:53 +00:00
parent dc42251bc6
commit d7771b5006

View File

@ -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);
}
}