2 * drivers/s390/char/sclp_cpi.c
3 * SCLP control programm identification
5 * Copyright IBM Corp. 2001, 2007
6 * Author(s): Martin Peschke <mpeschke@de.ibm.com>
7 * Michael Ernst <mernst@de.ibm.com>
10 #include <linux/kmod.h>
11 #include <linux/module.h>
12 #include <linux/moduleparam.h>
13 #include <linux/version.h>
14 #include "sclp_cpi_sys.h"
16 MODULE_LICENSE("GPL");
17 MODULE_DESCRIPTION("Identify this operating system instance "
18 "to the System z hardware");
19 MODULE_AUTHOR("Martin Peschke <mpeschke@de.ibm.com>, "
20 "Michael Ernst <mernst@de.ibm.com>");
22 static char *system_name
= "";
23 static char *sysplex_name
= "";
25 module_param(system_name
, charp
, 0);
26 MODULE_PARM_DESC(system_name
, "e.g. hostname - max. 8 characters");
27 module_param(sysplex_name
, charp
, 0);
28 MODULE_PARM_DESC(sysplex_name
, "if applicable - max. 8 characters");
30 static int __init
cpi_module_init(void)
32 return sclp_cpi_set_data(system_name
, sysplex_name
, "LINUX",
36 static void __exit
cpi_module_exit(void)
40 module_init(cpi_module_init
);
41 module_exit(cpi_module_exit
);