mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
arm64/smmu: Move smmu later
We need to wait for the interrupt drivers to attach before the smmu driver. As both of these happened at BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE there was no guarantee this would happen in the correct order. Fix by moving the smmu driver to BUS_PASS_ORDER_LATE. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D59485
This commit is contained in:
1 parent
d95b62db76
commit
0bcd0616ff
2 files changed
+2
-2
No files matched your search
@@ -288,4 +288,4 @@ DEFINE_CLASS_1(smmu, smmu_acpi_driver, smmu_acpi_methods,
|
||||
sizeof(struct smmu_softc), smmu_driver);
|
||||
|
||||
EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
@@ -200,4 +200,4 @@ DEFINE_CLASS_1(smmu, smmu_fdt_driver, smmu_fdt_methods,
|
||||
sizeof(struct smmu_softc), smmu_driver);
|
||||
|
||||
EARLY_DRIVER_MODULE(smmu, simplebus, smmu_fdt_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
Reference in new issue
Block a user