[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compaq Netelligent 10/100 PC Card - Xircom 16-bit OEM - xe driver



On Wed, 21 Aug 2002, Stephen Gutknecht (OBSD Tech) wrote:

> I'm not a C programmer, but if I am interpreting this correctly - it
> specifically does not support Compaq ID version of the card?  So I decided
> to hack the code to return (1) on COMPAQ.  Using STABLE (downloaded today),
> I rebuilt my kernel (first time) and rebooted.  Now when I insert the card,

this is going from bad to worse, but it may help, so you only match once.
at the top of the function, add "static int compaq_matched;"

and change:

>  switch (pa->manufacturer) {
> 	case PCMCIA_VENDOR_COMPAQ:
> 	case PCMCIA_VENDOR_COMPAQ2:
		if(!compaq_matched++)
			return (1);
		else
> 			return (0);


--
Mediocrity is a sin.