Subject: Re: SiS 900 ethernet working?
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Andrew Gillham <gillham@vaultron.com>
List: current-users
Date: 08/03/2000 00:11:27
Izumi Tsutsui writes:
> Hi,
> 
> Does anyone use the SiS 900 PCI ethernet with sip driver?
> 
> I would like to make it work on macppc, but it does not seems
> to work even on i386. It does not receive any packets unless
> IFF_PROMISC flag is set on the interface.
> (i.e. it can receive packets only if tcpdump is running.)
> 
> I've checked dev/pci/if_sip.c and the SiS 900 manual,
> but I cannot find any problems...

Just tested my Amptron motherboard.  The 'sip' is working great, I booted
a new kernel with 'dosboot' and selected a NFS root.  With 'ttcp' I got
about 80 Megabit/s from my server machine.

Below is the dmesg output.

-Andrew

NetBSD 1.5_ALPHA (GENERIC) #11: Wed Aug  2 23:45:21 EDT 2000
    root@xxx:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: family 6 model 6 step 5
cpu0: Intel Pentium II (Celeron) (686-class)
total memory = 56960 KB
avail memory = 35920 KB
using 3550 buffers containing 14200 KB of memory
BIOS32 rev. 0 found at 0xfdae0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Acer Labs product 0x1621 (rev. 0x04)
ppb0 at pci0 dev 1 function 0: Acer Labs product 0x5247 (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation Aladdin TNT2 (rev. 0x20)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
cmpci0 at pci0 dev 12 function 0: CMI8738 PCI Audio Device
cmpci0: interrupting at irq 5
audio0 at cmpci0: full duplex, mmap, independent
C-Media Electronics Inc HSP56 Audiomodem Riser (miscellaneous communications, revision 0x10) at pci0 dev 12 function 1 not configured
sip0 at pci0 dev 14 function 0: SiS 900 10/100 Ethernet
sip0: interrupting at irq 3
sip0: Ethernet address 00:00:de:ad:be:ef <- no use giving this for free.
ukphy0 at sip0 phy 0: Generic IEEE 802.3u media interface
ukphy0: SiS 900 10/100 media interface (OUI 0x000760, model 0x0000), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc2)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 92048U8>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 19531 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 40000464 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask ef45 netmask ef4d ttymask ffcf
boot device: <unknown>
root device: sip0
dump device: 
file system (default generic): 
root on sip0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: xxx.xxx.xxx.xxx
nfs_boot: my_domain=vaultron.com
nfs_boot: my_addr=xxx.xxx.xxx.xxx
nfs_boot: my_mask=xxx.xxx.xxx.xxx
nfs_boot: gateway=xxx.xxx.xxx.xxx
root on xxx.xxx.xxx.xxx:/u1/node0
root file system type: nfs