Subject: Re: adding support for new PHY?
To: Johan A. van Zanten <johan@giantfoo.org>
From: None <khym@azeotrope.org>
List: netbsd-help
Date: 01/26/2007 15:21:35
On Fri, Jan 26, 2007 at 07:52:00AM -0600, Johan A. van Zanten wrote:
> 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
> 
> Unfortunately, i suspect there might be a problem with the cards' PHY,
> which is matched by the Generic PHY driver:
> 
> ukphy0 at re0 phy 7: Generic IEEE 802.3u media interface
> 
>  I can't get the card to work with my Netgear GS724T gigabit switch, even
> when i set the media and mediaopts to "Ethernet 1000baseT full-duplex" and
> set the port accordingly on the switch.
> 
>  So i suspect the problem may be that the ukphy driver doesn't work well
>  with the RC-400's PHY, which is a "TAIMAG IH-002."

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

According to the re(4) manpage, the 8169S has a built-in PHY. Try adding
rgephy to your kernel config.
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 31 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++