Date: Fri, 22 May 2020 11:55:54 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r361367 - stable/12/sys/dev/ichiic Message-ID: <202005221155.04MBtsU8027613@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Fri May 22 11:55:54 2020 New Revision: 361367 URL: https://svnweb.freebsd.org/changeset/base/361367 Log: MFC r360241: ig4: ensure that drivers always attach in correct order Use DRIVER_MODULE_ORDERED(SI_ORDER_ANY) so that ig4's ACPI attachment happens after iicbus and acpi_iicbus drivers are registered. Modified: stable/12/sys/dev/ichiic/ig4_acpi.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/ichiic/ig4_acpi.c ============================================================================== --- stable/12/sys/dev/ichiic/ig4_acpi.c Fri May 22 11:53:07 2020 (r361366) +++ stable/12/sys/dev/ichiic/ig4_acpi.c Fri May 22 11:55:54 2020 (r361367) @@ -192,5 +192,6 @@ static driver_t ig4iic_acpi_driver = { sizeof(struct ig4iic_softc), }; -DRIVER_MODULE(ig4iic, acpi, ig4iic_acpi_driver, ig4iic_devclass, 0, 0); +DRIVER_MODULE_ORDERED(ig4iic, acpi, ig4iic_acpi_driver, ig4iic_devclass, 0, 0, + SI_ORDER_ANY); MODULE_DEPEND(ig4iic, acpi, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005221155.04MBtsU8027613>