All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+kernel@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Sean Anderson <sean.anderson@seco.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next 2/3] net: phylink: add MAC phy_interface_t bitmap
Date: Tue, 26 Oct 2021 11:06:06 +0100	[thread overview]
Message-ID: <E1mfJLK-001KXT-Nu@rmk-PC.armlinux.org.uk> (raw)
In-Reply-To: <YXfS8K/7c14UFIyq@shell.armlinux.org.uk>

Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
interface modes it supports.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 include/linux/phylink.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index f7b5ed06a815..bc4b866cd99b 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -76,6 +76,7 @@ struct phylink_config {
 	bool ovr_an_inband;
 	void (*get_fixed_state)(struct phylink_config *config,
 				struct phylink_link_state *state);
+	DECLARE_PHY_INTERFACE_MASK(supported_interfaces);
 };
 
 /**
-- 
2.30.2


  parent reply	other threads:[~2021-10-26 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 10:05 [PATCH net-next 0/3] Introduce supported interfaces bitmap Russell King (Oracle)
2021-10-26 10:06 ` [PATCH net-next 1/3] net: phy: add phy_interface_t bitmap support Russell King (Oracle)
2021-10-26 10:06 ` Russell King [this message]
2021-10-26 10:06 ` [PATCH net-next 3/3] net: phylink: use supported_interfaces for phylink validation Russell King (Oracle)
2021-10-26 14:20 ` [PATCH net-next 0/3] Introduce supported interfaces bitmap patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1mfJLK-001KXT-Nu@rmk-PC.armlinux.org.uk \
    --to=rmk+kernel@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=hkallweit1@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=sean.anderson@seco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.