Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 13:15:22 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288824 - head/sys/arm/ti
Message-ID:  <201510051315.t95DFM0t030008@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Mon Oct  5 13:15:21 2015
New Revision: 288824
URL: https://svnweb.freebsd.org/changeset/base/288824

Log:
  Attach interrupt controller device before other devices.
  
  Sponsored by:	University of Cambridge

Modified:
  head/sys/arm/ti/aintc.c

Modified: head/sys/arm/ti/aintc.c
==============================================================================
--- head/sys/arm/ti/aintc.c	Mon Oct  5 11:51:13 2015	(r288823)
+++ head/sys/arm/ti/aintc.c	Mon Oct  5 13:15:21 2015	(r288824)
@@ -156,7 +156,8 @@ static driver_t ti_aintc_driver = {
 
 static devclass_t ti_aintc_devclass;
 
-DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, 0, 0);
+EARLY_DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass,
+    0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
 
 int
 arm_get_next_irq(int last_irq)



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