提交 68a6aa85 编写于 作者: S Simon Glass 提交者: Tom Rini

common: Move mii_init() function out of common.h

This function belongs in mii.h so move it over.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Reviewed-by: NTom Rini <trini@konsulko.com>
上级 1045315d
......@@ -39,6 +39,7 @@
#include <fsl_validate.h>
#endif
#endif
#include <linux/mii.h>
DECLARE_GLOBAL_DATA_PTR;
......
......@@ -14,6 +14,7 @@
#include <config.h>
#include <net.h>
#include <miiphy.h>
#include <linux/mii.h>
#undef ET_DEBUG
#undef MII_DEBUG
......
......@@ -8,6 +8,7 @@
#include <asm/io.h>
#include <asm/arch/fsl_serdes.h>
#include <asm/arch/soc.h>
#include <linux/mii.h>
u32 dpmac_to_devdisr[] = {
[WRIOP1_DPMAC1] = FSL_CHASSIS3_DEVDISR2_DPMAC1,
......
......@@ -8,6 +8,7 @@
#include <asm/io.h>
#include <asm/arch/fsl_serdes.h>
#include <asm/arch/soc.h>
#include <linux/mii.h>
u32 dpmac_to_devdisr[] = {
[WRIOP1_DPMAC1] = FSL_CHASSIS3_DEVDISR2_DPMAC1,
......
......@@ -18,6 +18,7 @@
#include <asm/fec.h>
#include <asm/immap.h>
#include <linux/mii.h>
#undef ET_DEBUG
#undef MII_DEBUG
......
......@@ -15,6 +15,7 @@
#include <asm/fec.h>
#endif
#include <asm/immap.h>
#include <linux/mii.h>
DECLARE_GLOBAL_DATA_PTR;
......
......@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <phy.h>
#include <linux/mii.h>
DECLARE_GLOBAL_DATA_PTR;
......
......@@ -12,6 +12,7 @@
#include <time.h>
#include <wait_bit.h>
#include <asm/gpio.h>
#include <linux/mii.h>
#include "pic32_eth.h"
......
......@@ -254,9 +254,6 @@ void reset_timer (void);
void enable_interrupts (void);
int disable_interrupts (void);
/* $(CPU)/.../<eth> */
void mii_init (void);
/* arch/$(ARCH)/lib/cache.c */
void enable_caches(void);
void flush_cache (unsigned long, unsigned long);
......
......@@ -225,4 +225,6 @@ static inline u8 mii_resolve_flowctrl_fdx(u16 lcladv, u16 rmtadv)
return cap;
}
void mii_init(void);
#endif /* __LINUX_MII_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册