diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2008-03-28 12:15:03 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-28 22:14:56 -0400 |
commit | ad68076e07fa01bd0c98278a959d0fd2bb26f1ac (patch) | |
tree | f0b664ecdb38478f9b995aff10dcb39a09221fb6 /drivers/net/e1000e/param.c | |
parent | 652f093fdf14c7ca1e13c052da429ae385e4dc21 (diff) |
e1000e: reformat comment blocks, cosmetic changes only
Adjusting the comment blocks here to be code-style compliant. no
code changes.
Changed some copyright dates to 2008.
Indentation fixes.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e1000e/param.c')
-rw-r--r-- | drivers/net/e1000e/param.c | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/drivers/net/e1000e/param.c b/drivers/net/e1000e/param.c index df266c32ac4b..a66b92efcf80 100644 --- a/drivers/net/e1000e/param.c +++ b/drivers/net/e1000e/param.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /******************************************************************************* | 1 | /******************************************************************************* |
2 | 2 | ||
3 | Intel PRO/1000 Linux driver | 3 | Intel PRO/1000 Linux driver |
4 | Copyright(c) 1999 - 2007 Intel Corporation. | 4 | Copyright(c) 1999 - 2008 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 and conditions of the GNU General Public License, | 7 | under the terms and conditions of the GNU General Public License, |
@@ -30,7 +30,8 @@ | |||
30 | 30 | ||
31 | #include "e1000.h" | 31 | #include "e1000.h" |
32 | 32 | ||
33 | /* This is the only thing that needs to be changed to adjust the | 33 | /* |
34 | * This is the only thing that needs to be changed to adjust the | ||
34 | * maximum number of ports that the driver can manage. | 35 | * maximum number of ports that the driver can manage. |
35 | */ | 36 | */ |
36 | 37 | ||
@@ -46,7 +47,8 @@ module_param(copybreak, uint, 0644); | |||
46 | MODULE_PARM_DESC(copybreak, | 47 | MODULE_PARM_DESC(copybreak, |
47 | "Maximum size of packet that is copied to a new buffer on receive"); | 48 | "Maximum size of packet that is copied to a new buffer on receive"); |
48 | 49 | ||
49 | /* All parameters are treated the same, as an integer array of values. | 50 | /* |
51 | * All parameters are treated the same, as an integer array of values. | ||
50 | * This macro just reduces the need to repeat the same declaration code | 52 | * This macro just reduces the need to repeat the same declaration code |
51 | * over and over (plus this helps to avoid typo bugs). | 53 | * over and over (plus this helps to avoid typo bugs). |
52 | */ | 54 | */ |
@@ -60,8 +62,9 @@ MODULE_PARM_DESC(copybreak, | |||
60 | MODULE_PARM_DESC(X, desc); | 62 | MODULE_PARM_DESC(X, desc); |
61 | 63 | ||
62 | 64 | ||
63 | /* Transmit Interrupt Delay in units of 1.024 microseconds | 65 | /* |
64 | * Tx interrupt delay needs to typically be set to something non zero | 66 | * Transmit Interrupt Delay in units of 1.024 microseconds |
67 | * Tx interrupt delay needs to typically be set to something non zero | ||
65 | * | 68 | * |
66 | * Valid Range: 0-65535 | 69 | * Valid Range: 0-65535 |
67 | */ | 70 | */ |
@@ -70,7 +73,8 @@ E1000_PARAM(TxIntDelay, "Transmit Interrupt Delay"); | |||
70 | #define MAX_TXDELAY 0xFFFF | 73 | #define MAX_TXDELAY 0xFFFF |
71 | #define MIN_TXDELAY 0 | 74 | #define MIN_TXDELAY 0 |
72 | 75 | ||
73 | /* Transmit Absolute Interrupt Delay in units of 1.024 microseconds | 76 | /* |
77 | * Transmit Absolute Interrupt Delay in units of 1.024 microseconds | ||
74 | * | 78 | * |
75 | * Valid Range: 0-65535 | 79 | * Valid Range: 0-65535 |
76 | */ | 80 | */ |
@@ -79,8 +83,9 @@ E1000_PARAM(TxAbsIntDelay, "Transmit Absolute Interrupt Delay"); | |||
79 | #define MAX_TXABSDELAY 0xFFFF | 83 | #define MAX_TXABSDELAY 0xFFFF |
80 | #define MIN_TXABSDELAY 0 | 84 | #define MIN_TXABSDELAY 0 |
81 | 85 | ||
82 | /* Receive Interrupt Delay in units of 1.024 microseconds | 86 | /* |
83 | * hardware will likely hang if you set this to anything but zero. | 87 | * Receive Interrupt Delay in units of 1.024 microseconds |
88 | * hardware will likely hang if you set this to anything but zero. | ||
84 | * | 89 | * |
85 | * Valid Range: 0-65535 | 90 | * Valid Range: 0-65535 |
86 | */ | 91 | */ |
@@ -89,7 +94,8 @@ E1000_PARAM(RxIntDelay, "Receive Interrupt Delay"); | |||
89 | #define MAX_RXDELAY 0xFFFF | 94 | #define MAX_RXDELAY 0xFFFF |
90 | #define MIN_RXDELAY 0 | 95 | #define MIN_RXDELAY 0 |
91 | 96 | ||
92 | /* Receive Absolute Interrupt Delay in units of 1.024 microseconds | 97 | /* |
98 | * Receive Absolute Interrupt Delay in units of 1.024 microseconds | ||
93 | * | 99 | * |
94 | * Valid Range: 0-65535 | 100 | * Valid Range: 0-65535 |
95 | */ | 101 | */ |
@@ -98,7 +104,8 @@ E1000_PARAM(RxAbsIntDelay, "Receive Absolute Interrupt Delay"); | |||
98 | #define MAX_RXABSDELAY 0xFFFF | 104 | #define MAX_RXABSDELAY 0xFFFF |
99 | #define MIN_RXABSDELAY 0 | 105 | #define MIN_RXABSDELAY 0 |
100 | 106 | ||
101 | /* Interrupt Throttle Rate (interrupts/sec) | 107 | /* |
108 | * Interrupt Throttle Rate (interrupts/sec) | ||
102 | * | 109 | * |
103 | * Valid Range: 100-100000 (0=off, 1=dynamic, 3=dynamic conservative) | 110 | * Valid Range: 100-100000 (0=off, 1=dynamic, 3=dynamic conservative) |
104 | */ | 111 | */ |
@@ -107,7 +114,8 @@ E1000_PARAM(InterruptThrottleRate, "Interrupt Throttling Rate"); | |||
107 | #define MAX_ITR 100000 | 114 | #define MAX_ITR 100000 |
108 | #define MIN_ITR 100 | 115 | #define MIN_ITR 100 |
109 | 116 | ||
110 | /* Enable Smart Power Down of the PHY | 117 | /* |
118 | * Enable Smart Power Down of the PHY | ||
111 | * | 119 | * |
112 | * Valid Range: 0, 1 | 120 | * Valid Range: 0, 1 |
113 | * | 121 | * |
@@ -115,7 +123,8 @@ E1000_PARAM(InterruptThrottleRate, "Interrupt Throttling Rate"); | |||
115 | */ | 123 | */ |
116 | E1000_PARAM(SmartPowerDownEnable, "Enable PHY smart power down"); | 124 | E1000_PARAM(SmartPowerDownEnable, "Enable PHY smart power down"); |
117 | 125 | ||
118 | /* Enable Kumeran Lock Loss workaround | 126 | /* |
127 | * Enable Kumeran Lock Loss workaround | ||
119 | * | 128 | * |
120 | * Valid Range: 0, 1 | 129 | * Valid Range: 0, 1 |
121 | * | 130 | * |