Subject: how to add PCI card?
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: netbsd-help
Date: 10/13/2004 20:49:34
Hi,

I added a serial I/O PCI card (VScom PCI-200, two ports, 16C550 UARTs)
to a i386 system running NetBSD 2.0_RC4. The card was detected as

PLX Technology product 0x1103 (serial communications, revision 0x01) at
 pci0 dev 9 function 0 not configured

I suspect the puc(4) driver to work for this card. If yes, I should
probably add a new entry to src/sys/dev/pci/pucdata.c, but I don't
understand most of the struct puc_device_description members. So far
I assume rval[0] to be the vendor ID and rval[1] to be the device ID,
but what are rval[2] and rval[3], rmask, ports.bar, ports.offset and
ports.flags?

Help is appreciated!


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~