svn commit: r272181 - head/sys/powerpc/ofw
Ian Lepore
ian at FreeBSD.org
Fri Sep 26 15:16:54 UTC 2014
Author: ian
Date: Fri Sep 26 15:16:53 2014
New Revision: 272181
URL: http://svnweb.freebsd.org/changeset/base/272181
Log:
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@
Modified:
head/sys/powerpc/ofw/ofw_pcibus.c
Modified: head/sys/powerpc/ofw/ofw_pcibus.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_pcibus.c Fri Sep 26 13:12:00 2014 (r272180)
+++ head/sys/powerpc/ofw/ofw_pcibus.c Fri Sep 26 15:16:53 2014 (r272181)
@@ -201,7 +201,7 @@ ofw_pcibus_enum_devtree(device_t dev, u_
* 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);
}
}
More information about the svn-src-all
mailing list