HomeFreeBSD

Add some utility functions to help a PHY driver on an FDT-configured

Description

Add some utility functions to help a PHY driver on an FDT-configured
system retrieve its config data from the fdt data.

The properties that are common to all phys are decoded and returned in a
structure. The fdt node handles for the mac and phy devices are also
returned in the config data struct, so a driver can easily obtain additional
hardware-specific config values from the fdt data.

Details

Provenance
ianAuthored on Jun 11 2017, 12:16 AM
Parents
rG0f75981ae91d: Add a set of constants describing the ways a MAC and PHY can be connected.
Branches
Unknown
Tags
Unknown

Event Timeline