]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
qeth: s390 ethernet device driver dependency
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Wed, 22 Oct 2014 10:18:05 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 02:21:39 +0000 (22:21 -0400)
Compile the s390 10GB ethernet device driver only when
ETHERNET has been defined in the kernel configuration file.
Right now the qeth device driver is always built regardless
of which network connectivity is active.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/Kconfig

index 8b3f5599180595df9cd28422fe1dec2ddc2183aa..f1b5111bbaba42a690ae573ce7a699ab60ebcaaa 100644 (file)
@@ -71,7 +71,7 @@ config CLAW
 config QETH
        def_tristate y
        prompt "Gigabit Ethernet device support"
-       depends on CCW && NETDEVICES && IP_MULTICAST && QDIO
+       depends on CCW && NETDEVICES && IP_MULTICAST && QDIO && ETHERNET
        help
          This driver supports the IBM System z OSA Express adapters
          in QDIO mode (all media types), HiperSockets interfaces and z/VM