diff options
author | Maxim Kochetkov <fido_max@inbox.ru> | 2021-07-20 08:08:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-20 07:16:45 -0700 |
commit | 75d5641497a60bb5d36ff77fd3f526906cbc148c (patch) | |
tree | 4f2b3d06598579f60fbc0bb2f325652cfed1ec29 /drivers/net | |
parent | 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6 (diff) | |
download | linux-75d5641497a60bb5d36ff77fd3f526906cbc148c.tar.bz2 |
fsl/fman: Add fibre support
Set SUPPORTED_FIBRE to mac_dev->if_support. It allows proper usage of
PHYs with optical/fiber support.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/mac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index 46ecb42f2ef8..d9fc5c456bf3 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -524,6 +524,7 @@ static void setup_memac(struct mac_device *mac_dev) | SUPPORTED_Autoneg \ | SUPPORTED_Pause \ | SUPPORTED_Asym_Pause \ + | SUPPORTED_FIBRE \ | SUPPORTED_MII) static DEFINE_MUTEX(eth_lock); |