]> git.sur5r.net Git - u-boot/commit
phylib: Add a bunch of PHY drivers from tsec
authorAndy Fleming <afleming@freescale.com>
Fri, 8 Apr 2011 02:56:05 +0000 (21:56 -0500)
committerAndy Fleming <afleming@freescale.com>
Wed, 20 Apr 2011 20:09:34 +0000 (15:09 -0500)
commit9082eeac5de1335d663016668c9b89c290f5c79b
tree7a7bed3f44c0d75e8ea494dcb083163d34c1a336
parent5f184715ecd31bfcb8d09ba2d9f14adfa172a141
phylib: Add a bunch of PHY drivers from tsec

The tsec driver had a bunch of PHY drivers already written. This
converts them all into PHY Lib drivers, and serves as the first
set of PHY drivers for PHY Lib.

While doing that, cleaned up a number of magic numbers (though
not all of them, as PHY vendors like to keep their numbers as
magical as possible).  Also, noticed that almost all of the
vitesse/cicada PHYs had the same config/parse/startup functions,
so those have been collapsed into one.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Detlev Zundel <dzu@denx.de>
14 files changed:
drivers/net/phy/Makefile
drivers/net/phy/atheros.c [new file with mode: 0644]
drivers/net/phy/broadcom.c [new file with mode: 0644]
drivers/net/phy/davicom.c [new file with mode: 0644]
drivers/net/phy/lxt.c [new file with mode: 0644]
drivers/net/phy/marvell.c [new file with mode: 0644]
drivers/net/phy/micrel.c [new file with mode: 0644]
drivers/net/phy/natsemi.c [new file with mode: 0644]
drivers/net/phy/phy.c
drivers/net/phy/realtek.c [new file with mode: 0644]
drivers/net/phy/teranetics.c [new file with mode: 0644]
drivers/net/phy/vitesse.c [new file with mode: 0644]
include/config_phylib_all_drivers.h [new file with mode: 0644]
include/phy.h