forked from Minki/linux
mctp: Add initial driver infrastructure
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>
This commit is contained in:
parent
60fc639816
commit
4b2e69305c
@ -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/
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
8
drivers/net/mctp/Kconfig
Normal file
8
drivers/net/mctp/Kconfig
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
if MCTP
|
||||
|
||||
menu "MCTP Device Drivers"
|
||||
|
||||
endmenu
|
||||
|
||||
endif
|
0
drivers/net/mctp/Makefile
Normal file
0
drivers/net/mctp/Makefile
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user