[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101013.095622.104069939.davem@davemloft.net>
Date: Wed, 13 Oct 2010 09:56:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gerg@...pgear.com
Cc: netdev@...r.kernel.org, gerg@...inux.org
Subject: Re: [PATCH] net: allow FEC driver to use fixed PHY support
From: Greg Ungerer <gerg@...pgear.com>
Date: Tue, 12 Oct 2010 17:03:05 +1000
> At least one board using the FEC driver does not have a conventional
> PHY attached to it, it is directly connected to a somewhat simple
> ethernet switch (the board is the SnapGear/LITE, and the attached
> 4-port ethernet switch is a RealTek RTL8305). This switch does not
> present the usual register interface of a PHY, it presents nothing.
> So a PHY scan will find nothing - it finds ID's of 0 for each PHY
> on the attached MII bus.
>
> After the FEC driver was changed to use phylib for supporting PHYs
> it no longer works on this particular board/switch setup.
>
> Add code support to use a fixed phy if no PHY is found on the MII bus.
> This is based on the way the cpmac.c driver solved this same problem.
>
> Signed-off-by: Greg Ungerer <gerg@...inux.org>
Applied, thanks Greg.
--
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