svn commit: r242764 - projects/efika_mx/sys/dev/fdt

Aleksandr Rybalko ray at FreeBSD.org
Thu Nov 8 13:03:10 UTC 2012


Author: ray
Date: Thu Nov  8 13:03:09 2012
New Revision: 242764
URL: http://svnweb.freebsd.org/changeset/base/242764

Log:
  Allow query interrupt serving deeper, i.e. don't check parent.

Modified:
  projects/efika_mx/sys/dev/fdt/simplebus.c

Modified: projects/efika_mx/sys/dev/fdt/simplebus.c
==============================================================================
--- projects/efika_mx/sys/dev/fdt/simplebus.c	Thu Nov  8 13:00:25 2012	(r242763)
+++ projects/efika_mx/sys/dev/fdt/simplebus.c	Thu Nov  8 13:03:09 2012	(r242764)
@@ -287,9 +287,6 @@ simplebus_setup_intr(device_t bus, devic
 	enum intr_polarity pol;
 	int error, rid;
 
-	if (device_get_parent(child) != bus)
-		return (ECHILD);
-
 	di = device_get_ivars(child);
 	if (di == NULL)
 		return (ENXIO);


More information about the svn-src-projects mailing list