diff options
author | Philipp Zabel | 2016-07-14 16:29:43 +0200 |
---|---|---|
committer | David S. Miller | 2016-07-15 20:53:02 +0200 |
commit | 77501a79cec40eac65c59ee7af3f786c703ead9c (patch) | |
tree | fab4f2e3f889b732c7aaaa9c1d9cd72ca698d998 /include/linux/micrel_phy.h | |
parent | wan/fsl_ucc_hdlc: info leak in uhdlc_ioctl() (diff) | |
download | kernel-qcow2-linux-77501a79cec40eac65c59ee7af3f786c703ead9c.tar.gz kernel-qcow2-linux-77501a79cec40eac65c59ee7af3f786c703ead9c.tar.xz kernel-qcow2-linux-77501a79cec40eac65c59ee7af3f786c703ead9c.zip |
net: phy: micrel: Add KSZ8041FTL fiber mode support
We can't detect the FXEN (fiber mode) bootstrap pin, so configure
it via a boolean device tree property "micrel,fiber-mode".
If it is enabled, auto-negotiation is not supported.
The only available modes are 100base-fx (full duplex and half duplex).
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/micrel_phy.h')
-rw-r--r-- | include/linux/micrel_phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h index 2e5b194b9b19..257173e0095e 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/micrel_phy.h @@ -37,6 +37,7 @@ /* struct phy_device dev_flags definitions */ #define MICREL_PHY_50MHZ_CLK 0x00000001 +#define MICREL_PHY_FXEN 0x00000002 #define MICREL_KSZ9021_EXTREG_CTRL 0xB #define MICREL_KSZ9021_EXTREG_DATA_WRITE 0xC |