Subject: kern/7896: No kernel support for SIIG "Cyber I/O PCI" (serial/parallel)
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Mumpower <nocturne@arepa.com>
List: netbsd-bugs
Date: 07/02/1999 14:35:47
>Number:         7896
>Category:       kern
>Synopsis:       No kernel support for SIIG "Cyber I/O PCI" (serial/parallel)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul  2 14:35:01 1999
>Last-Modified:
>Originator:     Eric Mumpower
>Organization:
Arepa
	
>Release:        stock NetBSD 1.4 kernel source base<NetBSD-current source date>
>Environment:
	
System: NetBSD dr-teeth 1.4 NetBSD 1.4 (TEETH) #7: Fri Jul 2 16:29:52 EDT 1999 nocturne@dr-teeth:/usr/src/sys/arch/i386/compile/TEETH i386


>Description:
No support for puc: SIIG "Cyber I/O PCI" 1-serial/1-parallel card.

>How-To-Repeat:

First, acquire the need for an extra serial port in a x86 system with
no spare ISA slots.

Then, buy a PCI serial card for $5 at the swapfest, assuming it'll
"just work" with NetBSD because NetBSD is cool that way. Take it home
and discover that NetBSD doesn't recognize it.

Finally, ask a few clueless questions, dig up the specs, and then try
adding an educated semi-guess to the puc config table. Fall out of
your chair in amazement that it appears to work on the first try.

>Fix:

Note, I haven't tested this more than to confirm that pilot-xfer(1)
works, as that's all I really wanted this port for. :-) Any
suggestions for a simple but more robust testing would be welcome. (I
can trivially connect this serial port to another NetBSD box and run a
program at both ends of the connection, if that's useful.)

Also note, as I don't have a simple way of testing the parallel port
on this card, I haven't attempted to include it in the configuration
for this card.

*** pucdata.c-orig      Sat Feb  6 01:55:15 1999
--- pucdata.c   Fri Jul  2 16:17:59 1999
***************
*** 116,121 ****
--- 116,134 ----
        },
  
        /*
+        * SIIG Cyber I/O PCI (single serial, single parallel) card, product
+        * code 0x1010.  Large QFP chip on board labeled "PLX 9052".
+        *
+        * For reference, this model of card is SIIG Part# "JJ-P11012";
+        * this code appears on a sticker on the back of the card.
+        *
+        * Truly technical information on SIIG's cards *can* be found on
+        * SIIG's web site (www.siig.com), currently in the "PCI IO Drivers"
+        * section of their "Drivers" web page,
+        * <URL:http://www.siig.com/driver.htm>. The specs themselves are
+        * currently at <URL:ftp://siig.com/Cyber10x.pdf>.
+        *
+        */
+       {   "SIIG CyberI/O PCI",
+           {   0x131f, 0x1010, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+             { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+             /* { PUC_PORT_TYPE_LPT, XXX, XXX }, */
+           },
+       },
+ 
+       /*
         * XXX no entry because I have no data:
         * XXX SIIG Cyber 2S1P PCI (dual serial and single parallel)
         */
>Audit-Trail:
>Unformatted: