Subject: Re: gigabit ethernet cards
To: None <port-alpha@netbsd.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: port-alpha
Date: 12/17/2006 12:22:11
>> BTW, NetBSD does see the RealTek 8169S, but will not boot if
>> it is configured:
>> [_http://mail-index.netbsd.org/netbsd-help/2005/06/13/0011.html_]
>
> This seems caused by lack of PHY device (ukphy or rgephy)
> in kernel config. Anyway, the driver has been fixed in
> rtl8169.c rev 1.11 (after NetBSD-2.0) for alpha:

Thank you!  It took a few tries, but I now have the SC-SATG11's
RealTek 8169S talking.  The SC-SATG11 needs rgephy which 2.0.2 didn't
have, but I was in the process up updating to 3.0.1 anyway.

Although it doesn't come up properly every time.  A couple of times
I got:

re0 at pci1 dev 0 function 0: RealTek 8169S Single-chip Gigabit Ethernet
re0: interrupting at eb164 irq 1
re0: using 512 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: diagnostic failed, failed to receive packet in loopback mode
re0: attach aborted due to hardware diag failure
rgephy0 detached

Both times a reboot fixed it.