diff options
Diffstat (limited to 'drivers/net/e1000/e1000_param.c')
-rw-r--r-- | drivers/net/e1000/e1000_param.c | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/drivers/net/e1000/e1000_param.c b/drivers/net/e1000/e1000_param.c index 212842738972..9c3c1acefccc 100644 --- a/drivers/net/e1000/e1000_param.c +++ b/drivers/net/e1000/e1000_param.c | |||
@@ -1,25 +1,24 @@ | |||
1 | /******************************************************************************* | 1 | /******************************************************************************* |
2 | 2 | ||
3 | 3 | Intel PRO/1000 Linux driver | |
4 | Copyright(c) 1999 - 2006 Intel Corporation. All rights reserved. | 4 | Copyright(c) 1999 - 2006 Intel Corporation. |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
7 | under the terms of the GNU General Public License as published by the Free | 7 | under the terms and conditions of the GNU General Public License, |
8 | Software Foundation; either version 2 of the License, or (at your option) | 8 | version 2, as published by the Free Software Foundation. |
9 | any later version. | 9 | |
10 | 10 | This program is distributed in the hope it will be useful, but WITHOUT | |
11 | This program is distributed in the hope that it will be useful, but WITHOUT | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
12 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | more details. | 13 | more details. |
15 | 14 | ||
16 | You should have received a copy of the GNU General Public License along with | 15 | You should have received a copy of the GNU General Public License along with |
17 | this program; if not, write to the Free Software Foundation, Inc., 59 | 16 | this program; if not, write to the Free Software Foundation, Inc., |
18 | Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
19 | 18 | ||
20 | The full GNU General Public License is included in this distribution in the | 19 | The full GNU General Public License is included in this distribution in |
21 | file called LICENSE. | 20 | the file called "COPYING". |
22 | 21 | ||
23 | Contact Information: | 22 | Contact Information: |
24 | Linux NICS <linux.nics@intel.com> | 23 | Linux NICS <linux.nics@intel.com> |
25 | e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> | 24 | e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
@@ -397,17 +396,17 @@ e1000_check_options(struct e1000_adapter *adapter) | |||
397 | { /* Flow Control */ | 396 | { /* Flow Control */ |
398 | 397 | ||
399 | struct e1000_opt_list fc_list[] = | 398 | struct e1000_opt_list fc_list[] = |
400 | {{ e1000_fc_none, "Flow Control Disabled" }, | 399 | {{ E1000_FC_NONE, "Flow Control Disabled" }, |
401 | { e1000_fc_rx_pause,"Flow Control Receive Only" }, | 400 | { E1000_FC_RX_PAUSE,"Flow Control Receive Only" }, |
402 | { e1000_fc_tx_pause,"Flow Control Transmit Only" }, | 401 | { E1000_FC_TX_PAUSE,"Flow Control Transmit Only" }, |
403 | { e1000_fc_full, "Flow Control Enabled" }, | 402 | { E1000_FC_FULL, "Flow Control Enabled" }, |
404 | { e1000_fc_default, "Flow Control Hardware Default" }}; | 403 | { E1000_FC_DEFAULT, "Flow Control Hardware Default" }}; |
405 | 404 | ||
406 | struct e1000_option opt = { | 405 | struct e1000_option opt = { |
407 | .type = list_option, | 406 | .type = list_option, |
408 | .name = "Flow Control", | 407 | .name = "Flow Control", |
409 | .err = "reading default settings from EEPROM", | 408 | .err = "reading default settings from EEPROM", |
410 | .def = e1000_fc_default, | 409 | .def = E1000_FC_DEFAULT, |
411 | .arg = { .l = { .nr = ARRAY_SIZE(fc_list), | 410 | .arg = { .l = { .nr = ARRAY_SIZE(fc_list), |
412 | .p = fc_list }} | 411 | .p = fc_list }} |
413 | }; | 412 | }; |