s390/sclp_cpi: remove sclp_cpi module in favor of sysfs interface
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 4 Nov 2015 08:01:34 +0000 (09:01 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:24:16 +0000 (09:24 +0100)
Since commit c05ffc4f2b20 ("[S390] sclp: sysfs interface for
SCLP cpi"), which was made 2008 the user can specify a system
and sysplex name through the /sys/firmware/cpi interface.  In
addition to sysplex and system name, the user can also override
the system type and system version.

Because the syfs interface is easier to use and allows the
settings to be updated, the sclp_cpi module becomes obsolete
and can be removed.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/Kconfig
drivers/s390/char/Makefile
drivers/s390/char/sclp_cpi.c [deleted file]

index eaca3e00630196050af8d9a8f70749512ae5ad9f..1f9078fdaf8c0f8b94801736ee37b3680e2214b3 100644 (file)
@@ -78,19 +78,6 @@ config SCLP_VT220_CONSOLE
          Include support for using an IBM SCLP VT220-compatible terminal as a
          Linux system console.
 
-config SCLP_CPI
-       def_tristate m
-       prompt "Control-Program Identification"
-       depends on S390
-       help
-         This option enables the hardware console interface for system
-         identification. This is commonly used for workload management and
-         gives you a nice name for the system on the service element.
-         Please select this option as a module since built-in operation is
-         completely untested.
-         You should only select this option if you know what you are doing,
-         need this feature and intend to run your kernel in LPAR.
-
 config SCLP_ASYNC
        def_tristate m
        prompt "Support for Call Home via Asynchronous SCLP Records"
index 8a2632ba88dc3a6fef273d157c3a7becfc5ed835..dd2f7c832e5e38e6b71eb17be632c4c6c81c52ba 100644 (file)
@@ -16,7 +16,6 @@ obj-$(CONFIG_TN3215) += con3215.o
 obj-$(CONFIG_SCLP_TTY) += sclp_tty.o
 obj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
 obj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
-obj-$(CONFIG_SCLP_CPI) += sclp_cpi.o
 obj-$(CONFIG_SCLP_ASYNC) += sclp_async.o
 
 obj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
diff --git a/drivers/s390/char/sclp_cpi.c b/drivers/s390/char/sclp_cpi.c
deleted file mode 100644 (file)
index d70d8c2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *    SCLP control programm identification
- *
- *    Copyright IBM Corp. 2001, 2007
- *    Author(s): Martin Peschke <mpeschke@de.ibm.com>
- *              Michael Ernst <mernst@de.ibm.com>
- */
-
-#include <linux/kmod.h>
-#include <linux/module.h>
-#include <linux/moduleparam.h>
-#include <linux/version.h>
-#include "sclp_cpi_sys.h"
-
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("Identify this operating system instance "
-                  "to the System z hardware");
-MODULE_AUTHOR("Martin Peschke <mpeschke@de.ibm.com>, "
-             "Michael Ernst <mernst@de.ibm.com>");
-
-static char *system_name = "";
-static char *sysplex_name = "";
-
-module_param(system_name, charp, 0);
-MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters");
-module_param(sysplex_name, charp, 0);
-MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters");
-
-static int __init cpi_module_init(void)
-{
-       return sclp_cpi_set_data(system_name, sysplex_name, "LINUX",
-                                LINUX_VERSION_CODE);
-}
-
-static void __exit cpi_module_exit(void)
-{
-}
-
-module_init(cpi_module_init);
-module_exit(cpi_module_exit);
This page took 0.02684 seconds and 5 git commands to generate.