]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/s390/char/sclp_cpi.c
s390/comments: unify copyright messages and remove file names
[mirror_ubuntu-artful-kernel.git] / drivers / s390 / char / sclp_cpi.c
CommitLineData
1da177e4 1/*
c05ffc4f 2 * SCLP control programm identification
1da177e4 3 *
c05ffc4f
ME
4 * Copyright IBM Corp. 2001, 2007
5 * Author(s): Martin Peschke <mpeschke@de.ibm.com>
6 * Michael Ernst <mernst@de.ibm.com>
1da177e4
LT
7 */
8
1da177e4
LT
9#include <linux/kmod.h>
10#include <linux/module.h>
11#include <linux/moduleparam.h>
c05ffc4f
ME
12#include <linux/version.h>
13#include "sclp_cpi_sys.h"
1da177e4 14
b3c14d0b 15MODULE_LICENSE("GPL");
c05ffc4f
ME
16MODULE_DESCRIPTION("Identify this operating system instance "
17 "to the System z hardware");
18MODULE_AUTHOR("Martin Peschke <mpeschke@de.ibm.com>, "
19 "Michael Ernst <mernst@de.ibm.com>");
b3c14d0b 20
c05ffc4f
ME
21static char *system_name = "";
22static char *sysplex_name = "";
1da177e4 23
1da177e4
LT
24module_param(system_name, charp, 0);
25MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters");
1da177e4
LT
26module_param(sysplex_name, charp, 0);
27MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters");
1da177e4 28
c05ffc4f 29static int __init cpi_module_init(void)
1da177e4 30{
c05ffc4f
ME
31 return sclp_cpi_set_data(system_name, sysplex_name, "LINUX",
32 LINUX_VERSION_CODE);
1da177e4
LT
33}
34
1da177e4
LT
35static void __exit cpi_module_exit(void)
36{
37}
38
1da177e4
LT
39module_init(cpi_module_init);
40module_exit(cpi_module_exit);