2 * linux/drivers/s390/crypto/zcrypt_mono.c
6 * Copyright (C) 2001, 2006 IBM Corporation
7 * Author(s): Robert Burroughs
8 * Eric Rossman (edrossma@us.ibm.com)
10 * Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com)
11 * Major cleanup & driver split: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2, or (at your option)
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <linux/module.h>
29 #include <linux/init.h>
30 #include <linux/interrupt.h>
31 #include <linux/miscdevice.h>
33 #include <linux/proc_fs.h>
34 #include <linux/compat.h>
35 #include <asm/atomic.h>
36 #include <asm/uaccess.h>
39 #include "zcrypt_api.h"
40 #include "zcrypt_pcica.h"
41 #include "zcrypt_pcicc.h"
42 #include "zcrypt_pcixcc.h"
43 #include "zcrypt_cex2a.h"
46 * The module initialization code.
48 int __init
zcrypt_init(void)
52 rc
= ap_module_init();
55 rc
= zcrypt_api_init();
58 rc
= zcrypt_pcica_init();
61 rc
= zcrypt_pcicc_init();
64 rc
= zcrypt_pcixcc_init();
67 rc
= zcrypt_cex2a_init();
87 * The module termination code.
89 void __exit
zcrypt_exit(void)
99 module_init(zcrypt_init
);
100 module_exit(zcrypt_exit
);