Hi all,

I bought a PCI SATA controller off the shelf at a local store last week. It was so cheap I didn't bother checking the chipset on it. It's a rebranded Sunix card:

http://www.sunix.com.tw/it/en/Product_Detail.php?cate=2&class_a_id=34&sid=447

When I plugged it in I realised it uses a Initio chip, not supported by OpenBSD:

vendor "Initio", unknown product 0x1622 (class mass storage subclass SATA, rev 0x02) at pci0 dev 7 function 0 not configured

(Full dmesg below)

This is what 'lspci -vvx' has to say about the card:

00:07.0 SATA controller: Initio Corporation Unknown device 1622 (rev 02) (prog-if 00 [Vendor specific])
        Subsystem: Initio Corporation Unknown device 1622
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at e400
        Region 1: I/O ports at e000
        Region 2: I/O ports at dc00
        Region 3: I/O ports at d800
        Region 4: I/O ports at d400
        Region 5: Memory at fe123000 (32-bit, non-prefetchable)
        Expansion ROM at fe000000 [disabled]
        Capabilities: [dc] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 01 11 22 16 17 01 b8 02 02 00 06 01 10 20 00 00
10: 01 e4 00 00 01 e0 00 00 01 dc 00 00 01 d8 00 00
20: 01 d4 00 00 00 30 12 fe 00 00 00 00 01 11 22 16
30: 00 00 00 fe dc 00 00 00 00 00 00 00 05 01 00 00

Looks like Linux got support last year:
http://marc.info/?l=linux-ide&m=116781318032241&w=2

I'll ship this card off to a developer in Europe willing to give an OpenBSD driver a go. After reading the comments from the linux developer about the chip, I understand if you're hesitant. :)


/Johan

OpenBSD 4.3 (GENERIC) #696: Thu Mar  6 05:09:01 MST 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 1.80GHz ("GenuineIntel" 686-class) 1.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 804814848 (767MB)
avail mem = 769646592 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/19/04, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfadf0 (78 entries)
bios0: vendor Dell Computer Corporation version "A09" date 10/19/2004
bios0: Dell Computer Corporation PowerEdge 600SC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) NIC_(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x8000 0xd1000/0x1000 0xd2000/0x800 0xe3000/0x7800! 0xec000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks GCNB-LE Host" rev 0x32
pchb1 at pci0 dev 0 function 1 "ServerWorks GCNB-LE Host" rev 0x00
em0 at pci0 dev 2 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 10, address 00:c0:9f:21:b8:7a
puc0 at pci0 dev 3 function 0 "Sunix 40XX" rev 0x01: ports: 2 com, 1 lpt
pccom3 at puc0 port 0 irq 5: ti16750, 64 byte fifo
pccom3: probed fifo depth: 32 bytes
pccom4 at puc0 port 1 irq 5: ti16750, 64 byte fifo
pccom4: probed fifo depth: 32 bytes
lpt3 at puc0 port 2: interrupting at irq 5
puc1 at pci0 dev 4 function 0 "Sunix 40XX" rev 0x01: ports: 2 com, 1 lpt
pccom5 at puc1 port 0 irq 3: ti16750, 64 byte fifo
pccom5: probed fifo depth: 32 bytes
pccom6 at puc1 port 1 irq 3: ti16750, 64 byte fifo
pccom6: probed fifo depth: 32 bytes
lpt4 at puc1 port 2: interrupting at irq 3
xl0 at pci0 dev 5 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 10, address 00:01:02:9e:d4:e6
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
vendor "Initio", unknown product 0x1622 (class mass storage subclass SATA, rev 0x02) at pci0 dev 7 function 0 not configured
vga1 at pci0 dev 8 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB6" rev 0xa0: SMBus disabled
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB6 RAID/IDE" rev 0xa0: DMA
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38146MB, 78125000 sectors
wd1 at pciide0 channel 0 drive 1: <ST380021A>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
wd2 at pciide0 channel 1 drive 0: <ST3200822A>
wd2: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd2(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pcib0 at pci0 dev 15 function 3 "ServerWorks GCLE-2 Host" rev 0x00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask f945 netmask fd45 ttymask ffef
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to