Date: Tue, 16 Feb 2016 13:40:24 +0000 (UTC) From: Svatopluk Kraus <skra@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295660 - head/sys/arm/ti Message-ID: <201602161340.u1GDeOUE011920@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: skra Date: Tue Feb 16 13:40:23 2016 New Revision: 295660 URL: https://svnweb.freebsd.org/changeset/base/295660 Log: Use EARLY_DRIVER_MODULE() for ti_scm driver to be attached before am335x_prcm driver which uses it. Used BUS_PASS_BUS is a quick pick for now and may be revised when other drivers start using multipass feature. This is needed after an update of Linux dts files done in r295436. Modified: head/sys/arm/ti/ti_scm.c Modified: head/sys/arm/ti/ti_scm.c ============================================================================== --- head/sys/arm/ti/ti_scm.c Tue Feb 16 12:19:06 2016 (r295659) +++ head/sys/arm/ti/ti_scm.c Tue Feb 16 13:40:23 2016 (r295660) @@ -170,4 +170,5 @@ static driver_t ti_scm_driver = { static devclass_t ti_scm_devclass; -DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0); +EARLY_DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602161340.u1GDeOUE011920>