Skip to content

Commit 749efb1

Browse files
Dimitris Michailidisdavem330
authored andcommitted
net/fungible: Kconfig, Makefiles, and MAINTAINERS
Hook up the new driver to configuration and build. Signed-off-by: Dimitris Michailidis <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a366200 commit 749efb1

File tree

7 files changed

+69
-0
lines changed

7 files changed

+69
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7931,6 +7931,12 @@ L: [email protected]
79317931
S: Maintained
79327932
F: drivers/platform/x86/fujitsu-tablet.c
79337933

7934+
FUNGIBLE ETHERNET DRIVERS
7935+
M: Dimitris Michailidis <[email protected]>
7936+
7937+
S: Supported
7938+
F: drivers/net/ethernet/fungible/
7939+
79347940
FUSE: FILESYSTEM IN USERSPACE
79357941
M: Miklos Szeredi <[email protected]>
79367942

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ source "drivers/net/ethernet/ezchip/Kconfig"
7878
source "drivers/net/ethernet/faraday/Kconfig"
7979
source "drivers/net/ethernet/freescale/Kconfig"
8080
source "drivers/net/ethernet/fujitsu/Kconfig"
81+
source "drivers/net/ethernet/fungible/Kconfig"
8182
source "drivers/net/ethernet/google/Kconfig"
8283
source "drivers/net/ethernet/hisilicon/Kconfig"
8384
source "drivers/net/ethernet/huawei/Kconfig"

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ obj-$(CONFIG_NET_VENDOR_EZCHIP) += ezchip/
4141
obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/
4242
obj-$(CONFIG_NET_VENDOR_FREESCALE) += freescale/
4343
obj-$(CONFIG_NET_VENDOR_FUJITSU) += fujitsu/
44+
obj-$(CONFIG_NET_VENDOR_FUNGIBLE) += fungible/
4445
obj-$(CONFIG_NET_VENDOR_GOOGLE) += google/
4546
obj-$(CONFIG_NET_VENDOR_HISILICON) += hisilicon/
4647
obj-$(CONFIG_NET_VENDOR_HUAWEI) += huawei/

drivers/net/ethernet/fungible/Kconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Fungible network driver configuration
4+
#
5+
6+
config NET_VENDOR_FUNGIBLE
7+
bool "Fungible devices"
8+
default y
9+
help
10+
If you have a Fungible network device, say Y.
11+
12+
Note that the answer to this question doesn't directly affect the
13+
kernel: saying N will just cause the configurator to skip all
14+
the questions about Fungible cards. If you say Y, you will be asked
15+
for your specific card in the following questions.
16+
17+
if NET_VENDOR_FUNGIBLE
18+
19+
config FUN_CORE
20+
tristate
21+
help
22+
A service module offering basic common services to Fungible
23+
device drivers.
24+
25+
source "drivers/net/ethernet/fungible/funeth/Kconfig"
26+
27+
endif # NET_VENDOR_FUNGIBLE
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2+
#
3+
# Makefile for the Fungible network device drivers.
4+
#
5+
6+
obj-$(CONFIG_FUN_CORE) += funcore/
7+
obj-$(CONFIG_FUN_ETH) += funeth/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Fungible Ethernet driver configuration
4+
#
5+
6+
config FUN_ETH
7+
tristate "Fungible Ethernet device driver"
8+
depends on PCI && PCI_MSI
9+
depends on TLS && TLS_DEVICE || TLS_DEVICE=n
10+
select NET_DEVLINK
11+
select FUN_CORE
12+
help
13+
This driver supports the Ethernet functionality of Fungible adapters.
14+
It works with both physical and virtual functions.
15+
16+
To compile this driver as a module, choose M here. The module
17+
will be called funeth.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2+
3+
ccflags-y += -I$(srctree)/$(src)/../funcore -I$(srctree)/$(src)
4+
5+
obj-$(CONFIG_FUN_ETH) += funeth.o
6+
7+
funeth-y := funeth_main.o funeth_rx.o funeth_tx.o funeth_devlink.o \
8+
funeth_ethtool.o
9+
10+
funeth-$(CONFIG_TLS_DEVICE) += funeth_ktls.o

0 commit comments

Comments
 (0)