s390/net: add SMC config as one of the defaults of CCWGROUP
authorGuvenc Gulce <guvenc@linux.ibm.com>
Thu, 10 Sep 2020 16:48:27 +0000 (18:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:24:26 +0000 (15:24 -0700)
arch/s390/net/pnet.c uses ccwgroup function dev_is_ccwgroup()
in pnetid_by_dev_port().
For s390 the net/smc code makes use of function pnetid_by_dev_port().
Make sure ccwgroup is built into the kernel, if smc is to be built
into the kernel.

Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/Kconfig

index 53120e6..bf236d4 100644 (file)
@@ -107,7 +107,7 @@ config QETH_OSX
 
 config CCWGROUP
        tristate
-       default (LCS || CTCM || QETH)
+       default (LCS || CTCM || QETH || SMC)
 
 config ISM
        tristate "Support for ISM vPCI Adapter"