aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_param.c')
-rw-r--r--drivers/net/e1000/e1000_param.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/e1000/e1000_param.c b/drivers/net/e1000/e1000_param.c
index 85eb6bcc3249..9c3c1acefccc 100644
--- a/drivers/net/e1000/e1000_param.c
+++ b/drivers/net/e1000/e1000_param.c
@@ -396,17 +396,17 @@ e1000_check_options(struct e1000_adapter *adapter)
396 { /* Flow Control */ 396 { /* Flow Control */
397 397
398 struct e1000_opt_list fc_list[] = 398 struct e1000_opt_list fc_list[] =
399 {{ e1000_fc_none, "Flow Control Disabled" }, 399 {{ E1000_FC_NONE, "Flow Control Disabled" },
400 { e1000_fc_rx_pause,"Flow Control Receive Only" }, 400 { E1000_FC_RX_PAUSE,"Flow Control Receive Only" },
401 { e1000_fc_tx_pause,"Flow Control Transmit Only" }, 401 { E1000_FC_TX_PAUSE,"Flow Control Transmit Only" },
402 { e1000_fc_full, "Flow Control Enabled" }, 402 { E1000_FC_FULL, "Flow Control Enabled" },
403 { e1000_fc_default, "Flow Control Hardware Default" }}; 403 { E1000_FC_DEFAULT, "Flow Control Hardware Default" }};
404 404
405 struct e1000_option opt = { 405 struct e1000_option opt = {
406 .type = list_option, 406 .type = list_option,
407 .name = "Flow Control", 407 .name = "Flow Control",
408 .err = "reading default settings from EEPROM", 408 .err = "reading default settings from EEPROM",
409 .def = e1000_fc_default, 409 .def = E1000_FC_DEFAULT,
410 .arg = { .l = { .nr = ARRAY_SIZE(fc_list), 410 .arg = { .l = { .nr = ARRAY_SIZE(fc_list),
411 .p = fc_list }} 411 .p = fc_list }}
412 }; 412 };