armv8crypto: print a message on probe failure
Similar to the message printed by aesni(4), let the user know if the driver is unsupported by their CPU. PR: 252543 Reported by: gbe MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
95ae95d413
commit
a520f5ca58
@ -112,6 +112,9 @@ armv8_crypto_probe(device_t dev)
|
||||
case ID_AA64ISAR0_AES_PMULL:
|
||||
ret = 0;
|
||||
break;
|
||||
case ID_AA64ISAR0_AES_NONE:
|
||||
device_printf(dev, "CPU lacks AES instructions");
|
||||
break;
|
||||
}
|
||||
|
||||
device_set_desc_copy(dev, "AES-CBC,AES-XTS");
|
||||
|
Loading…
Reference in New Issue
Block a user