From 63aa3307cbf61aef138580b758979c2e2bf5713d Mon Sep 17 00:00:00 2001 From: raj Date: Thu, 24 May 2012 21:24:23 +0000 Subject: Recognize version 3.1 of the SEC crypto engine. --- sys/dev/sec/sec.c | 4 ++++ sys/dev/sec/sec.h | 1 + 2 files changed, 5 insertions(+) diff --git a/sys/dev/sec/sec.c b/sys/dev/sec/sec.c index 3b8c103..1f684d0 100644 --- a/sys/dev/sec/sec.c +++ b/sys/dev/sec/sec.c @@ -227,6 +227,10 @@ sec_probe(device_t dev) device_set_desc(dev, "Freescale Security Engine 3.0"); sc->sc_version = 3; break; + case SEC_31_ID: + device_set_desc(dev, "Freescale Security Engine 3.1"); + sc->sc_version = 3; + break; default: device_printf(dev, "unknown SEC ID 0x%016llx!\n", id); return (ENXIO); diff --git a/sys/dev/sec/sec.h b/sys/dev/sec/sec.h index 3a40d92..fecfd86 100644 --- a/sys/dev/sec/sec.h +++ b/sys/dev/sec/sec.h @@ -46,6 +46,7 @@ /* SEC information */ #define SEC_20_ID 0x0000000000000040ULL #define SEC_30_ID 0x0030030000000000ULL +#define SEC_31_ID 0x0030030100000000ULL #define SEC_CHANNELS 4 #define SEC_POINTERS 7 #define SEC_MAX_DMA_BLOCK_SIZE 0xFFFF -- cgit v1.1