summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-09-18 19:49:25 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:00:56 +0200
commit4f3c42aca423d1e05319edbee17dfe1a55a2bfbb (patch)
tree395020244f8e9b709a4be92b88fedd7a31aa2ccb /drivers
parent49d6da6032c2d55f7912ffedfbf222b6b4511b8c (diff)
downloadu-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 'drivers')
-rw-r--r--drivers/net/davinci_emac.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index c0b8929..f68bf24 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -711,6 +711,13 @@ int davinci_emac_initialize(void)
phy_id |= tmp & 0x0000ffff;
switch (phy_id) {
+ case PHY_KSZ8873:
+ sprintf(phy.name, "KSZ8873 @ 0x%02x", active_phy_addr);
+ phy.init = ksz8873_init_phy;
+ phy.is_phy_connected = ksz8873_is_phy_connected;
+ phy.get_link_speed = ksz8873_get_link_speed;
+ phy.auto_negotiate = ksz8873_auto_negotiate;
+ break;
case PHY_LXT972:
sprintf(phy.name, "LXT972 @ 0x%02x", active_phy_addr);
phy.init = lxt972_init_phy;