diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-10-12 18:20:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-14 13:49:43 -0400 |
commit | 5d5b7c39cfdc459c079ed75b65a537f40ffb82da (patch) | |
tree | 1012a11bef0eacb5134019ee9f5c7af59434cc46 /drivers/net/ixgbe/ixgbe_82599.c | |
parent | f32f837b75233588cd4f8542214a30915ab7847b (diff) |
ixgbe: declare functions as static
Following patch fixes warnings reported by `make namespacecheck`
Reported by Stephen Hemminger
CC: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@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/ixgbe/ixgbe_82599.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82599.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c index 344c5d6ae02a..0bd8fbb5bfd0 100644 --- a/drivers/net/ixgbe/ixgbe_82599.c +++ b/drivers/net/ixgbe/ixgbe_82599.c | |||
@@ -39,20 +39,20 @@ | |||
39 | #define IXGBE_82599_MC_TBL_SIZE 128 | 39 | #define IXGBE_82599_MC_TBL_SIZE 128 |
40 | #define IXGBE_82599_VFT_TBL_SIZE 128 | 40 | #define IXGBE_82599_VFT_TBL_SIZE 128 |
41 | 41 | ||
42 | void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); | 42 | static void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); |
43 | void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); | 43 | static void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); |
44 | void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); | 44 | static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); |
45 | s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, | 45 | static s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, |
46 | ixgbe_link_speed speed, | 46 | ixgbe_link_speed speed, |
47 | bool autoneg, | 47 | bool autoneg, |
48 | bool autoneg_wait_to_complete); | 48 | bool autoneg_wait_to_complete); |
49 | static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, | 49 | static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, |
50 | ixgbe_link_speed speed, | 50 | ixgbe_link_speed speed, |
51 | bool autoneg, | 51 | bool autoneg, |
52 | bool autoneg_wait_to_complete); | 52 | bool autoneg_wait_to_complete); |
53 | s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, | 53 | static s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, |
54 | bool autoneg_wait_to_complete); | 54 | bool autoneg_wait_to_complete); |
55 | s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, | 55 | static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, |
56 | ixgbe_link_speed speed, | 56 | ixgbe_link_speed speed, |
57 | bool autoneg, | 57 | bool autoneg, |
58 | bool autoneg_wait_to_complete); | 58 | bool autoneg_wait_to_complete); |
@@ -369,7 +369,7 @@ out: | |||
369 | * Configures link settings based on values in the ixgbe_hw struct. | 369 | * Configures link settings based on values in the ixgbe_hw struct. |
370 | * Restarts the link. Performs autonegotiation if needed. | 370 | * Restarts the link. Performs autonegotiation if needed. |
371 | **/ | 371 | **/ |
372 | s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, | 372 | static s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, |
373 | bool autoneg_wait_to_complete) | 373 | bool autoneg_wait_to_complete) |
374 | { | 374 | { |
375 | u32 autoc_reg; | 375 | u32 autoc_reg; |
@@ -418,7 +418,7 @@ s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, | |||
418 | * PHY states. This includes selectively shutting down the Tx | 418 | * PHY states. This includes selectively shutting down the Tx |
419 | * laser on the PHY, effectively halting physical link. | 419 | * laser on the PHY, effectively halting physical link. |
420 | **/ | 420 | **/ |
421 | void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) | 421 | static void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) |
422 | { | 422 | { |
423 | u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); | 423 | u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); |
424 | 424 | ||
@@ -437,7 +437,7 @@ void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) | |||
437 | * PHY states. This includes selectively turning on the Tx | 437 | * PHY states. This includes selectively turning on the Tx |
438 | * laser on the PHY, effectively starting physical link. | 438 | * laser on the PHY, effectively starting physical link. |
439 | **/ | 439 | **/ |
440 | void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) | 440 | static void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) |
441 | { | 441 | { |
442 | u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); | 442 | u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); |
443 | 443 | ||
@@ -460,7 +460,7 @@ void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) | |||
460 | * end. This is consistent with true clause 37 autoneg, which also | 460 | * end. This is consistent with true clause 37 autoneg, which also |
461 | * involves a loss of signal. | 461 | * involves a loss of signal. |
462 | **/ | 462 | **/ |
463 | void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) | 463 | static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) |
464 | { | 464 | { |
465 | hw_dbg(hw, "ixgbe_flap_tx_laser_multispeed_fiber\n"); | 465 | hw_dbg(hw, "ixgbe_flap_tx_laser_multispeed_fiber\n"); |
466 | 466 | ||
@@ -729,7 +729,7 @@ out: | |||
729 | * | 729 | * |
730 | * Set the link speed in the AUTOC register and restarts link. | 730 | * Set the link speed in the AUTOC register and restarts link. |
731 | **/ | 731 | **/ |
732 | s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, | 732 | static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, |
733 | ixgbe_link_speed speed, bool autoneg, | 733 | ixgbe_link_speed speed, bool autoneg, |
734 | bool autoneg_wait_to_complete) | 734 | bool autoneg_wait_to_complete) |
735 | { | 735 | { |