Re: adding support for new PHY?

Johan A. van Zanten <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.