summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-29 17:30:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-29 17:30:08 +0000
commitd22669effb49b516c6f50d9eac879a4d00981674 (patch)
tree45bffff0e5329569216baa6a2409eddae4636e1b
parent66766f85d1d40e8f6acab9837db4641a101dc546 (diff)
downloadpfsense-d22669effb49b516c6f50d9eac879a4d00981674.zip
pfsense-d22669effb49b516c6f50d9eac879a4d00981674.tar.gz
Add <system><do_not_use_nic_microcode/> tag which will prevent the system from trying to bring up the nics with microcode support.
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index ead548b..3f9c40a 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -120,7 +120,9 @@ function return_dir_as_array($dir) {
* This function only supports the fxp driver's loadable microcode.
******/
function enable_hardware_offloading($interface) {
- global $g;
+ global $g, $config;
+ if(isset($config['system']['do_not_use_nic_microcode'))
+ return;
if($g['booting']) {
/* translate wan, lan, opt -> real interface if needed */
$int = filter_translate_type_to_real_interface($interface);
OpenPOWER on IntegriCloud