diff options
author | ian <ian@FreeBSD.org> | 2017-09-11 01:59:24 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-09-11 01:59:24 +0000 |
commit | b33a3dc4add359db25d751b8bdb5ea1041748fc7 (patch) | |
tree | d9b610fe8d78e198abb8b77601ec98742c7ffc31 /sys/conf | |
parent | a8c8c6f7c99020232ee481f9e5c9389c60f8e20a (diff) | |
download | FreeBSD-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 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 2338355..8a9ed9d 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2166,6 +2166,7 @@ dev/mii/micphy.c optional miibus fdt | micphy fdt dev/mii/mii.c optional miibus | mii dev/mii/mii_bitbang.c optional miibus | mii_bitbang dev/mii/mii_physubr.c optional miibus | mii +dev/mii/mii_fdt.c optional miibus fdt | mii fdt dev/mii/miibus_if.m optional miibus | mii dev/mii/mlphy.c optional miibus | mlphy dev/mii/nsgphy.c optional miibus | nsgphy |