summaryrefslogtreecommitdiffstats
path: root/net/9p/Kconfig
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-11-03 20:38:21 +0100
committerDominique Martinet <asmadeus@codewreck.org>2022-01-10 01:58:30 +0100
commit1c582c6dc4244d88f702dc3afd5b47225332edf6 (patch)
tree721791c320b35e6e17c1333b61a2664129d57e07 /net/9p/Kconfig
parentfs: 9p: remove unneeded variable (diff)
downloadlinux-1c582c6dc4244d88f702dc3afd5b47225332edf6.tar.xz
linux-1c582c6dc4244d88f702dc3afd5b47225332edf6.zip
9p/trans_fd: split into dedicated module
This allows these transports only to be used when needed. Link: https://lkml.kernel.org/r/20211103193823.111007-3-linux@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> [Dominique: Kconfig NET_9P_FD: -depends VIRTIO, +default NET_9P] Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/Kconfig')
-rw-r--r--net/9p/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/9p/Kconfig b/net/9p/Kconfig
index 64468c49791f..deabbd376cb1 100644
--- a/net/9p/Kconfig
+++ b/net/9p/Kconfig
@@ -15,6 +15,13 @@ menuconfig NET_9P
if NET_9P
+config NET_9P_FD
+ default NET_9P
+ tristate "9P FD Transport"
+ help
+ This builds support for transports over TCP, Unix sockets and
+ filedescriptors.
+
config NET_9P_VIRTIO
depends on VIRTIO
tristate "9P Virtio Transport"