diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-11-20 18:26:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-21 14:34:13 -0500 |
commit | fe4016746d2c0b3b690f5d1921c826d14008b118 (patch) | |
tree | b4d89eb1a532f477e372356f8b792a25d1f4a22b /drivers/net/e1000e | |
parent | c7e54b1bf90480ca4bdfd1491ac6c4b7bfe07c03 (diff) |
e1000e: remove comments regarding a non-existent api module
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/82571.c | 9 | ||||
-rw-r--r-- | drivers/net/e1000e/es2lan.c | 30 |
2 files changed, 8 insertions, 31 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index a984bc33fd0c..7cdf1768afac 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -72,8 +72,6 @@ static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw); | |||
72 | /** | 72 | /** |
73 | * e1000_init_phy_params_82571 - Init PHY func ptrs. | 73 | * e1000_init_phy_params_82571 - Init PHY func ptrs. |
74 | * @hw: pointer to the HW structure | 74 | * @hw: pointer to the HW structure |
75 | * | ||
76 | * This is a function pointer entry point called by the api module. | ||
77 | **/ | 75 | **/ |
78 | static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) | 76 | static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) |
79 | { | 77 | { |
@@ -136,8 +134,6 @@ static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) | |||
136 | /** | 134 | /** |
137 | * e1000_init_nvm_params_82571 - Init NVM func ptrs. | 135 | * e1000_init_nvm_params_82571 - Init NVM func ptrs. |
138 | * @hw: pointer to the HW structure | 136 | * @hw: pointer to the HW structure |
139 | * | ||
140 | * This is a function pointer entry point called by the api module. | ||
141 | **/ | 137 | **/ |
142 | static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) | 138 | static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) |
143 | { | 139 | { |
@@ -201,8 +197,6 @@ static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) | |||
201 | /** | 197 | /** |
202 | * e1000_init_mac_params_82571 - Init MAC func ptrs. | 198 | * e1000_init_mac_params_82571 - Init MAC func ptrs. |
203 | * @hw: pointer to the HW structure | 199 | * @hw: pointer to the HW structure |
204 | * | ||
205 | * This is a function pointer entry point called by the api module. | ||
206 | **/ | 200 | **/ |
207 | static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter) | 201 | static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter) |
208 | { | 202 | { |
@@ -830,8 +824,7 @@ static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) | |||
830 | * e1000_reset_hw_82571 - Reset hardware | 824 | * e1000_reset_hw_82571 - Reset hardware |
831 | * @hw: pointer to the HW structure | 825 | * @hw: pointer to the HW structure |
832 | * | 826 | * |
833 | * This resets the hardware into a known state. This is a | 827 | * This resets the hardware into a known state. |
834 | * function pointer entry point called by the api module. | ||
835 | **/ | 828 | **/ |
836 | static s32 e1000_reset_hw_82571(struct e1000_hw *hw) | 829 | static s32 e1000_reset_hw_82571(struct e1000_hw *hw) |
837 | { | 830 | { |
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c index 103dc64742c1..2d1415610d77 100644 --- a/drivers/net/e1000e/es2lan.c +++ b/drivers/net/e1000e/es2lan.c | |||
@@ -116,8 +116,6 @@ static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, | |||
116 | /** | 116 | /** |
117 | * e1000_init_phy_params_80003es2lan - Init ESB2 PHY func ptrs. | 117 | * e1000_init_phy_params_80003es2lan - Init ESB2 PHY func ptrs. |
118 | * @hw: pointer to the HW structure | 118 | * @hw: pointer to the HW structure |
119 | * | ||
120 | * This is a function pointer entry point called by the api module. | ||
121 | **/ | 119 | **/ |
122 | static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) | 120 | static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) |
123 | { | 121 | { |
@@ -147,8 +145,6 @@ static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) | |||
147 | /** | 145 | /** |
148 | * e1000_init_nvm_params_80003es2lan - Init ESB2 NVM func ptrs. | 146 | * e1000_init_nvm_params_80003es2lan - Init ESB2 NVM func ptrs. |
149 | * @hw: pointer to the HW structure | 147 | * @hw: pointer to the HW structure |
150 | * | ||
151 | * This is a function pointer entry point called by the api module. | ||
152 | **/ | 148 | **/ |
153 | static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) | 149 | static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) |
154 | { | 150 | { |
@@ -195,8 +191,6 @@ static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) | |||
195 | /** | 191 | /** |
196 | * e1000_init_mac_params_80003es2lan - Init ESB2 MAC func ptrs. | 192 | * e1000_init_mac_params_80003es2lan - Init ESB2 MAC func ptrs. |
197 | * @hw: pointer to the HW structure | 193 | * @hw: pointer to the HW structure |
198 | * | ||
199 | * This is a function pointer entry point called by the api module. | ||
200 | **/ | 194 | **/ |
201 | static s32 e1000_init_mac_params_80003es2lan(struct e1000_adapter *adapter) | 195 | static s32 e1000_init_mac_params_80003es2lan(struct e1000_adapter *adapter) |
202 | { | 196 | { |
@@ -267,8 +261,7 @@ static s32 e1000_get_variants_80003es2lan(struct e1000_adapter *adapter) | |||
267 | * e1000_acquire_phy_80003es2lan - Acquire rights to access PHY | 261 | * e1000_acquire_phy_80003es2lan - Acquire rights to access PHY |
268 | * @hw: pointer to the HW structure | 262 | * @hw: pointer to the HW structure |
269 | * | 263 | * |
270 | * A wrapper to acquire access rights to the correct PHY. This is a | 264 | * A wrapper to acquire access rights to the correct PHY. |
271 | * function pointer entry point called by the api module. | ||
272 | **/ | 265 | **/ |
273 | static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) | 266 | static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) |
274 | { | 267 | { |
@@ -282,8 +275,7 @@ static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) | |||
282 | * e1000_release_phy_80003es2lan - Release rights to access PHY | 275 | * e1000_release_phy_80003es2lan - Release rights to access PHY |
283 | * @hw: pointer to the HW structure | 276 | * @hw: pointer to the HW structure |
284 | * | 277 | * |
285 | * A wrapper to release access rights to the correct PHY. This is a | 278 | * A wrapper to release access rights to the correct PHY. |
286 | * function pointer entry point called by the api module. | ||
287 | **/ | 279 | **/ |
288 | static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) | 280 | static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) |
289 | { | 281 | { |
@@ -328,8 +320,7 @@ static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) | |||
328 | * e1000_acquire_nvm_80003es2lan - Acquire rights to access NVM | 320 | * e1000_acquire_nvm_80003es2lan - Acquire rights to access NVM |
329 | * @hw: pointer to the HW structure | 321 | * @hw: pointer to the HW structure |
330 | * | 322 | * |
331 | * Acquire the semaphore to access the EEPROM. This is a function | 323 | * Acquire the semaphore to access the EEPROM. |
332 | * pointer entry point called by the api module. | ||
333 | **/ | 324 | **/ |
334 | static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) | 325 | static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) |
335 | { | 326 | { |
@@ -351,8 +342,7 @@ static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) | |||
351 | * e1000_release_nvm_80003es2lan - Relinquish rights to access NVM | 342 | * e1000_release_nvm_80003es2lan - Relinquish rights to access NVM |
352 | * @hw: pointer to the HW structure | 343 | * @hw: pointer to the HW structure |
353 | * | 344 | * |
354 | * Release the semaphore used to access the EEPROM. This is a | 345 | * Release the semaphore used to access the EEPROM. |
355 | * function pointer entry point called by the api module. | ||
356 | **/ | 346 | **/ |
357 | static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) | 347 | static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) |
358 | { | 348 | { |
@@ -434,8 +424,7 @@ static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) | |||
434 | * @offset: offset of the register to read | 424 | * @offset: offset of the register to read |
435 | * @data: pointer to the data returned from the operation | 425 | * @data: pointer to the data returned from the operation |
436 | * | 426 | * |
437 | * Read the GG82563 PHY register. This is a function pointer entry | 427 | * Read the GG82563 PHY register. |
438 | * point called by the api module. | ||
439 | **/ | 428 | **/ |
440 | static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, | 429 | static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, |
441 | u32 offset, u16 *data) | 430 | u32 offset, u16 *data) |
@@ -499,8 +488,7 @@ static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, | |||
499 | * @offset: offset of the register to read | 488 | * @offset: offset of the register to read |
500 | * @data: value to write to the register | 489 | * @data: value to write to the register |
501 | * | 490 | * |
502 | * Write to the GG82563 PHY register. This is a function pointer entry | 491 | * Write to the GG82563 PHY register. |
503 | * point called by the api module. | ||
504 | **/ | 492 | **/ |
505 | static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, | 493 | static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, |
506 | u32 offset, u16 data) | 494 | u32 offset, u16 data) |
@@ -565,8 +553,7 @@ static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, | |||
565 | * @words: number of words to write | 553 | * @words: number of words to write |
566 | * @data: buffer of data to write to the NVM | 554 | * @data: buffer of data to write to the NVM |
567 | * | 555 | * |
568 | * Write "words" of data to the ESB2 NVM. This is a function | 556 | * Write "words" of data to the ESB2 NVM. |
569 | * pointer entry point called by the api module. | ||
570 | **/ | 557 | **/ |
571 | static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, | 558 | static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, |
572 | u16 words, u16 *data) | 559 | u16 words, u16 *data) |
@@ -730,7 +717,6 @@ static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) | |||
730 | * @duplex: pointer to duplex buffer | 717 | * @duplex: pointer to duplex buffer |
731 | * | 718 | * |
732 | * Retrieve the current speed and duplex configuration. | 719 | * Retrieve the current speed and duplex configuration. |
733 | * This is a function pointer entry point called by the api module. | ||
734 | **/ | 720 | **/ |
735 | static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, | 721 | static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, |
736 | u16 *duplex) | 722 | u16 *duplex) |
@@ -756,7 +742,6 @@ static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, | |||
756 | * @hw: pointer to the HW structure | 742 | * @hw: pointer to the HW structure |
757 | * | 743 | * |
758 | * Perform a global reset to the ESB2 controller. | 744 | * Perform a global reset to the ESB2 controller. |
759 | * This is a function pointer entry point called by the api module. | ||
760 | **/ | 745 | **/ |
761 | static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) | 746 | static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) |
762 | { | 747 | { |
@@ -805,7 +790,6 @@ static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) | |||
805 | * @hw: pointer to the HW structure | 790 | * @hw: pointer to the HW structure |
806 | * | 791 | * |
807 | * Initialize the hw bits, LED, VFTA, MTA, link and hw counters. | 792 | * Initialize the hw bits, LED, VFTA, MTA, link and hw counters. |
808 | * This is a function pointer entry point called by the api module. | ||
809 | **/ | 793 | **/ |
810 | static s32 e1000_init_hw_80003es2lan(struct e1000_hw *hw) | 794 | static s32 e1000_init_hw_80003es2lan(struct e1000_hw *hw) |
811 | { | 795 | { |