[PATCH] Fix phy id for LXT971A/LXT972A
commit600991b003039bd86d89aed0a88de89987ccbcd1
authorUwe Zeisberger <Uwe_Zeisberger@digi.com>
Sun, 25 Jun 2006 08:44:37 +0000 (25 01:44 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 02:03:07 +0000 (26 22:03 -0400)
tree175067c44f1220def4ba0cdb219b7b798a8d6062
parent5d22a312b7afddaed3cbb2fffb3cceb0c22a6cf5
[PATCH] Fix phy id for LXT971A/LXT972A

From: Uwe Zeisberger <Uwe_Zeisberger@digi.com>

The phy ids used are taken from an driver that used a right shift of 4 to chop
off the revision number.  This driver does not shift, so the id and mask
values are wrong and must be left shifted by 4 to actually detect the chips.

Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com>
Acked-by: Andy Fleming <afleming@freescale.com>
[akpm: this is a previously-nacked patch, but the problem is real]
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/lxt.c