From 48c632f3a70fbc678c92c19f92549b589f19c911 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 23 Jun 2022 16:55:38 +0000 Subject: [PATCH] DPAA2: there is no need for DRIVER_MODULE_ORDERED anymore Remove what I beleive was an attempt to make memac_mdio attach earlier but that got sorted by EARLY_DRIVER_MODULE there in 337596e0bb877896a3dca0a09d98e5fd2a49ef61. --- sys/dev/dpaa2/dpaa2_mc_acpi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/dpaa2/dpaa2_mc_acpi.c b/sys/dev/dpaa2/dpaa2_mc_acpi.c index 90427c30bebb3..df044618dc26f 100644 --- a/sys/dev/dpaa2/dpaa2_mc_acpi.c +++ b/sys/dev/dpaa2/dpaa2_mc_acpi.c @@ -415,8 +415,5 @@ static device_method_t dpaa2_mc_acpi_methods[] = { DEFINE_CLASS_1(dpaa2_mc, dpaa2_mc_acpi_driver, dpaa2_mc_acpi_methods, sizeof(struct dpaa2_mc_softc), dpaa2_mc_driver); -/* Make sure miibus gets procesed first. */ -DRIVER_MODULE_ORDERED(dpaa2_mc, acpi, dpaa2_mc_acpi_driver, NULL, NULL, - SI_ORDER_ANY); - +DRIVER_MODULE(dpaa2_mc, acpi, dpaa2_mc_acpi_driver, NULL, NULL); MODULE_DEPEND(dpaa2_mc, memac_mdio, 1, 1, 1);