Subject: Support for PCI communications devices in -current
To: None <current-users@NetBSD.ORG>
From: Chris G. Demetriou <email@example.com>
Date: 06/26/1998 12:03:29
I've added support for some random PCI communications devices in
The driver is 'puc' and 'lpt' and 'com' can attach to it.
Right now, the following boards are supported:
Dolphin 4014 (dual parallel port)
Dolphin 4035 (dual serial port)
SIIG CyberSerial PCI (single serial port)
Additionally, the following boards would be trivial to support (just a
few table entries need to be added), but since I didn't actually get
my hands on the hardware I couldn't do it myself:
Dolphin 4006 (single parallel)
Dolphin 4025 (single serial)
SIIG CyberParallel PCI (single parallel)
And other, similar boards should be equally easy to add. (I found all
of these boards at Fry's in the bay area.)
If you have a board like this, or can get your hands on one (esp. from
a place with a good return policy ... like fry's 8-), and it's not
supported, do something like the following:
build a kernel with the '#if 0's in sys/dev/pci/pci.c turned
to #if 1s and a larger message buffer (options
MSGBUFSIZE="(128 * 1024)").
boot that kernel.
Then either send-pr the spew for your board, saying "here's a PCI
communications device that probably should be supported but isn't",
or, better yet, look into the spew and the driver, and create a new
table entry for sys/dev/pci/pci/pucdata.c and send-pr that.
Support for the 'lpt' code requires hooks in the machine-dependent
'files' file, so right now they only work on the i386. I've also
added support for these boards to the appropriate i386 kernel config
files. I'll send mail to the appropriate people to get the support
added to other ports.
Read the comments in the code and config files, to find out some of
the nastier details and some of my thoughts about this hardware and
our support for it. 8-)