Hi Joakim,

--- Joakim Wennergren wrote:

> Doug Kehn wrote:
> > Hi Joakim,
> > 
> > --- Joakim Wennergren wrote:
> > 
> >> I'm getting an error when trying to ifconfig up
> >> interface eth0:
> >>
> >> xp400_eth: ixEthMiiLinkStatus failed on PHY0.
> >>           Can't determine
> >>    the auto negotiated parameters. Using default
> >> values.
> >>
> >>
> >> I'm using snapgear 3.5.0 with ixp400 Access
> library
> >> 2.1, with the 
> >> patches from snapgear applied.
> >>
> >> There was a previous mail here with the same
> problem
> >>
> >>
> >
>
(http://mailman.uclinux.org/pipermail/uclinux-dev/2006-January/036476.html),
> >> but I have already applied the patches mentioned
> in
> >> his solution...
> >>
> >> Any ideas?
> >>
> > 
> > What target are you building for? 
> > 
> > Regards,
> > ....doug
> > 
> > 
> 
> The target platform is an IXP422, and I've chosen
> the target IXDPG425 in 
> the kernel configuration (MACH_IXDPG425).
> 
> I had a working previous version of snapgear with
> this configuration, so 
> I guess it's correct.
> 
> 

Try poking some printk in ixEthMiiLinkStatus
(IxEthMii.c).  There are only a couple of things that
would cause ixEthMiiLinkStatus to return failure.

One is the reading of the PHY MII register(s).  An
indication that the PHY may not be working properly.

The other is the setting of phyNum/phyAddr.  In your
case phyNum/phyAddr is 0.  Is this consistent with the
working version?  If not, maybe the configuration
isn't what you expect it to be.

Regards,
...doug 


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to