Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sclp_cpi.c
Go to the documentation of this file.
1 /*
2  * SCLP control programm identification
3  *
4  * Copyright IBM Corp. 2001, 2007
5  * Author(s): Martin Peschke <[email protected]>
6  * Michael Ernst <[email protected]>
7  */
8 
9 #include <linux/kmod.h>
10 #include <linux/module.h>
11 #include <linux/moduleparam.h>
12 #include <linux/version.h>
13 #include "sclp_cpi_sys.h"
14 
15 MODULE_LICENSE("GPL");
16 MODULE_DESCRIPTION("Identify this operating system instance "
17  "to the System z hardware");
18 MODULE_AUTHOR("Martin Peschke <[email protected]>, "
19  "Michael Ernst <[email protected]>");
20 
21 static char *system_name = "";
22 static char *sysplex_name = "";
23 
24 module_param(system_name, charp, 0);
25 MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters");
26 module_param(sysplex_name, charp, 0);
27 MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters");
28 
29 static int __init cpi_module_init(void)
30 {
32  LINUX_VERSION_CODE);
33 }
34 
35 static void __exit cpi_module_exit(void)
36 {
37 }
38 
39 module_init(cpi_module_init);
40 module_exit(cpi_module_exit);