lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1638623871-21805-4-git-send-email-stefan.wahren@i2se.com>
Date:   Sat,  4 Dec 2021 14:17:50 +0100
From:   Stefan Wahren <stefan.wahren@...e.com>
To:     "David S . Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>
Cc:     Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
        Michael Heimpold <michael.heimpold@...tech.com>,
        jimmy.shen@...texcom.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        Stefan Wahren <stefan.wahren@...e.com>
Subject: [PATCH RFC V2 3/4] net: introduce media selection IF_PORT_HOMEPLUG

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@...n.ch>
Signed-off-by: Stefan Wahren <stefan.wahren@...e.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ