[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAtXAHdfL07C+p-FcafHL5s0Noqh4Br1VP6dcyBr89wWidvsJQ@mail.gmail.com>
Date: Mon, 27 Jun 2016 16:36:20 -0700
From: Moritz Fischer <moritz.fischer@...us.com>
To: netdev@...r.kernel.org
Subject: Supporting C45 PHY without ID registers
Hi all,
I have a 10GigE PHY that I'm working with that has most of it's
functionality availabile via MDIO
in a clause 45 compliant fashion, however the usual probe method fails
since the id registers
are not implemented.
I hacked up drivers/of/of_mdio.c to include something similar to of_get_phy_id()
for c45 phys but I was wondering if someone else has a better idea
than this in my dt:
ethernet_phy1: ethernet-phy@4 {
compatible = "ethernet-phy-id0000.0000",
"ethernet-phy-id4242.4242",
"ethernet-phy-id0000.0000",
"ethernet-phy-id4343.4343",
"ethernet-phy-ieee802.3-c45";
reg = <4>;
};
Where I made up 42424242 and 43434343 as ids for my PCS / PMA. Ideas?
Cheers,
Moritz
Powered by blists - more mailing lists