提交 fe401674 编写于 作者: B Bruce Allan 提交者: David S. Miller

e1000e: remove comments regarding a non-existent api module

Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c7e54b1b
...@@ -72,8 +72,6 @@ static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw); ...@@ -72,8 +72,6 @@ static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw);
/** /**
* e1000_init_phy_params_82571 - Init PHY func ptrs. * e1000_init_phy_params_82571 - Init PHY func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) static s32 e1000_init_phy_params_82571(struct e1000_hw *hw)
{ {
...@@ -136,8 +134,6 @@ static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) ...@@ -136,8 +134,6 @@ static s32 e1000_init_phy_params_82571(struct e1000_hw *hw)
/** /**
* e1000_init_nvm_params_82571 - Init NVM func ptrs. * e1000_init_nvm_params_82571 - Init NVM func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw)
{ {
...@@ -201,8 +197,6 @@ static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) ...@@ -201,8 +197,6 @@ static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw)
/** /**
* e1000_init_mac_params_82571 - Init MAC func ptrs. * e1000_init_mac_params_82571 - Init MAC func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter) static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter)
{ {
...@@ -830,8 +824,7 @@ static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) ...@@ -830,8 +824,7 @@ static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active)
* e1000_reset_hw_82571 - Reset hardware * e1000_reset_hw_82571 - Reset hardware
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* This resets the hardware into a known state. This is a * This resets the hardware into a known state.
* function pointer entry point called by the api module.
**/ **/
static s32 e1000_reset_hw_82571(struct e1000_hw *hw) static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
{ {
......
...@@ -116,8 +116,6 @@ static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, ...@@ -116,8 +116,6 @@ static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
/** /**
* e1000_init_phy_params_80003es2lan - Init ESB2 PHY func ptrs. * e1000_init_phy_params_80003es2lan - Init ESB2 PHY func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -147,8 +145,6 @@ static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) ...@@ -147,8 +145,6 @@ static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw)
/** /**
* e1000_init_nvm_params_80003es2lan - Init ESB2 NVM func ptrs. * e1000_init_nvm_params_80003es2lan - Init ESB2 NVM func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -195,8 +191,6 @@ static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) ...@@ -195,8 +191,6 @@ static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw)
/** /**
* e1000_init_mac_params_80003es2lan - Init ESB2 MAC func ptrs. * e1000_init_mac_params_80003es2lan - Init ESB2 MAC func ptrs.
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
*
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_mac_params_80003es2lan(struct e1000_adapter *adapter) static s32 e1000_init_mac_params_80003es2lan(struct e1000_adapter *adapter)
{ {
...@@ -267,8 +261,7 @@ static s32 e1000_get_variants_80003es2lan(struct e1000_adapter *adapter) ...@@ -267,8 +261,7 @@ static s32 e1000_get_variants_80003es2lan(struct e1000_adapter *adapter)
* e1000_acquire_phy_80003es2lan - Acquire rights to access PHY * e1000_acquire_phy_80003es2lan - Acquire rights to access PHY
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* A wrapper to acquire access rights to the correct PHY. This is a * A wrapper to acquire access rights to the correct PHY.
* function pointer entry point called by the api module.
**/ **/
static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -282,8 +275,7 @@ static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) ...@@ -282,8 +275,7 @@ static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw)
* e1000_release_phy_80003es2lan - Release rights to access PHY * e1000_release_phy_80003es2lan - Release rights to access PHY
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* A wrapper to release access rights to the correct PHY. This is a * A wrapper to release access rights to the correct PHY.
* function pointer entry point called by the api module.
**/ **/
static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) static void e1000_release_phy_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -328,8 +320,7 @@ static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) ...@@ -328,8 +320,7 @@ static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw)
* e1000_acquire_nvm_80003es2lan - Acquire rights to access NVM * e1000_acquire_nvm_80003es2lan - Acquire rights to access NVM
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* Acquire the semaphore to access the EEPROM. This is a function * Acquire the semaphore to access the EEPROM.
* pointer entry point called by the api module.
**/ **/
static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -351,8 +342,7 @@ static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) ...@@ -351,8 +342,7 @@ static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw)
* e1000_release_nvm_80003es2lan - Relinquish rights to access NVM * e1000_release_nvm_80003es2lan - Relinquish rights to access NVM
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* Release the semaphore used to access the EEPROM. This is a * Release the semaphore used to access the EEPROM.
* function pointer entry point called by the api module.
**/ **/
static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -434,8 +424,7 @@ static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) ...@@ -434,8 +424,7 @@ static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask)
* @offset: offset of the register to read * @offset: offset of the register to read
* @data: pointer to the data returned from the operation * @data: pointer to the data returned from the operation
* *
* Read the GG82563 PHY register. This is a function pointer entry * Read the GG82563 PHY register.
* point called by the api module.
**/ **/
static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
u32 offset, u16 *data) u32 offset, u16 *data)
...@@ -499,8 +488,7 @@ static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, ...@@ -499,8 +488,7 @@ static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
* @offset: offset of the register to read * @offset: offset of the register to read
* @data: value to write to the register * @data: value to write to the register
* *
* Write to the GG82563 PHY register. This is a function pointer entry * Write to the GG82563 PHY register.
* point called by the api module.
**/ **/
static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
u32 offset, u16 data) u32 offset, u16 data)
...@@ -565,8 +553,7 @@ static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, ...@@ -565,8 +553,7 @@ static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
* @words: number of words to write * @words: number of words to write
* @data: buffer of data to write to the NVM * @data: buffer of data to write to the NVM
* *
* Write "words" of data to the ESB2 NVM. This is a function * Write "words" of data to the ESB2 NVM.
* pointer entry point called by the api module.
**/ **/
static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset,
u16 words, u16 *data) u16 words, u16 *data)
...@@ -730,7 +717,6 @@ static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) ...@@ -730,7 +717,6 @@ static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw)
* @duplex: pointer to duplex buffer * @duplex: pointer to duplex buffer
* *
* Retrieve the current speed and duplex configuration. * Retrieve the current speed and duplex configuration.
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed,
u16 *duplex) u16 *duplex)
...@@ -756,7 +742,6 @@ static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, ...@@ -756,7 +742,6 @@ static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed,
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* Perform a global reset to the ESB2 controller. * Perform a global reset to the ESB2 controller.
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw)
{ {
...@@ -805,7 +790,6 @@ static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) ...@@ -805,7 +790,6 @@ static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw)
* @hw: pointer to the HW structure * @hw: pointer to the HW structure
* *
* Initialize the hw bits, LED, VFTA, MTA, link and hw counters. * Initialize the hw bits, LED, VFTA, MTA, link and hw counters.
* This is a function pointer entry point called by the api module.
**/ **/
static s32 e1000_init_hw_80003es2lan(struct e1000_hw *hw) static s32 e1000_init_hw_80003es2lan(struct e1000_hw *hw)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册