mctp: Add initial driver infrastructure
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 29 Jul 2021 02:20:43 +0000 (10:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 14:06:50 +0000 (15:06 +0100)
Add an empty drivers/net/mctp/, for future interface drivers.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/mctp/Kconfig [new file with mode: 0644]
drivers/net/mctp/Makefile [new file with mode: 0644]
include/uapi/linux/if_arp.h

index 770b986d10f04b3df20ee23f929a659a33de32fa..e95eb3b00cd247ffe9457f69921725ce88964fa1 100644 (file)
@@ -11037,6 +11037,7 @@ M:      Jeremy Kerr <jk@codeconstruct.com.au>
 M:     Matt Johnston <matt@codeconstruct.com.au>
 L:     netdev@vger.kernel.org
 S:     Maintained
+F:     drivers/net/mctp/
 F:     include/net/mctp.h
 F:     net/mctp/
 
index 6977f8248df7e3e83f291f466b8fcbd22d146799..56213a8a1ec57e6a18cf40fc34c313da043aeff5 100644 (file)
@@ -483,6 +483,8 @@ config NET_SB1000
 
 source "drivers/net/phy/Kconfig"
 
+source "drivers/net/mctp/Kconfig"
+
 source "drivers/net/mdio/Kconfig"
 
 source "drivers/net/pcs/Kconfig"
index 7ffd2d03efaf7fa195574d8779f28c771ea36bff..a48a664605a3008dc5cf3009e0d4ece0a0a1c60b 100644 (file)
@@ -69,6 +69,7 @@ obj-$(CONFIG_WAN) += wan/
 obj-$(CONFIG_WLAN) += wireless/
 obj-$(CONFIG_IEEE802154) += ieee802154/
 obj-$(CONFIG_WWAN) += wwan/
+obj-$(CONFIG_MCTP) += mctp/
 
 obj-$(CONFIG_VMXNET3) += vmxnet3/
 obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
diff --git a/drivers/net/mctp/Kconfig b/drivers/net/mctp/Kconfig
new file mode 100644 (file)
index 0000000..d8f966c
--- /dev/null
@@ -0,0 +1,8 @@
+
+if MCTP
+
+menu "MCTP Device Drivers"
+
+endmenu
+
+endif
diff --git a/drivers/net/mctp/Makefile b/drivers/net/mctp/Makefile
new file mode 100644 (file)
index 0000000..e69de29
index c3cc5a9e5eaf064a945f7d96a5b4226cb243619c..4783af9fe5200225044b221cd4499359900669cd 100644 (file)
@@ -54,6 +54,7 @@
 #define ARPHRD_X25     271             /* CCITT X.25                   */
 #define ARPHRD_HWX25   272             /* Boards with X.25 in firmware */
 #define ARPHRD_CAN     280             /* Controller Area Network      */
+#define ARPHRD_MCTP    290
 #define ARPHRD_PPP     512
 #define ARPHRD_CISCO   513             /* Cisco HDLC                   */
 #define ARPHRD_HDLC    ARPHRD_CISCO