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)
commita7301c57a4fc20a783e481ec2f8523da118acc45
tree6dd8d1e4c2b01de8b8d47b4a29cfe391f56f8468
parentd577cfa397c08d961c5fa5e3faef1ea8cd7a53b7
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