diff options
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 | ||||
-rw-r--r-- | etc/inc/system.inc | 7 |
2 files changed, 11 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..093acaf 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,10 +2063,16 @@ 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')); break; + case 'SYS-5018D-FN4T': + return (array('name' => 'D1540-XG', 'descr' => 'Super Micro D1540-XG')); + break; } /* the rest of the code only deals with 'embedded' platforms */ |