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)
commit50dc4ef20ab79b1bb587769f0d15b5e6bce61a03
tree8463f04fe4159703b7f028e33549498684bd819b
parent5dd433ee41829d976fa22c52884ef032e95baa93
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c