HomeFreeBSD

Add a routine to return the hardware instance/unit number from ti,hwmods,

Description

Add a routine to return the hardware instance/unit number from ti,hwmods,
given the hardware name.

The ti,hwmods property is used (among other things) to associate an fdt node
with a specific instance of some hardware. For example given a device node
that contains the property ti,hwmods = "timer3", if you call this passing
"timer" as the hwmod string to look for it would return 3.

Details

Provenance
ianAuthored on
Parents
rS286677: MFV r286224: 5695 dmu_sync'ed holes do not retain birth time
Branches
Unknown
Tags
Unknown