s390/zcrypt: Correct function bits for CEX2x and CEX3x cards.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Thu, 27 Oct 2016 06:57:39 +0000 (08:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:39 +0000 (16:33 +0100)
commit148784246ef2d85f000713cf56e1c90b405228e8
treee90dba07f8ee0ec52d4da9b62f3476a1e544e913
parente47de21dd35bad6d1e71482a66699cd04e83ea40
s390/zcrypt: Correct function bits for CEX2x and CEX3x cards.

For the older CEX2x and CEX3x cards the function bits returned
by TAPQ do not reflect the functions of the card. Instead the
functionality is implicit by the type of the card. The reworked
zcrypt requires to have the function bits set correct, so this
patch fixes this. The queue selection is not only based on these
function bits but also on function pointers set by the individual
drivers.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/zcrypt_api.c