8360 custom board, ucc_geth TX errors on longer(?) packets

Kim Phillips kim.phillips at freescale.com
Sat Feb 2 10:18:33 EST 2008


On Fri, 01 Feb 2008 16:06:15 -0600
Steven Hein <ssh at sgi.com> wrote:

> Steven Hein wrote:
> > But we're using GMII to the switch....and that workaround
> > code wasn't in active in my old kernel (it was there, but
> > commented out).
> >
> > Any other thoughts?    Has anyone seen this symptom before?
> >
> > Steve
> >
> Okay....I found it!    Started poking at the UCCE registers
> and found that the FIFO sizes weren't right.   This led me
> to find a bug in my ucc_geth interface to the fixed-link
> PHY driver:  the code to reconfigure the MURAM FIFO's for
> Gigabit operation wasn't being executed for no-phy configs!
> All is well once I changed this.
> 
> Sorry for the noise.....   (glad I found this before
> submitting my patch!   ;-)
> 
yeah ucc_geth should be made aware of fixed-links on startup; UCCs
aren't like TSECs that know what MII type they're on.

setting phy-connection-type to certain strings containing a
'g' in the device tree should do the trick, too..:)

Kim


More information about the Linuxppc-embedded mailing list