s390 (10/12): crypto device driver part 1.
Subsystems (2)
PATCH 1/1 s390 (10/12): crypto device driver part 1.
The crypto device driver for PCICA & PCICC cards, part 1.
diffstat:
arch/s390/defconfig | 5 drivers/s390/Kconfig | 13 drivers/s390/Makefile | 3 drivers/s390/crypto/Makefile | 6 drivers/s390/crypto/z90common.h | 129 ++ drivers/s390/crypto/z90crypt.h | 231 ++++ drivers/s390/crypto/z90hardware.c | 2184 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 2570 insertions(+), 1 deletion(-)
arch/s390/defconfig +5 -0
@@ -196,6 +196,11 @@ CONFIG_S390_TAPE_34XX=m # +# Cryptographic devices +# +CONFIG_Z90CRYPT=m + +# # Networking support # CONFIG_NET=y
drivers/s390/Kconfig +13 -0
@@ -164,3 +164,16 @@ It is safe to say "Y" here. endmenu + +menu "Cryptographic devices" + +config Z90CRYPT + tristate "Support for PCI-attached cryptographic adapters" + default "m" + help + Select this option if you want to use a PCI-attached cryptographic + adapter like the PCI Cryptographic Accelerator (PCICA) or the PCI + Cryptographic Coprocessor (PCICC). This option is also available + as a module called z90crypt.ko. + +endmenu
drivers/s390/Makefile +2 -1
@@ -3,6 +3,7 @@ # obj-y += s390mach.o sysinfo.o -obj-y += cio/ block/ char/ net/ scsi/ +obj-y += cio/ block/ char/ crypto/ net/ scsi/ drivers-y += drivers/s390/built-in.o +
drivers/s390/crypto/Makefile +6 -0
@@ -0,0 +1,6 @@ +# +# S/390 miscellaneous devices +# + +z90crypt-objs := z90main.o z90hardware.o +obj-$(CONFIG_Z90CRYPT) += z90crypt.o
drivers/s390/crypto/z90common.h +129 -0
129 lines not on this page · raw message
drivers/s390/crypto/z90crypt.h +231 -0
231 lines not on this page · raw message
drivers/s390/crypto/z90hardware.c +2184 -0
2,184 lines not on this page · raw message