diff options
author | Jay Cliburn <jacliburn@bellsouth.net> | 2008-02-02 20:50:12 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 07:49:25 -0400 |
commit | 6446a860f8b72b6a7b6722b3e30c4b00d6f99967 (patch) | |
tree | c561e903e498ee537d541b9af9fdf89aca1294a3 /drivers/net/atlx/atl1.h | |
parent | 0dde4ef99dcbf221bce6c0a5c3c3e4cdfea0b370 (diff) |
atl1: reduce forward declarations
Rearrange functions to allow removal of some forward declarations.
Make certain global functions static along the way.
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Acked-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/atlx/atl1.h')
-rw-r--r-- | drivers/net/atlx/atl1.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/atlx/atl1.h b/drivers/net/atlx/atl1.h index 6220298908ba..51893d66eae1 100644 --- a/drivers/net/atlx/atl1.h +++ b/drivers/net/atlx/atl1.h | |||
@@ -56,20 +56,10 @@ struct atl1_adapter; | |||
56 | struct atl1_hw; | 56 | struct atl1_hw; |
57 | 57 | ||
58 | /* function prototypes needed by multiple files */ | 58 | /* function prototypes needed by multiple files */ |
59 | s32 atl1_phy_setup_autoneg_adv(struct atl1_hw *hw); | ||
60 | s32 atl1_write_phy_reg(struct atl1_hw *hw, u32 reg_addr, u16 phy_data); | ||
61 | s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex); | ||
62 | s32 atl1_read_mac_addr(struct atl1_hw *hw); | ||
63 | s32 atl1_init_hw(struct atl1_hw *hw); | ||
64 | s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex); | ||
65 | s32 atl1_set_speed_and_duplex(struct atl1_hw *hw, u16 speed, u16 duplex); | ||
66 | u32 atl1_hash_mc_addr(struct atl1_hw *hw, u8 *mc_addr); | 59 | u32 atl1_hash_mc_addr(struct atl1_hw *hw, u8 *mc_addr); |
67 | void atl1_hash_set(struct atl1_hw *hw, u32 hash_value); | 60 | void atl1_hash_set(struct atl1_hw *hw, u32 hash_value); |
68 | s32 atl1_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data); | 61 | s32 atl1_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data); |
69 | void atl1_set_mac_addr(struct atl1_hw *hw); | 62 | void atl1_set_mac_addr(struct atl1_hw *hw); |
70 | s32 atl1_phy_enter_power_saving(struct atl1_hw *hw); | ||
71 | s32 atl1_reset_hw(struct atl1_hw *hw); | ||
72 | void atl1_check_options(struct atl1_adapter *adapter); | ||
73 | static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, | 63 | static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, |
74 | int cmd); | 64 | int cmd); |
75 | static u32 atl1_check_link(struct atl1_adapter *adapter); | 65 | static u32 atl1_check_link(struct atl1_adapter *adapter); |