Subject: Re: 3COM Gigabit not recogniced
To: Stephen Degler <stephen@degler.net>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/20/2003 16:21:00
Hi,

On Sunday, 17 August 2003, Stephen Degler wrote:
> If you are feeling adventerous, please try the patch in PR kern/22511.
> I'd appreciate the testing and feedback.
I was adventerous and tried your patch. There were two small glitches
I had to correct to make the code compile (patches below) ... and some
minutes later the kernel was up and running on the Asus machine,
recognizing the 3Com-chip as sk0. After ifconfig(8)uring I tried to ftp
some 500M-file from and to my notebook and one of my Suns, resulting
in around 4500k/sec each. This value was confirmed trying some messurements
using ttcp (notebook <-> AsusPC). The machines are connected to
100MBit-el-cheepo-Switches...

Before I could save some dmesg-output or the figures produced by ttcp
the machine was taken away from my desk to go to it's final
destination, so I can't do any further testing, sorry...

Kurt

Here 're the patches:

diff -u sys/arch/i386/conf/GENERIC{.sk,}
--- sys/arch/i386/conf/GENERIC.sk        2003-08-18 12:20:30.000000000 +0200
+++ sys/arch/i386/conf/GENERIC   2003-08-18 13:01:04.000000000 +0200
@@ -688,7 +688,7 @@
 rtk*   at pci? dev ? function ?        # Realtek 8129/8139
 sf*    at pci? dev ? function ?        # Adaptec AIC-6915 Ethernet
 sip*   at pci? dev ? function ?        # SiS 900/DP83815 Ethernet
-skc*   at pci? dev ? funtcion ?        # SysKonnect SK9821 Gigabit Ethernet
+skc*   at pci? dev ? function ?        # SysKonnect SK9821 Gigabit Ethernet
 sk*    at skc?                         # SysKonnect SK9821 Gigabit Ethernet
 ste*   at pci? dev ? function ?        # Sundance ST-201 Ethernet
 stge*  at pci? dev ? function ?        # Sundance/Tamarack TC9021 Gigabit


and


diff -u sys/dev/pci/if_sk.c{.sk,}
--- sys/dev/pci/if_sk.c.sk  2003-08-18 12:11:12.000000000 +0200
+++ sys/dev/pci/if_sk.c     2003-08-18 13:31:36.000000000 +0200
@@ -259,7 +259,6 @@
                },
                { 0,
                  0,
-                 0
                }
        };