860T FEC
Has anyone had any luck with the 860T FEC driver in the 2.4 kernel (I am using the 01/13/01 snapshot from FSMLabs). It is certainly not working out-of-the-box as it were. For example, it tries calling mii_queue with read operations that require the MII interrupt before interrupts have even been enabled. There is code that needs to be run in the fec_restart() function (such as the interrupt enable, and just enabling the ethernet device) but it is never called. I cannot see how this code was ever working properly. Is anyone running it that can refute this? I have made some changes that seem to get it halfway there, but am not getting any transmit interrupts yet (I am getting receive and mii interrupts).
Cheers,
tim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Timothy Ritchey
Has anyone had any luck with the 860T FEC driver in the 2.4 kernel (I am using the 01/13/01 snapshot from FSMLabs).
If you would have searched the archives, you would have noticed:
1) We know it doesn't work
2) Wolfgang Denk has one you can download
3) BenH probably has a better one by now
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi Tim,
Quoted 4 lines · in message <[email protected]> you wrote:
Has anyone had any luck with the 860T FEC driver in the 2.4 kernel (I am using the 01/13/01 snapshot from FSMLabs). It is certainly not working out-of-the-box as it were. For example, it tries calling
mii_queuewith
No, it ain't.
Quoted 2 lines
the ethernet device) but it is never called. I cannot see how this code was ever working properly. Is anyone running it that can refute this? I
I think you are right. This code cannot work, never could.
But the good news is that I have a working version of the FEC driver; see our modified kernel sources in ftp://ftp.denx.de/pub/LinuxPPC/usr/src/,
or the patch at ftp://ftp.denx.de/pub/LinuxPPC/usr/src/patches/patch.8xx_misc (and the README for it in ftp://ftp.denx.de/pub/LinuxPPC/usr/src/patches/README.8xx_misc ).
BTW: I've sent all these patches to Dan and Cort and Ben, so I hope at least part of it will make it in the official sources.
Quoted 3 lines
have made some changes that seem to get it halfway there, but am not getting any transmit interrupts yet (I am getting receive and mii interrupts).
It's working for me in several configurations.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Visit us at Embedded Systems: Feb 14-16 2001, Nuremberg, Halle 12/K01 (with TQ Components); our presentation "Starke Zwerge: Embedded Linux auf PowerPC-Systemen" on Thursday, Feb 15 2001, 13:30 Forum Halle 11.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Wolfgang Denk
BTW: I've sent all these patches to Dan and Cort and Ben, so I hope at least part of it will make it in the official sources.
Thanks! I finally got it up and running, and have ethernet!!!. I had to make some changes WRT some of the MII commands, which I don't think would impact anyone else, but I also had to change the order of setting the fecp->imask, and clearing the interrupts. The patch had it clearing the interrupts, then setting the mask. It needed to be the otherway around, at least for me.
Cheers,
tim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/