HomeFreeBSD

xen: Use devclass_find to lookup devclasses in identify.

Description

xen: Use devclass_find to lookup devclasses in identify.

While here, use driver->name instead of hardcoding the xenpv and
xen_et strings both for devclass_find() and BUS_ADD_CHILD().

Reviewed by: Elliott Mitchell <ehem+freebsd@m5p.com>, imp, royger
Differential Revision: https://reviews.freebsd.org/D35001

Details

Provenance
jhbAuthored on Apr 25 2022, 6:55 PM
Reviewer
imp
Differential Revision
D35001: xen: Use devclass_find to lookup devclasses in identify.
Parents
rGccaec73d0b49: ada: Eliminate dead code
Branches
Unknown
Tags
Unknown