summaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2018-05-22 12:42:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-05-30 11:18:03 +0200
commitb6ef86e962247b9875aa243ba15f258399b67de6 (patch)
treeb1361c5b880d8ee14d6ad09ad83b4a71087acab4 /arch/s390/Kconfig
parent1bcdb5354aee2c0abcd13d912be35ae39a4144b6 (diff)
downloadblackbird-op-linux-b6ef86e962247b9875aa243ba15f258399b67de6.tar.gz
blackbird-op-linux-b6ef86e962247b9875aa243ba15f258399b67de6.zip
s390/net: add pnetid support
s390 hardware supports the definition of a so-call Physical NETwork IDentifier (short PNETID) per network device port. These PNETIDS can be used to identify network devices that are attached to the same physical network (broadcast domain). This patch provides the interface to extract the PNETID of a port of a device attached to the ccw-bus or pci-bus. Parts of this patch are based on an initial implementation by Thomas Richter. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 199ac3e4da1d..4f778af8323f 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -847,6 +847,10 @@ config CCW
source "drivers/Kconfig"
+config HAVE_PNETID
+ tristate
+ default (SMC || CCWGROUP)
+
source "fs/Kconfig"
source "arch/s390/Kconfig.debug"
OpenPOWER on IntegriCloud