Identify AES-capable chips (7955, 7956) in the driver attach message.

This commit is contained in:
jonathan 2004-04-29 01:46:06 +00:00
parent 7497e851b4
commit 8457f71310

View File

@ -1,4 +1,4 @@
/* $NetBSD: hifn7751.c,v 1.20 2003/11/16 00:22:09 jonathan Exp $ */
/* $NetBSD: hifn7751.c,v 1.21 2004/04/29 01:46:06 jonathan Exp $ */
/* $FreeBSD: hifn7751.c,v 1.5.2.7 2003/10/08 23:52:00 sam Exp $ */
/* $OpenBSD: hifn7751.c,v 1.140 2003/08/01 17:55:54 deraadt Exp $ */
@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.20 2003/11/16 00:22:09 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.21 2004/04/29 01:46:06 jonathan Exp $");
#include "rnd.h"
#include "opencrypto.h"
@ -847,7 +847,10 @@ report:
return ("DES");
case HIFN_PUSTAT_ENA_2:
return ("3DES");
if (sc->sc_flags & HIFN_HAS_AES)
return ("3DES/AES");
else
return ("3DES");
default:
return ("disabled");