diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2012-11-28 04:28:37 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-12-01 06:37:22 -0500 |
commit | e921eb1ac411a32b98fa1a9ccbba1b24fae8de2d (patch) | |
tree | 9a3e5a63a4fec7eef24fd3e4929cf2b97ed1a9ed /drivers/net/ethernet/intel/e1000e/manage.c | |
parent | daf56e406a94675d454f996cab56c3d0b0a0d8a6 (diff) |
e1000e: cosmetic cleanup of comments
Update comments to conform to the preferred style for networking code as
described in ./Documentation/CodingStyle and checked for in the recently
added checkpatch NETWORKING_BLOCK_COMMENT_STYLE test.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/manage.c')
-rw-r--r-- | drivers/net/ethernet/intel/e1000e/manage.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/manage.c b/drivers/net/ethernet/intel/e1000e/manage.c index bacc950fc684..6dc47beb3adc 100644 --- a/drivers/net/ethernet/intel/e1000e/manage.c +++ b/drivers/net/ethernet/intel/e1000e/manage.c | |||
@@ -143,8 +143,7 @@ bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) | |||
143 | return hw->mac.tx_pkt_filtering; | 143 | return hw->mac.tx_pkt_filtering; |
144 | } | 144 | } |
145 | 145 | ||
146 | /* | 146 | /* If we can't read from the host interface for whatever |
147 | * If we can't read from the host interface for whatever | ||
148 | * reason, disable filtering. | 147 | * reason, disable filtering. |
149 | */ | 148 | */ |
150 | ret_val = e1000_mng_enable_host_if(hw); | 149 | ret_val = e1000_mng_enable_host_if(hw); |
@@ -163,8 +162,7 @@ bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) | |||
163 | hdr->checksum = 0; | 162 | hdr->checksum = 0; |
164 | csum = e1000_calculate_checksum((u8 *)hdr, | 163 | csum = e1000_calculate_checksum((u8 *)hdr, |
165 | E1000_MNG_DHCP_COOKIE_LENGTH); | 164 | E1000_MNG_DHCP_COOKIE_LENGTH); |
166 | /* | 165 | /* If either the checksums or signature don't match, then |
167 | * If either the checksums or signature don't match, then | ||
168 | * the cookie area isn't considered valid, in which case we | 166 | * the cookie area isn't considered valid, in which case we |
169 | * take the safe route of assuming Tx filtering is enabled. | 167 | * take the safe route of assuming Tx filtering is enabled. |
170 | */ | 168 | */ |
@@ -252,8 +250,7 @@ static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, | |||
252 | /* Calculate length in DWORDs */ | 250 | /* Calculate length in DWORDs */ |
253 | length >>= 2; | 251 | length >>= 2; |
254 | 252 | ||
255 | /* | 253 | /* The device driver writes the relevant command block into the |
256 | * The device driver writes the relevant command block into the | ||
257 | * ram area. | 254 | * ram area. |
258 | */ | 255 | */ |
259 | for (i = 0; i < length; i++) { | 256 | for (i = 0; i < length; i++) { |