net/phy: support the mv88e6352 switch
authorValentin Longchamp <valentin.longchamp@keymile.com>
Thu, 16 Aug 2012 01:17:26 +0000 (01:17 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 27 Sep 2012 17:21:56 +0000 (12:21 -0500)
commitb737337aaf7d266f0e5228d1129ac40e300878f8
tree9ef92f1980a1c9f8d93dce3171104df8d7349b9c
parent460f949f897a401b40327be7a1a9cccd22762c77
net/phy: support the mv88e6352 switch

This patch add support for the configuration of an external switch from
the 88E6xxx series from Marvell trough an MDIO link using indirect
adressing. This can be used if we do not want to use an EEPROM for the
configuration.

This driver is not generic and was not tested on other switches than the
88e6352. This is proposed as a first implementation that is somewhat
limited but works and that can be used as a basis for further
developments for this switch family.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/phy/Makefile
drivers/net/phy/mv88e6352.c [new file with mode: 0644]
include/mv88e6352.h [new file with mode: 0644]