Micrel PHY KSZ8001 on MPC5200B FEC
Romen,
A driver for micrel phy exists in /drivers/net/phy/micrel.c. in 2.6.30. You just need to add the structure with your phy information .
If you are using older kernel you may want to copy it.
Regards
Suvidh
Quoted 37 lines
------------------------------
Message: 6
Date: Tue, 27 Oct 2009 13:17:27 +0100
From: Roman Fietze <[email protected]>
To: [email protected]
Subject: Micrel PHY KSZ8001 on MPC5200B FEC
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"Hello,
We would need some help on how to make a Micrel KSZ8001 work on the MPC5200B FEC using the kernel DENX-v2.6.3[01].
We can already boot the kernel and device tree using TFTP and this PHY using a recent U-Boot version, so we would need some pointers how to acomplish that.
Add a proper PHY driver in the Theirdirectory?
Modify the DTS? If yes, how? A link to some documentation that's not already in the kernel sources would already help.
Is it correct, when looking at the sources, that the MPC's FEC driver switched to the generic PHY driver interface?
Roman
--
Roman Fietze Telemotive AG B?ro M?hlhausen
Breitwiesen 73347 M?hlhausen
Tel.: +49(0)7335/18493-45 http://www.telemotive.de------------------------------
Hello Suvidh,
Quoted 2 lines · On Tuesday 27 October 2009 17:47:51 suvidh kankariya wrote:
A driver for micrel phy exists in /drivers/net/phy/micrel.c. in 2.6.30.
Am I somewhat blind, or do you have access to other 2.6.30's than I have?
I searched git.kernel.org, git.denx.de and git.secretlab.ca, but could not find that file, neither in the current master, nor in older tags somewhat related to "2.6.30", nor in any local clone in any version of the 2.6 since "He" created the repos.
Quoted 1 line
If you are using older kernel you may want to copy it.
2.6.30 and 2.6.31 from DENX or kernel.org.
Roman
=2D-=20
Roman Fietze Telemotive AG B=FCro M=FChlhausen
Breitwiesen 73347 M=FChlhausen
Tel.: +49(0)7335/18493-45 http://www.telemotive.de
Quoted 7 lines · Roman Fietze
Hello Suvidh,
Quoted 2 lines · On Tuesday 27 October 2009 17:47:51 suvidh kankariya wrote:
A driver for micrel phy exists in /drivers/net/phy/micrel.c. in 2.6.30.
Quoted 7 lines
Am I somewhat blind, or do you have access to other 2.6.30's than I have?
I searched git.kernel.org, git.denx.de and git.secretlab.ca, but could not find that file, neither in the current master, nor in older tags somewhat related to "2.6.30", nor in any local clone in any version of the 2.6 since "He" created the repos.
No, there is a marvell driver, but not a micrel one. If the generic phy driver doesn't work for you, then yes, add a new micrel driver. To hook it up to the MPC5200 FEC, you just need to have the correct PHY address in your board's .dts file.
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.