diff options
author | Luiz Souza <luiz@netgate.com> | 2017-06-20 22:13:57 -0500 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-06-20 22:13:57 -0500 |
commit | 980af0153f10066c31d436b632bec11e3b9ee3f7 (patch) | |
tree | 45662ac4c8a4f21a870a2707355659cf9d1c1766 /src | |
parent | 91614f03e40397926a620691f983561420a3ad81 (diff) | |
download | pfsense-980af0153f10066c31d436b632bec11e3b9ee3f7.zip pfsense-980af0153f10066c31d436b632bec11e3b9ee3f7.tar.gz |
Add support to CESA crypto accelerator in pfSense GUI.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/includes/functions.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/local/www/includes/functions.inc.php b/src/usr/local/www/includes/functions.inc.php index 5e3c442..43723a3 100644 --- a/src/usr/local/www/includes/functions.inc.php +++ b/src/usr/local/www/includes/functions.inc.php @@ -259,6 +259,11 @@ function get_cpu_crypto_support() { if (in_array($armplatform, $accelerated_arm_platforms)) { /* No drivers yet, so mark inactive! */ $cpucrypto_type = "{$armplatform} built-in CPU Crypto (inactive)"; + break; + } + $armmv = get_single_sysctl('hw.mv_soc_model'); + if (strpos($armmv, "Marvell 88F682") != 0) { + $cpucrypto_type = "Crypto: ". get_single_sysctl('dev.cesa.0.%desc'); } default: /* Unknown/unidentified platform */ |