micrel: add support for KSZ8041RNLI
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 9 Dec 2013 23:20:41 +0000 (02:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 18:54:13 +0000 (13:54 -0500)
commit4bd7b5127bd02c12c1cc837a7a0b6ce295eb2505
tree5b2c48d621e20e4fa230fcb0f8c6e48f449b5c2d
parentd0977e2b85ab7966d1f8cd85a19ac5aa80793638
micrel: add support for KSZ8041RNLI

Renesas R-Car development boards use KSZ8041RNLI PHY which for some reason has
ID of 0x00221537 that is not documented for KSZ8041-family PHYs and does not
match the  documented ID of  0x0022151x (where 'x' is the revision).  We have
to add the new #define PHY_ID_* and new ksphy_driver[] entry, almost the same
as KSZ8041 one, differing only in the 'phy_id' and 'name' fields.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c
include/linux/micrel_phy.h