linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	Michael Heimpold <michael.heimpold@in-tech.com>,
	jimmy.shen@vertexcom.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Stefan Wahren <stefan.wahren@i2se.com>
Subject: [PATCH RFC V2 3/4] net: introduce media selection IF_PORT_HOMEPLUG
Date: Sat,  4 Dec 2021 14:17:50 +0100	[thread overview]
Message-ID: <1638623871-21805-4-git-send-email-stefan.wahren@i2se.com> (raw)
In-Reply-To: <1638623871-21805-1-git-send-email-stefan.wahren@i2se.com>

Introduce a new media selection dedicated for HomePlug powerline
communication. This allows us to use the proper if_port setting in
HomePlug drivers.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 include/uapi/linux/netdevice.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/uapi/linux/netdevice.h b/include/uapi/linux/netdevice.h
index f3770c5..0f1f536 100644
--- a/include/uapi/linux/netdevice.h
+++ b/include/uapi/linux/netdevice.h
@@ -53,7 +53,8 @@ enum {
         IF_PORT_AUI,
         IF_PORT_100BASET,
         IF_PORT_100BASETX,
-        IF_PORT_100BASEFX
+        IF_PORT_100BASEFX,
+        IF_PORT_HOMEPLUG
 };
 
 /* hardware address assignment types */
-- 
2.7.4


  parent reply	other threads:[~2021-12-04 13:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 13:17 [PATCH RFC V2 0/4] add Vertexcom MSE102x support Stefan Wahren
2021-12-04 13:17 ` [PATCH RFC V2 1/4] dt-bindings: add vendor Vertexcom Stefan Wahren
2021-12-04 13:17 ` [PATCH RFC V2 2/4] dt-bindings: net: add Vertexcom MSE102x support Stefan Wahren
2021-12-04 13:17 ` Stefan Wahren [this message]
2021-12-06 19:29   ` [PATCH RFC V2 3/4] net: introduce media selection IF_PORT_HOMEPLUG Jakub Kicinski
2021-12-08 16:55     ` Stefan Wahren
2021-12-04 13:17 ` [PATCH RFC V2 4/4] net: vertexcom: Add MSE102x SPI support Stefan Wahren

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=1638623871-21805-4-git-send-email-stefan.wahren@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=jimmy.shen@vertexcom.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.heimpold@in-tech.com \
    --cc=netdev@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).