Date: Fri, 26 Sep 2014 15:16:53 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272181 - head/sys/powerpc/ofw Message-ID: <201409261516.s8QFGrgk020486@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409261516.s8QFGrgk020486>