Date: Mon, 11 Sep 2017 22:33:29 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r323470 - stable/11/sys/arm/ti/am335x Message-ID: <201709112233.v8BMXTm6069538@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Mon Sep 11 22:33:29 2017 New Revision: 323470 URL: https://svnweb.freebsd.org/changeset/base/323470 Log: MFC r322373: Ensure the clocks driver is attached before any drivers that need to enable clocks in their attach(). Modified: stable/11/sys/arm/ti/am335x/am335x_prcm.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/arm/ti/am335x/am335x_prcm.c ============================================================================== --- stable/11/sys/arm/ti/am335x/am335x_prcm.c Mon Sep 11 22:32:38 2017 (r323469) +++ stable/11/sys/arm/ti/am335x/am335x_prcm.c Mon Sep 11 22:33:29 2017 (r323470) @@ -466,8 +466,8 @@ static driver_t am335x_prcm_driver = { static devclass_t am335x_prcm_devclass; -DRIVER_MODULE(am335x_prcm, simplebus, am335x_prcm_driver, - am335x_prcm_devclass, 0, 0); +EARLY_DRIVER_MODULE(am335x_prcm, simplebus, am335x_prcm_driver, + am335x_prcm_devclass, 0, 0, BUS_PASS_TIMER + BUS_PASS_ORDER_EARLY); MODULE_VERSION(am335x_prcm, 1); MODULE_DEPEND(am335x_prcm, ti_scm, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709112233.v8BMXTm6069538>