]> Git Repo - linux.git/blame - drivers/s390/char/sclp_cpi.c
Merge branch 'amd-iommu/2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / s390 / char / sclp_cpi.c
CommitLineData
1da177e4 1/*
c05ffc4f
ME
2 * drivers/s390/char/sclp_cpi.c
3 * SCLP control programm identification
1da177e4 4 *
c05ffc4f
ME
5 * Copyright IBM Corp. 2001, 2007
6 * Author(s): Martin Peschke <[email protected]>
7 * Michael Ernst <[email protected]>
1da177e4
LT
8 */
9
1da177e4
LT
10#include <linux/kmod.h>
11#include <linux/module.h>
12#include <linux/moduleparam.h>
c05ffc4f
ME
13#include <linux/version.h>
14#include "sclp_cpi_sys.h"
1da177e4 15
b3c14d0b 16MODULE_LICENSE("GPL");
c05ffc4f
ME
17MODULE_DESCRIPTION("Identify this operating system instance "
18 "to the System z hardware");
19MODULE_AUTHOR("Martin Peschke <[email protected]>, "
20 "Michael Ernst <[email protected]>");
b3c14d0b 21
c05ffc4f
ME
22static char *system_name = "";
23static char *sysplex_name = "";
1da177e4 24
1da177e4
LT
25module_param(system_name, charp, 0);
26MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters");
1da177e4
LT
27module_param(sysplex_name, charp, 0);
28MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters");
1da177e4 29
c05ffc4f 30static int __init cpi_module_init(void)
1da177e4 31{
c05ffc4f
ME
32 return sclp_cpi_set_data(system_name, sysplex_name, "LINUX",
33 LINUX_VERSION_CODE);
1da177e4
LT
34}
35
1da177e4
LT
36static void __exit cpi_module_exit(void)
37{
38}
39
1da177e4
LT
40module_init(cpi_module_init);
41module_exit(cpi_module_exit);
This page took 0.63367 seconds and 4 git commands to generate.