diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-06-23 15:35:09 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-06-23 15:36:41 -0300 |
commit | ba8c6e376f838421476303f6b969b5a4aeb26aa3 (patch) | |
tree | c09f4f367f434fc2e695ef7848574ca35b509bd4 /etc | |
parent | 96072f52f65ca01e30d952f620e081f9e88cd81d (diff) | |
download | pfsense-ba8c6e376f838421476303f6b969b5a4aeb26aa3.zip pfsense-ba8c6e376f838421476303f6b969b5a4aeb26aa3.tar.gz |
Introduce Netgate RCC-DFF to the list of known platforms
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 | ||||
-rw-r--r-- | etc/inc/system.inc | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index a4ef718..b3215a5 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1002,7 +1002,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; } } @@ -1068,7 +1069,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 7909451..813e08b 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -2155,6 +2155,7 @@ function system_check_reset_button() { case 'FW7541': case 'APU': case 'RCC-VE': + case 'RCC-DFF': break; default: return 0; @@ -2212,6 +2213,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')); |