diff options
author | Heiko Schocher <hs@denx.de> | 2011-09-18 19:49:25 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-30 22:00:56 +0200 |
commit | 4f3c42aca423d1e05319edbee17dfe1a55a2bfbb (patch) | |
tree | 395020244f8e9b709a4be92b88fedd7a31aa2ccb /arch/arm/include/asm | |
parent | 49d6da6032c2d55f7912ffedfbf222b6b4511b8c (diff) | |
download | u-boot-imx-4f3c42aca423d1e05319edbee17dfe1a55a2bfbb.zip u-boot-imx-4f3c42aca423d1e05319edbee17dfe1a55a2bfbb.tar.gz u-boot-imx-4f3c42aca423d1e05319edbee17dfe1a55a2bfbb.tar.bz2 |
net, davinci_emac: add KSZ8864 switch
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-davinci/emac_defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-davinci/emac_defs.h b/arch/arm/include/asm/arch-davinci/emac_defs.h index 4a4ee04..294a9a8 100644 --- a/arch/arm/include/asm/arch-davinci/emac_defs.h +++ b/arch/arm/include/asm/arch-davinci/emac_defs.h @@ -377,6 +377,12 @@ typedef struct int (*auto_negotiate)(int phy_addr); } phy_t; +#define PHY_KSZ8873 (0x00221450) +int ksz8873_is_phy_connected(int phy_addr); +int ksz8873_get_link_speed(int phy_addr); +int ksz8873_init_phy(int phy_addr); +int ksz8873_auto_negotiate(int phy_addr); + #define PHY_LXT972 (0x001378e2) int lxt972_is_phy_connected(int phy_addr); int lxt972_get_link_speed(int phy_addr); |