Subject: kern/18590: sip (SiS 900) driver doesn't find PHYs, doesn't work on AMD EasyNow! PC
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@digital.clock.org>
List: netbsd-bugs
Date: 10/08/2002 18:50:21
>Number:         18590
>Category:       kern
>Synopsis:       sip (SiS 900) driver doesn't find PHYs, doesn't work on AMD EasyNow! PC
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 08 18:51:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 1.6I
>Organization:
International Organization of Internet Clock Watchers
>Environment:
Architecture: i386
Machine: i386

	http://www3pub.amd.com/products/cpg/easynow/prodbrief.html

NetBSD 1.6I (GENERIC) #0: Wed Oct  2 12:05:28 EST 2002
    root@mofo:/data1/netbsd/current/20021002/i386/obj/sys/arch/i386/compile/GENERIC
total memory = 123 MB
avail memory = 108 MB
using 1607 buffers containing 6428 KB of memory
BIOS32 rev. 0 found at 0xfb360
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K6-2 (586-class), 448.90 MHz
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
cpu0: I-cache 32 KB 32b/line 2-way, D-cache 32 KB 32b/line 2-way
cpu0: ITLB 64 4 KB entries direct-mapped
cpu0: DTLB 128 4 KB entries 2-way
cpu0: 4 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System 530 Host to PCI Bridge (rev. 0x03)
agp0 at pchb0: aperture at 0xd8000000, size 0x4000000
pciide0 at pci0 dev 0 function 1: Silicon Integrated System 5597/5598 IDE controller (rev. 0xd0)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC AC310200R>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9787 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 20044080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <TX240T, , H01J> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pcib0 at pci0 dev 1 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x00)
sip0 at pci0 dev 1 function 1: SiS 900 10/100 Ethernet, rev 0x1
sip0: interrupting at irq 11
sip0: Ethernet address 00:30:67:03:3f:19
ohci0 at pci0 dev 1 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x07)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 5 ports with 5 removable, self powered
autri0 at pci0 dev 1 function 3: Silicon Integrated System SiS 7018 Sound (rev. 0x01)
autri0: interrupting at irq 12
autri0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at autri0: full duplex, mmap, independent
midi0 at autri0: 4DWAVE MIDI UART
ppb0 at pci0 dev 2 function 0: Silicon Integrated System 86C201 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Silicon Integrated System 530 GUI Accelerator+3D (rev. 0xa3)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
midi1 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
isapnp0: no ISA Plug 'n Play devices found
biomask e7fd netmask effd ttymask efff
uhidev0 at uhub0 port 3 configuration 1 interface 0
uhidev0: USB K/B with ACPI USB K/B with ACPI, rev 1.00/0.01, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1
uhidev1: USB K/B with ACPI USB K/B with ACPI, rev 1.00/0.01, addr 2, iclass 3/1
uhidev1: 2 report ids
ums0 at uhidev1 reportid 1: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
sip0: device timeout

>Description:
	The AMD EasyNow! PC is a "legacy-free", integrated system
	based around an SiS motherboard.

	The major chips are the SiS 530 and SiS 960.

	One DIMM slot for PC100 RAM, maximum 128 megabytes.

	No PCI slots - all system expansion is done with USB.

	Available I/O devices are: one IDE disk, one IDE/ATAPI
	CD-ROM drive, a "winmodem" line interface (two RJ-11's,
	one marked for line, one for phone), four sound jacks (mic
	in, line in, headphones out, line out), an HD-15 VGA, five
	USB ports, and an RJ-45 for 10/100 Ethernet.

	The sip driver attaches to the SiS 900 core found on the
	internal PCI bus, but scans of the MII bus find no PHYs
	(bsmr for all PHY id's come back as 0xffff). According to
	the system manual, this computer supports both standard
	10/100 Ethernet through its RJ-45 jack, and HomePNA through
	the RJ-11 line interface, using an AMD 79c901 PHY (seen on
	the motherboard), so there must be at least two PHYs on
	the MII (or somewhere).

	NetBSD was installed on this system by preparing an IDE
	disk on another i386 system, and physically installing that
	disk in this system.

	I'd like to get the 10/100 Ethernet interface to work properly.

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: