HomeFreeBSD

ofwbus: only allow unit number zero

Description

ofwbus: only allow unit number zero

ofwbus has always been the root of attachment for OFW/FDT platforms. It
may have simplebus children, but we expect only one instance of the
ofwbus driver, added directly by nexus. We may as well ensure this
remains the case.

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

(cherry picked from commit afca197f5240ce2c2c7abfe5c9fbc50ba55f178b)

Details

Provenance
mhorneAuthored on Feb 13 2023, 5:44 PM
Reviewer
jhb
Differential Revision
D38493: ofwbus: only allow unit number zero
Parents
rG53ad4781f550: ofwbus: remove arm64 ifdefs
Branches
Unknown
Tags
Unknown