mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
With recent changes in the zcrypt device driver, the serial number of a crypto card can be obtained by reading the sysfs attribute 'serialnr' of a crypto card device of type CCA-Coprocessor. The sysfs attribute can be found under '/sys/devices/ap/cardnn/', where nn specifies the card number in hex. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>