linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* CLLF860T FEC problem in linux-2.4.0-test4-pre6
@ 2000-07-13  8:55 Graham Stoney
  2000-07-13 16:02 ` Dan Malek
  0 siblings, 1 reply; 3+ messages in thread
From: Graham Stoney @ 2000-07-13  8:55 UTC (permalink / raw)
  To: LinuxPPC Embedded Mailing List


Hi dudes,

I've just had a shot at running the latest 2.2.4-test4-pre6 snapshot on a
CLLF860T board, and I'm finding that opening the FEC driver fails, because
the PHY hasn't been recognised.  Firstly though, I had to apply this patch
to get the FEC initialised:

diff -ur linux-2.4.0-test4-pre6/drivers/net/setup.c linux-2.4.0-test4-pre6.cllf/drivers/net/setup.c
--- linux-2.4.0-test4-pre6/drivers/net/setup.c	Wed May 24 01:21:51 2000
+++ linux-2.4.0-test4-pre6.cllf/drivers/net/setup.c	Thu Jul 13 18:03:42 2000
@@ -22,6 +22,7 @@
 extern int awc4500_365_probe(void);
 extern int arcnet_init(void);
 extern int scc_enet_init(void);
+extern int fec_enet_init(void);
 extern int dlci_setup(void);
 extern int lapbeth_init(void);
 extern int sdla_setup(void);
@@ -74,6 +75,9 @@
 #endif
 #if defined(CONFIG_SCC_ENET)
         {scc_enet_init, 0},
+#endif
+#if defined(CONFIG_FEC_ENET)
+        {fec_enet_init, 0},
 #endif
 #if defined(CONFIG_COMX)
 	{comx_init, 0},


I have CONFIG_FEC_QS6612 enabled in fec.c, but it appears that I'm never
getting an MII interrupt, because fec_enet_interrupt is never called.
Hence, neither mii_discover_phy function gets called, and fec_enet_open later
fails with -ENODEV.

Has anyone got any clues on this before I dive into it tomorrow?

Thanks,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-14  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-13  8:55 CLLF860T FEC problem in linux-2.4.0-test4-pre6 Graham Stoney
2000-07-13 16:02 ` Dan Malek
2000-07-14  2:46   ` Graham Stoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).