summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-06-23 15:35:09 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-06-23 15:35:09 -0300
commit91bbf1209a10b20af1b8059a8134cca2cc27831d (patch)
treeaa275db8149a881d052bf00559353d59ab384fa2
parent2f898d6a1c75680de33121467cea0b09e4bdab4f (diff)
downloadpfsense-91bbf1209a10b20af1b8059a8134cca2cc27831d.zip
pfsense-91bbf1209a10b20af1b8059a8134cca2cc27831d.tar.gz
Introduce Netgate RCC-DFF to the list of known platforms
-rw-r--r--etc/inc/pfsense-utils.inc6
-rw-r--r--etc/inc/system.inc4
2 files changed, 8 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 544a4cb..19edcf2 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -966,7 +966,8 @@ function setup_serial_port($when="save", $path="") {
$serial_only = true;
} else {
$specific_platform = system_identify_specific_platform();
- if ($specific_platform['name'] == 'RCC-VE') {
+ if ($specific_platform['name'] == 'RCC-VE' ||
+ $specific_platform['name'] == 'RCC-DFF') {
$serial_only = true;
}
}
@@ -1027,7 +1028,8 @@ function setup_serial_port($when="save", $path="") {
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"';
$specplatform = system_identify_specific_platform();
- if ($specplatform['name'] == "RCC-VE") {
+ if ($specplatform['name'] == 'RCC-VE' ||
+ $specplatform['name'] == 'RCC-DFF') {
$new_boot_config[] = 'comconsole_port="0x2F8"';
$new_boot_config[] = 'hint.uart.0.flags="0x00"';
$new_boot_config[] = 'hint.uart.1.flags="0x10"';
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index d012276..28491b3 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -2007,6 +2007,7 @@ function system_check_reset_button() {
case 'FW7541':
case 'APU':
case 'RCC-VE':
+ case 'RCC-DFF':
break;
default:
return 0;
@@ -2062,6 +2063,9 @@ function system_identify_specific_platform() {
case 'RCC-VE':
return (array('name' => 'RCC-VE', 'descr' => 'Netgate RCC-VE'));
break;
+ case 'DFFv2':
+ return (array('name' => 'RCC-DFF', 'descr' => 'Netgate RCC-DFF'));
+ break;
case 'SYS-5018A-FTN4':
case 'A1SAi':
return (array('name' => 'C2758', 'descr' => 'Super Micro C2758'));
OpenPOWER on IntegriCloud