Author: andrew Date: Mon Feb 17 15:32:21 2020 New Revision: 358027 URL: https://svnweb.freebsd.org/changeset/base/358027
Log: Use EARLY_DRIVER_MODULE in the acpi bus. We need this to use EARLY_DRIVER_MODULE in child drivers on arm64. This should be a no-op on x86 as it has DRIVER_MODULE in the nexus driver making all later drivers attach in the last pass. Reviewed by: imp MFC after: 1 month Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D23717 Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/acpica/acpi.c ============================================================================== --- head/sys/dev/acpica/acpi.c Mon Feb 17 15:11:07 2020 (r358026) +++ head/sys/dev/acpica/acpi.c Mon Feb 17 15:32:21 2020 (r358027) @@ -237,7 +237,8 @@ static driver_t acpi_driver = { }; static devclass_t acpi_devclass; -DRIVER_MODULE(acpi, nexus, acpi_driver, acpi_devclass, acpi_modevent, 0); +EARLY_DRIVER_MODULE(acpi, nexus, acpi_driver, acpi_devclass, acpi_modevent, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(acpi, 1); ACPI_SERIAL_DECL(acpi, "ACPI root bus"); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"