aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2009-06-02 07:28:01 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-03 05:46:31 -0400
commit6e50912a442947d5fafd296ca6fdcbeb36b163ff (patch)
treee6c32938bfba6442d5f4c9c1c8adfb91c2e9b29e /drivers/net/e1000e
parentb2f8f7525c8aa1fdd8ad8c72c832dfb571d5f768 (diff)
e1000e: enable CRC stripping by default
CRC stripping should be enabled by default but was not if it was not specified as a module parameter. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/param.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/param.c b/drivers/net/e1000e/param.c
index e909f96698e8..1342e0b1815c 100644
--- a/drivers/net/e1000e/param.c
+++ b/drivers/net/e1000e/param.c
@@ -427,6 +427,8 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
427 e1000_validate_option(&crc_stripping, &opt, adapter); 427 e1000_validate_option(&crc_stripping, &opt, adapter);
428 if (crc_stripping == OPTION_ENABLED) 428 if (crc_stripping == OPTION_ENABLED)
429 adapter->flags2 |= FLAG2_CRC_STRIPPING; 429 adapter->flags2 |= FLAG2_CRC_STRIPPING;
430 } else {
431 adapter->flags2 |= FLAG2_CRC_STRIPPING;
430 } 432 }
431 } 433 }
432 { /* Kumeran Lock Loss Workaround */ 434 { /* Kumeran Lock Loss Workaround */