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
Parents
rS319814: Add a set of constants describing the ways a MAC and PHY can be connected.
Branches
Unknown
Tags
Unknown