[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081204175634.GA31505@oksana.dev.rtsoft.ru>
Date: Thu, 4 Dec 2008 20:56:34 +0300
From: Anton Vorontsov <avorontsov@...mvista.com>
To: Timur Tabi <timur@...escale.com>
Cc: Andre Schwarz <andre.schwarz@...rix-vision.de>,
linuxppc-dev@...abs.org, afleming@...escale.com,
netdev@...r.kernel.org
Subject: Re: "eth1: Could not attach to PHY" on MPC8349e-MITX
On Thu, Dec 04, 2008 at 11:47:26AM -0600, Timur Tabi wrote:
> Andre Schwarz wrote:
> > Timur,
> >
> > is it possible that the PHY adress doesn't match the one specified in
> > the dts ?
>
> What part of the DTS contains the PHY address? I have this:
>
> mdio@...20 {
> #address-cells = <1>;
> #size-cells = <0>;
> compatible = "fsl,gianfar-mdio";
> reg = <0x24520 0x20>;
>
> /* Vitesse 8201 */
> phy1c: ethernet-phy@1c {
> interrupt-parent = <&ipic>;
> interrupts = <18 0x8>;
> reg = <0x1c>;
> device_type = "ethernet-phy";
> };
> };
>
> enet1: ethernet@...00 {
> cell-index = <1>;
> device_type = "network";
> model = "TSEC";
> compatible = "gianfar";
> reg = <0x25000 0x1000>;
> local-mac-address = [ 00 00 00 00 00 00 ];
> interrupts = <35 0x8 36 0x8 37 0x8>;
> phy-connection-type = "mii";
> interrupt-parent = <&ipic>;
> /* Vitesse 7385 isn't on the MDIO bus */
> fixed-link = <1 1 1000 0 0>;
^^^ That one. The Vitesse 7385 isn't on the MDIO bus, so the fixed
link (drivers/net/phy/fixed.c) driver is used for this ethernet port.
> linux,network-index = <1>;
> };
--
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists