[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210720050838.7635-1-fido_max@inbox.ru>
Date: Tue, 20 Jul 2021 08:08:38 +0300
From: Maxim Kochetkov <fido_max@...ox.ru>
To: netdev@...r.kernel.org
Cc: madalin.bucur@....com, davem@...emloft.net, kuba@...nel.org,
Maxim Kochetkov <fido_max@...ox.ru>
Subject: [PATCH] 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@...ox.ru>
---
drivers/net/ethernet/freescale/fman/mac.c | 1 +
1 file changed, 1 insertion(+)
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);
--
2.31.1
Powered by blists - more mailing lists