Subject: Re: PCI printer card
To: iware <dkwok@iware.com.au>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-i386
Date: 04/27/2002 08:50:20
Please try the following patch to /sys/dev/pci/pucdata.c and build a kernel
with:

	puc*    at pci? dev ? function ?        # PCI "universal" comm. cards
	com*    at puc? port ?                  # 16x50s on "universal" comm boards
	lpt*    at puc? port ?                  # || ports on "universal" comm boards

--- pucdata.c.orig	Sat Apr 27 08:45:05 2002
+++ pucdata.c	Sat Apr 27 08:46:30 2002
@@ -776,4 +776,13 @@
 	},
 
+	/* NetMos 1P PCI : 1P */
+	{   "NetMos NM9805 1284 Printer port",
+	    {	0x9710,	0x9805,	0,	0	},
+	    {	0xffff,	0xffff,	0,	0	},
+	    {
+		{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
+	    },
+	},
+
 	/* NetMos 2S1P PCI 16C650 : 2S, 1P */
 	{   "NetMos NM9835 Dual UART and 1284 Printer port",


On Sat, Apr 27, 2002 at 11:05:08AM +1000, iware wrote:
> An extract of dmesg of my NetBSD server:
> 
> bash-2.05$ dmesg
> ...
> unknown vendor 0x9710 product 0x9805 (miscellaneous communications, revision
> 0x0
> 1) at pci0 dev 7 function 0 not configured
> 
> The question is how to turn it on. I can find a lot of info in the hardware
> support page of NetBSD website.
> 
> David Kwok
> LLK Pty Ltd

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)