Subject: Re: adding support for new PHY?
To: None <khym@azeotrope.org>
From: Johan A.van Zanten <johan@giantfoo.org>
List: netbsd-help
Date: 01/26/2007 16:23:47
khym@azeotrope.org wrote:

> I don't know about writing a PHY driver, but that chip isn't a PHY;
> it's a transfomer. http://www.taimag.com/Products/LAN-IH.htm

Ah, i should have realized that.

> According to the re(4) manpage, the 8169S has a built-in PHY. Try adding
> rgephy to your kernel config.

 I built a new kernel with:

     rgephy* at mii? phy ?


 And it is recognized during the boot:

re0 at pci0 dev 14 function 0: RealTek 8169S Single-chip Gigabit Ethernet
re0: interrupting at dec 6600 irq 35
re0: Ethernet address 00:e0:4c:77:79:80
re0: using 512 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 0

 But i can't get it to work (via 'ifconfig re0 media 100baseTX mediaopt
full-duplex' for example) with the switch at anything other than 10baseT.

 (This is NetBSD 3.1.)

Thanks for your help.

 -johan