Subject: Re: how to add PCI card?
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: netbsd-help
Date: 10/15/2004 16:16:44
Manuel Bouyer --> netbsd-help (2004-10-14 22:15:00 +0200):
> OK, the 2.2.x driver has a table which contains the information. The attached
> patch should work.

It does, thanks a lot!

Regards, Jukka

> Index: pucdata.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/pci/pucdata.c,v
> retrieving revision 1.37
> diff -u -r1.37 pucdata.c
> --- pucdata.c	4 Jul 2004 10:02:03 -0000	1.37
> +++ pucdata.c	14 Oct 2004 20:14:03 -0000
> @@ -668,6 +668,16 @@
>  	    },
>  	},
>  
> +	/* VScom PCI-200: 2S */
> +	{   "VScom PCI-400",
> +	    {	0x10b5,	0x1103,	0x10b5,	0x1103	},
> +	    {	0xffff,	0xffff,	0xffff,	0xffff	},
> +	    {
> +		{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
> +		{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ * 8 },
> +	    },
> +	},
> +
>  	/* VScom PCI-400: 4S */
>  	{   "VScom PCI-400",
>  	    {	0x10b5,	0x1077,	0x10b5,	0x1077	},

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