extern void ar933x_sys_frequency(u32 *cpu_freq, u32 *ddr_freq, u32 *ahb_freq);
-extern int athrs26_phy_setup(int unit);
-extern int athrs26_phy_is_up(int unit);
-extern int athrs26_phy_is_fdx(int unit);
-extern int athrs26_phy_speed(int unit);
extern void athrs26_reg_init(void);
extern void athrs26_reg_init_lan(void);
extern int athrs26_mdc_check(void);
#ifdef CONFIG_F1E_PHY
-extern int athr_phy_setup(int unit);
-extern int athr_phy_is_up(int unit);
-extern int athr_phy_is_fdx(int unit);
-extern int athr_phy_speed(int unit);
extern void athr_reg_init(void);
#endif
extern void ar7240_sys_frequency(u32 *cpu_freq, u32 *ddr_freq, u32 *ahb_freq);
#ifdef CFG_ATHRS26_PHY
-extern int athrs26_phy_setup(int unit);
-extern int athrs26_phy_is_up(int unit);
-extern int athrs26_phy_is_fdx(int unit);
-extern int athrs26_phy_speed(int unit);
extern void athrs26_reg_init(void);
extern void athrs26_reg_init_lan(void);
extern int athrs26_mdc_check(void);
#endif
#ifdef CFG_ATHRS27_PHY
-extern int athrs27_phy_setup(int unit);
-extern int athrs27_phy_is_up(int unit);
-extern int athrs27_phy_is_fdx(int unit);
-extern int athrs27_phy_speed(int unit);
extern void athrs27_reg_init(void);
extern void athrs27_reg_init_lan(void);
-extern int athrs27_mdc_check(void);
#endif
#if defined(CONFIG_F1E_PHY) || defined(CONFIG_F2E_PHY)
-extern int athr_phy_setup(int unit);
-extern int athr_phy_is_up(int unit);
-extern int athr_phy_is_fdx(int unit);
-extern int athr_phy_speed(int unit);
extern void athr_reg_init(void);
#endif
#ifdef CONFIG_VIR_PHY
-extern int athr_vir_phy_setup(int unit);
-extern int athr_vir_phy_is_up(int unit);
-extern int athr_vir_phy_is_fdx(int unit);
-extern int athr_vir_phy_speed(int unit);
extern void athr_vir_reg_init(void);
#endif