summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-06-20 22:13:57 -0500
committerLuiz Souza <luiz@netgate.com>2017-06-20 22:13:57 -0500
commit980af0153f10066c31d436b632bec11e3b9ee3f7 (patch)
tree45662ac4c8a4f21a870a2707355659cf9d1c1766 /src
parent91614f03e40397926a620691f983561420a3ad81 (diff)
downloadpfsense-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.php5
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 */
OpenPOWER on IntegriCloud