summaryrefslogtreecommitdiffstats
path: root/include/linux/micrel_phy.h
diff options
context:
space:
mode:
authorSergei Shtylyov2013-12-10 00:20:41 +0100
committerDavid S. Miller2013-12-11 19:54:13 +0100
commit4bd7b5127bd02c12c1cc837a7a0b6ce295eb2505 (patch)
tree5b2c48d621e20e4fa230fcb0f8c6e48f449b5c2d /include/linux/micrel_phy.h
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadkernel-qcow2-linux-4bd7b5127bd02c12c1cc837a7a0b6ce295eb2505.tar.gz
kernel-qcow2-linux-4bd7b5127bd02c12c1cc837a7a0b6ce295eb2505.tar.xz
kernel-qcow2-linux-4bd7b5127bd02c12c1cc837a7a0b6ce295eb2505.zip
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>
Diffstat (limited to 'include/linux/micrel_phy.h')
-rw-r--r--include/linux/micrel_phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h
index ad05ce60c1c9..2e5b194b9b19 100644
--- a/include/linux/micrel_phy.h
+++ b/include/linux/micrel_phy.h
@@ -22,6 +22,8 @@
#define PHY_ID_KSZ8021 0x00221555
#define PHY_ID_KSZ8031 0x00221556
#define PHY_ID_KSZ8041 0x00221510
+/* undocumented */
+#define PHY_ID_KSZ8041RNLI 0x00221537
#define PHY_ID_KSZ8051 0x00221550
/* same id: ks8001 Rev. A/B, and ks8721 Rev 3. */
#define PHY_ID_KSZ8001 0x0022161A