Which entry in drivers/net/phy/realtek.c matches my device?
Hello all,
I'd like to add some device-specific hacks to realtek.c. I'm using the Olimex A20-OlinuXino-Lime2 which uses the RTL8211CL PHY.
Which of the various phy_driver structs is responsible for that device? I presume it's keyed off the .uid, but I'm not sure how to find the ID of the specific PHY used on my device.
Thanks!
Michael
Hi,
Quoted 8 lines · Michael Haas
Hello all,
I'd like to add some device-specific hacks to
realtek.c. I'm using the Olimex A20-OlinuXino-Lime2 which uses the RTL8211CL PHY.Which of the various
phy_driverstructs is responsible for that device? I presume it's keyed off the .uid, but I'm not sure how to find the ID of the specific PHY used on my device.
In Linux you can get the PHY id from /sys/class/mdio_bus/*/*/phy_id
U-boot should have some MII / MDIO related commands you could use.
The datasheet here: https://www.rom.by/files/rtl8211cl_datasheet_1.3.pdf
also gives the PHY id, though I don't know how it maps to what the code expects.
ChenYu
Quoted 8 lines
Thanks!
Michael
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot