diff mbox series

fsl/fman: Add fibre support

Message ID 20210720050838.7635-1-fido_max@inbox.ru (mailing list archive)
State Accepted
Commit 75d5641497a60bb5d36ff77fd3f526906cbc148c
Delegated to: Netdev Maintainers
Headers show
Series fsl/fman: Add fibre support | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 4 of 4 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Maxim Kochetkov July 20, 2021, 5:08 a.m. UTC
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>
---
 drivers/net/ethernet/freescale/fman/mac.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Madalin Bucur (OSS) July 20, 2021, 10:11 a.m. UTC | #1
> -----Original Message-----
> From: Maxim Kochetkov <fido_max@inbox.ru>
> Sent: 20 July 2021 08:09
> To: netdev@vger.kernel.org
> Cc: Madalin Bucur <madalin.bucur@nxp.com>; davem@davemloft.net;
> kuba@kernel.org; Maxim Kochetkov <fido_max@inbox.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@inbox.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

Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
patchwork-bot+netdevbpf@kernel.org July 20, 2021, 2:20 p.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 20 Jul 2021 08:08:38 +0300 you wrote:
> 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>
> ---
>  drivers/net/ethernet/freescale/fman/mac.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - fsl/fman: Add fibre support
    https://git.kernel.org/netdev/net/c/75d5641497a6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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);