NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46424: hme(4) on Sun Netra T1 won't work - shows no
The following reply was made to PR kern/46424; it has been noted by GNATS.
From: Julian Coleman <jdc%coris.org.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/46424: hme(4) on Sun Netra T1 won't work - shows no
Date: Wed, 9 May 2012 20:47:57 +0100
Hi,
> So your NetBSD 5 dmesg shows:
> while 6_BETA says:
> which looks just the same to me.
> Can you please try to select a phy with
>
> ifconfig hme0 instance 0
>
> and
>
> ifconfig hme0 instance 1
>
> and show us full output from "ifconfig hme0" after both?
I'm guessing that revision 1.77 of src/sys/dev/ic/hme.c is to blame here:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/hme.c.diff?r1=1.76&r2=1.77
Check for internal PHY first, so that it always attaches first, even when
we have an MII transeiver attached.
Count all collision and error counters.
Handle counter overflow and RXTERR.
Tested on U60 HME, PCI HME (501-5019) and SBus Sunswift (501-2739)
and I guess that the T1 wires up the MII (external) PHY to the physical port.
If things work with `ifconfig hme0 instance 1`, that will be the case. The
problem then becomes how to work out which PHY's are actually connected to a
physical port, as both PHY's are always present on all the single HME's that
I've seen.
Thanks,
J
--
My other computer also runs NetBSD / Sailing at Newbiggin
http://www.netbsd.org/ / http://www.newbigginsailingclub.org/
Home |
Main Index |
Thread Index |
Old Index