I bought this cheap chinese device from ebay, after tweaking a bit with puc and some help from sthen@, it works fine, tested devices tty02 and tty03.
The thing is I've no idea which vendor it is, noir which device it is, the only thing written on the card is "Sun 1040". The vendor-id and device-id are not listed in any pci database. Unfortunately I binned the driver cd which could contain some information. Freebsd folks have something similar: http://groups.google.com/group/mailing.freebsd.bugs/browse_thread/thread/41bedcffd4cbe4ef/b713700568c46002?show_docid=b713700568c46002 Should we leave the bare hexa numbers ? I'd like to get this in. Index: pci/pucdata.c =================================================================== RCS file: /cvs/src/sys/dev/pci/pucdata.c,v retrieving revision 1.79 diff -d -u -p -w -r1.79 pucdata.c --- pci/pucdata.c 2 Jan 2012 11:07:02 -0000 1.79 +++ pci/pucdata.c 7 Jan 2012 21:41:18 -0000 @@ -1892,6 +1892,16 @@ const struct puc_device_description puc_ { PUC_COM_POW2(0), 0x10, 0x0000 }, { PUC_COM_POW2(0), 0x14, 0x0000 }, }, + }, + { /* "Sun 1040 board" */ + { 0x5372, 0x6873, 0, 0 }, + { 0xffff, 0xffff, 0, 0 }, + { + { PUC_COM_POW2(0), 0x10, 0x0000 }, + { PUC_COM_POW2(0), 0x14, 0x0000 }, + { PUC_COM_POW2(0), 0x18, 0x0000 }, + { PUC_COM_POW2(0), 0x1c, 0x0000 }, + }, } }; int puc_ndevs = nitems(puc_devs); console is /pci@1f,0/pci@1,1/ebus@1/se@14,400000:a Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.0-current (GENERIC) #7: Sat Jan 7 18:34:17 BRST 2012 root@gandalf.midearth:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 268435456 (256MB) avail mem = 251625472 (239MB) mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 400 MHz cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-3, PCI bus 0 psycho0: dvma map c0000000-dfffffff pci0 at psycho0 ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ivec 0x25 "SUNW,pll" at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2 sabtty0 at sab0 port 0: console sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a wsmouse0 at comms0 mux 0 lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec 0x22: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x27 not configured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 00:03:ba:08:72:5a nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 machfb0 at pci1 dev 2 function 0 "ATI Mach64" rev 0x5c machfb0: ATY,GT-C, 1152x900 wsdisplay0 at machfb0 mux 1 wsdisplay0: screen 0 added (std, sun emulation) pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7e0 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct20 40> wd0: 8-sector PIO, LBA, 38172MB, 78177792 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRD-8483B, 1.02> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13 pci2 at ppb1 bus 2 pciide1 at pci2 dev 1 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide1: using ivec 0x7d0 for native-PCI interrupt pciide1: port 2: device present, speed: 1.5Gb/s wd1 at pciide1 channel 2 drive 0: <SAMSUNG HD154UI> wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors wd1(pciide1:2:0): using BIOS timings, Ultra-DMA mode 2 puc0 at pci2 dev 2 function 0 unknown vendor 0x5372 product 0x6873 rev 0x01: ports: 4 com com0 at puc0 port 0 ivec 0x7d4: st16650, 32 byte fifo com0: probed fifo depth: 0 bytes com1 at puc0 port 1 ivec 0x7d4: ns16550a, 16 byte fifo com2 at puc0 port 2 ivec 0x7d4: ns16550a, 16 byte fifo com2: probed fifo depth: 0 bytes com3 at puc0 port 3 ivec 0x7d4: ns16550a, 16 byte fifo com3: probed fifo depth: 0 bytes ppb2 at pci2 dev 3 function 0 "Intel 21154AE/BE PCI-PCI" rev 0x00 pci3 at ppb2 bus 3 "Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01: ivec 0x7d9, address 00:03:ba:36:fe:00 luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 1 function 0 not configured hme2 at pci3 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7da, address 00:03:ba:36:fe:01 luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 2 function 0 not configured hme3 at pci3 dev 2 function 1 "Sun HME" rev 0x01: ivec 0x7db, address 00:03:ba:36:fe:02 luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 3 function 0 not configured hme4 at pci3 dev 3 function 1 "Sun HME" rev 0x01: ivec 0x7d8, address 00:03:ba:36:fe:03 luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0 root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted