Subject: Re: HomePNA problems
To: Jarkko Teppo <jarkko.teppo@er-grp.com>
From: Erik E. Fair <fair@clock.org>
List: port-alpha
Date: 01/04/2003 12:52:55
At 13:59 +0200 11/4/02, jarkko.teppo@er-grp.com wrote:
>On Mon, Aug 26, 2002 at 11:29:47AM -0700, Jason R Thorpe wrote:
>>  On Mon, Aug 26, 2002 at 08:21:28PM +0300, Jarkko Teppo wrote:
>>
>>   > pnaphy0 at vr0 phy 2: Am79C901 HomePNA 1.0 interface, rev. 4
>>   > pnaphy0: 10baseT
>>   > OUI 0x000058 model 0x0037 rev 1 at vr0 phy 3 not configured
>>   > ifmedia_set: no match for 0x20/0xffffffff
>>   > panic: ifmedia_set
>>   > halted.
>>
>>  Ah, I know what the problem is, here.  This is sort of a generic problem
>>  with the MII code.
>>
>
>Striking similarity with kern/18590. I'll try the IFM_IMASK trick if/when
>I find some time. Unfortunately I have no clue about PHYs at all.
>
>--
>jht

Among the other things that I did when I encountered the problem 
reported in that PR is make a commit (with Jason Thorpe's approval) 
to the AMD PNA PHY code that correctly marks the HomePNA PHY as 
HomePNA rather than 10baseT as reported above. It's in current.

Please note that the AMD 79c901 chip has two PHYs on it - the second 
one is a standard 10baseT and is on the second "instance" as we call 
it, or the higher PHY number.

	Erik <fair@clock.org>