[S390] zcrypt: Add additional card IDs to CEX2C and CEX2A
Add support for new micro code load of CEX2C and CEX2A adapters, which uses different IDs. This patch just adds the IDs to the existing drivers. Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
a0443fbb46
commit
d8c33d32a4
4 changed files with 5 additions and 1 deletions
|
@ -92,6 +92,8 @@ struct ap_queue_status {
|
||||||
#define AP_DEVICE_TYPE_PCIXCC 5
|
#define AP_DEVICE_TYPE_PCIXCC 5
|
||||||
#define AP_DEVICE_TYPE_CEX2A 6
|
#define AP_DEVICE_TYPE_CEX2A 6
|
||||||
#define AP_DEVICE_TYPE_CEX2C 7
|
#define AP_DEVICE_TYPE_CEX2C 7
|
||||||
|
#define AP_DEVICE_TYPE_CEX2A2 8
|
||||||
|
#define AP_DEVICE_TYPE_CEX2C2 9
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AP reset flag states
|
* AP reset flag states
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
|
|
||||||
static struct ap_device_id zcrypt_cex2a_ids[] = {
|
static struct ap_device_id zcrypt_cex2a_ids[] = {
|
||||||
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2A) },
|
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2A) },
|
||||||
|
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2A2) },
|
||||||
{ /* end of list */ },
|
{ /* end of list */ },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ struct response_type {
|
||||||
static struct ap_device_id zcrypt_pcixcc_ids[] = {
|
static struct ap_device_id zcrypt_pcixcc_ids[] = {
|
||||||
{ AP_DEVICE(AP_DEVICE_TYPE_PCIXCC) },
|
{ AP_DEVICE(AP_DEVICE_TYPE_PCIXCC) },
|
||||||
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2C) },
|
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2C) },
|
||||||
|
{ AP_DEVICE(AP_DEVICE_TYPE_CEX2C2) },
|
||||||
{ /* end of list */ },
|
{ /* end of list */ },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#define ZCRYPT_VERSION 2
|
#define ZCRYPT_VERSION 2
|
||||||
#define ZCRYPT_RELEASE 1
|
#define ZCRYPT_RELEASE 1
|
||||||
#define ZCRYPT_VARIANT 0
|
#define ZCRYPT_VARIANT 1
|
||||||
|
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
#include <linux/compiler.h>
|
#include <linux/compiler.h>
|
||||||
|
|
Loading…
Reference in a new issue