Subject: mc0 performance
To: None <port-macppc@netbsd.org>
From: David Young <dyoung@pobox.com>
List: port-macppc
Date: 08/26/2004 16:09:42
I have a Umax Supermac S900 with a mc0 on a tiny daughterboard.  I get
about 1.2kB/s from it when it is not stalled.  This is not satisfactory
for downloading a ~2MB compressed kernel. :-) Does anybody know what is
going on?

The card has both an AUI port and a 10baseT port.  It does not seem to
make any difference in performance whether I plug a CAT5 cable into an
AUI converter dongle or the 10baseT port.

Looking at src/sys/arch/macppc/dev/if_mc.c, it seems that the author
(Dave Huang) had intended to let me set media 10base5 or media 10baseT
with ifconfig, but only media manual is available.  (If there are switches
inside the S900 to select the media, I have not found them.)

# grep mc0 /var/run/dmesg.boot
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:59:01:ef:f2
# ifconfig mc0
mc0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:a0:59:01:ef:f2
        media: Ethernet manual
        inet 192.168.29.232 netmask 0xffffff00 broadcast 192.168.29.255
        inet6 fe80::2a0:59ff:fe01:eff2%mc0 prefixlen 64 scopeid 0x1

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933