summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2017-09-11 01:59:24 +0000
committerian <ian@FreeBSD.org>2017-09-11 01:59:24 +0000
commitb33a3dc4add359db25d751b8bdb5ea1041748fc7 (patch)
treed9b610fe8d78e198abb8b77601ec98742c7ffc31 /lib
parenta8c8c6f7c99020232ee481f9e5c9389c60f8e20a (diff)
downloadFreeBSD-src-b33a3dc4add359db25d751b8bdb5ea1041748fc7.zip
FreeBSD-src-b33a3dc4add359db25d751b8bdb5ea1041748fc7.tar.gz
MFC r319814, r319815, r319818:
Add a set of constants describing the ways a MAC and PHY can be connected. While the initial need for this is to help support phy drivers which are configured with FDT data, there is nothing devicetree-specific about the concept or the names, so they are available for use even on non-FDT systems. Add some utility functions to help a PHY driver on an FDT-configured system retrieve its config data from the fdt data. Convert if_ffec from local code and constants for mac<->phy connection type to new common fdt helper code.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud