svn commit: r248485 - head/sys/dev/fdt

Aleksandr Rybalko ray at FreeBSD.org
Mon Mar 18 23:51:40 UTC 2013


Author: ray
Date: Mon Mar 18 23:51:39 2013
New Revision: 248485
URL: http://svnweb.freebsd.org/changeset/base/248485

Log:
  Don't hesitate to ask parent to setup IRQ finally.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/fdt/simplebus.c

Modified: head/sys/dev/fdt/simplebus.c
==============================================================================
--- head/sys/dev/fdt/simplebus.c	Mon Mar 18 23:46:14 2013	(r248484)
+++ head/sys/dev/fdt/simplebus.c	Mon Mar 18 23:51:39 2013	(r248485)
@@ -286,9 +286,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-all mailing list