HomeFreeBSD

ofwbus: remove arm64 ifdefs

Description

ofwbus: remove arm64 ifdefs

Rather than using the DEVICE_IDENTIFY method, let's have other
ofwbus-using platforms add ofwbus0 explicitly in nexus, like arm64. This
gives them the same flexibility, e.g. if riscv starts supporting ACPI,
and cleans up the #ifdefs.

We were doing this already on riscv, but adjust the 'order' parameters.

Reviewed by: andrew, jhb
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D38492

(cherry picked from commit 53d5e65eead0f713c5e256018d46edbec0a96c11)

Details

Provenance
mhorneAuthored on Feb 13 2023, 5:43 PM
Reviewer
andrew
Differential Revision
D38492: ofwbus: remove arm64 ifdefs
Parents
rG9cb88cc937ec: ofwbus: remove handling of resources from ofwbus
Branches
Unknown
Tags
Unknown