Subject: Re: looking for driver for sun gigabit ethernet cards
To: Jonathan A. Kollasch <jakllsch@kirkkit.kollasch.net>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: tech-net
Date: 01/27/2006 12:17:47
On Thu, Jan 26, 2006 at 01:49:48PM -0600, Jonathan A. Kollasch wrote:
> On Thu, Jan 26, 2006 at 05:00:11PM +0100, Kurt Schreiner wrote:
> > Hi,
> > 
> > I'v some single-port and a quad-port sun-gigabit ethernet cards which
> > show in dmesg like so (this is on a sun w2100z dual opteron machine
> > running -current as of today):
> > 
> > The Ethernetchip is a DP83065UFJ...
> > 
> > Any chances to find a driver for these beasts?
> 
> The DP83865 is a GigE PHY, but I've also seen references to a DP83065.
> National is usually good about providing databooks, but I can only find
> one for the DP83865 PHY.
Yep. That's what i found, too...

> However I did find http://www.internetnews.com/infra/article.php/3333001
> that suggests that the MAC may be a Sun GigaSwift w/ a National PHY,
> fab'd by National.
Yep. I've found a SUN FRU Number on another card (501-6719-04), indicating
it's a "Sun GigaSwift Ethernet Adapter"...
 
> http://lists.freebsd.org/pipermail/freebsd-sparc64/2004-August/001943.html
> is also insightful.
Thanks for the link!

> It's *remotely* possible that the gem(4) or gsip(4) drivers would support
> this chip.
-remotely- ;-) after modifying src/sys/dev/pci/if_gem_pci.c a little,
the cards are recognized, but far from doing something usefull:

gem0 at pci2 dev 1 function 0: National Semiconductor product 0x0035 (rev. 0x30)
gem0: interrupting at ioapic1 pin 2 (irq 10)
gem0: Ethernet address 60:97:63:80:ff:ff, 972524KB RX fifo, 9KB TX fifo
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface
gem1 at pci9 dev 0 function 0: National Semiconductor product 0x0035 (rev. 0x30)
gem1: interrupting at ioapic4 pin 0 (irq 5)
gem1: Ethernet address e0:8f:63:80:ff:ff, 2095030KB RX fifo, 9KB TX fifo
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface
gem2 at pci9 dev 1 function 0: National Semiconductor product 0x0035 (rev. 0x30)
gem2: interrupting at ioapic4 pin 1 (irq 11)
gem2: Ethernet address e0:8f:63:80:ff:ff, 4294940104KB RX fifo, 9KB TX fifo
ukphy2 at gem2 phy 1: Generic IEEE 802.3u media interface

and so on for the other two "gem's" on the quad port board...
The MAC-adresses aren't looking sane and I think the value for RX fifo
is a little high, too. ;-) I can ifconfig(8) a inet number, interface
goes up, but that's it...

gem2: flags=8c63<UP,BROADCAST,NOTRAILERS,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: e0:8f:63:80:ff:ff
        media: Ethernet autoselect (10baseT)
        status: active
        inet 10.90.40.29 netmask 0xfffffe00 broadcast 10.90.41.255

(10bastT is ok, as it's hooked up to an old 10Mbit hub...)

Maybe I can spend some time over the weekend looking into this...

Kurt