forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/fungible: Kconfig, Makefiles, and MAINTAINERS
Hook up the new driver to configuration and build. Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
- Loading branch information
1 parent
c44c835
commit 165b382
Showing
7 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# Fungible network driver configuration | ||
# | ||
|
||
config NET_VENDOR_FUNGIBLE | ||
bool "Fungible devices" | ||
default y | ||
help | ||
If you have a Fungible network device, say Y. | ||
|
||
Note that the answer to this question doesn't directly affect the | ||
kernel: saying N will just cause the configurator to skip all | ||
the questions about Fungible cards. If you say Y, you will be asked | ||
for your specific card in the following questions. | ||
|
||
if NET_VENDOR_FUNGIBLE | ||
|
||
config FUN_CORE | ||
tristate | ||
help | ||
A service module offering basic common services to Fungible | ||
device drivers. | ||
|
||
source "drivers/net/ethernet/fungible/funeth/Kconfig" | ||
|
||
endif # NET_VENDOR_FUNGIBLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) | ||
# | ||
# Makefile for the Fungible network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_FUN_CORE) += funcore/ | ||
obj-$(CONFIG_FUN_ETH) += funeth/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# Fungible Ethernet driver configuration | ||
# | ||
|
||
config FUN_ETH | ||
tristate "Fungible Ethernet device driver" | ||
depends on PCI && PCI_MSI | ||
depends on TLS && TLS_DEVICE || TLS_DEVICE=n | ||
select NET_DEVLINK | ||
select FUN_CORE | ||
help | ||
This driver supports the Ethernet functionality of Fungible adapters. | ||
It works with both physical and virtual functions. | ||
|
||
To compile this driver as a module, choose M here. The module | ||
will be called funeth. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) | ||
|
||
ccflags-y += -I$(srctree)/$(src)/../funcore -I$(srctree)/$(src) | ||
|
||
obj-$(CONFIG_FUN_ETH) += funeth.o | ||
|
||
funeth-y := funeth_main.o funeth_rx.o funeth_tx.o funeth_devlink.o \ | ||
funeth_ethtool.o | ||
|
||
funeth-$(CONFIG_TLS_DEVICE) += funeth_ktls.o |