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

Details

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