ip17xx: New chip detection
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:42 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:42 +0000 (20:18 +0000)
commit5dc8c4e80ddfeb72dafc8025fe9902704a17be70
tree8463f04fe4159703b7f028e33549498684bd819b
parent2916433a3c6db151678dfc9a76b537c1c583b692
ip17xx: New chip detection

Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21719
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c