Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 23:51:39 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248485 - head/sys/dev/fdt
Message-ID:  <201303182351.r2INpdWU048197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303182351.r2INpdWU048197>