fast ethernet LXT972A support

2002-08-23 Thread Stephan Linke

Hi,

I'm using the LXT971 settings for an LXT972 on a 857 board and It's running
fine...

Regards, Stephan

(see my response to "MPC857T FEC/MII failure" :o))

> -Original Message-
> From: owner-linuxppc-embedded at lists.linuxppc.org
> [mailto:owner-linuxppc-embedded at lists.linuxppc.org]On Behalf Of Xiaogeng
> (Shawn) Jin
> Sent: Donnerstag, 22. August 2002 22:25
> To: linuxppc-embedded at lists.linuxppc.org
> Subject: fast ethernet LXT972A support
>
>
>
> I noticed that only LXT970 and 971 are supported in the lastest kernel
> distribution from DENX. But the comments in fec.c say "includes support
> for following PHYs: QS6612, LXT970, LXT971/2". Does it mean that LXT972
> can use 971's driver? If not, basically what kind of modification is
> needed? Thanks.
>
> - Shawn.
>
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





fast ethernet LXT972A support

2002-08-23 Thread Wolfgang Denk

In message <3D6578FD.6020105 at redswitch.com> you wrote:
>
> > Ummm you must be looking in the wrong place; our  kernel  version
> > supports  AMD79C874, LXT970, LXT971, QS6612, DP83843, and DP83846A on
> > MPC8xx processors, and AMD79C873, LXT970, LXT971, QS6612  on  MPC8260
>
> Well, the version I got is linux-2.4.4-08-09. And I'm sure there are no
> DP83843 and DP83846A support. So you must have made progress in
> supporting new PHYs. :) The file I'm looking at is arch/ppc/8xx_io/fec.c.

That's what I was looking at, too. But you mentioned "latest kernel",
and I have here:


revision 1.20
date: 2002/08/11 11:09:33;  author: wd;  state: Exp;  lines: +369 -42
1. Added support for PHY DP83843BVJE.
2. Added support for PHY DP83846A.
3. Added a timer callback to periodically probe the DP83846A (or any
   other chip, it is easy to adapt) for link changes. The delays are
   hard-coded, though. Someone could add some configuration
   parameters for it, of course! The periods depend on the link
   state:
   - 1 second when the link is up.
   - 100ms when the link is down.
4. Added the standard IOCTL support to manipulate the PHY registers.
5. A bugfix (in fec_restart(), if the flag 'tx_full' is set, it must
   be cleared, and the network interface queue needs to be awakened.)

Based on patch by Jean-Denis Boyer , 22 Mar 2002
See http://lists.linuxppc.org/linuxppc-embedded/200203/msg00200.html


For me, latest == top of CVS :-)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The greatest threat towards future is indifference.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





fast ethernet LXT972A support

2002-08-23 Thread Wolfgang Denk

In message <3D654892.30500 at redswitch.com> you wrote:
>
> I noticed that only LXT970 and 971 are supported in the lastest kernel
> distribution from DENX. But the comments in fec.c say "includes support
> for following PHYs: QS6612, LXT970, LXT971/2". Does it mean that LXT972
> can use 971's driver? If not, basically what kind of modification is
> needed? Thanks.

Ummm you must be looking in the wrong place; our  kernel  version
supports  AMD79C874, LXT970, LXT971, QS6612, DP83843, and DP83846A on
MPC8xx processors, and AMD79C873, LXT970, LXT971, QS6612  on  MPC8260
processors.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The software required `Windows 95 or better', so I installed Linux.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





fast ethernet LXT972A support

2002-08-22 Thread Xiaogeng (Shawn) Jin

>>distribution from DENX. But the comments in fec.c say "includes support
>>for following PHYs: QS6612, LXT970, LXT971/2". Does it mean that LXT972
Well, the first several lines of comments says that. ;)

> Ummm you must be looking in the wrong place; our  kernel  version
> supports  AMD79C874, LXT970, LXT971, QS6612, DP83843, and DP83846A on
> MPC8xx processors, and AMD79C873, LXT970, LXT971, QS6612  on  MPC8260

Well, the version I got is linux-2.4.4-08-09. And I'm sure there are no
DP83843 and DP83846A support. So you must have made progress in
supporting new PHYs. :) The file I'm looking at is arch/ppc/8xx_io/fec.c.

- Shawn.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





fast ethernet LXT972A support

2002-08-22 Thread Xiaogeng (Shawn) Jin

> for following PHYs: QS6612, LXT970, LXT971/2". Does it mean that LXT972
> can use 971's driver? If not, basically what kind of modification is
> needed? Thanks.

After looking into LXT971/972 datasheets, I believe LXT972 can use 971's
driver. Thanks.

- Shawn.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





fast ethernet LXT972A support

2002-08-22 Thread Xiaogeng (Shawn) Jin

I noticed that only LXT970 and 971 are supported in the lastest kernel
distribution from DENX. But the comments in fec.c say "includes support
for following PHYs: QS6612, LXT970, LXT971/2". Does it mean that LXT972
can use 971's driver? If not, basically what kind of modification is
needed? Thanks.

- Shawn.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/