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

Re: Cisco Aironet 350 PCI card not configured



I have tried both patches you sent and I was not able to get anything
working. I get errors about the PCI_PRODUCT_AIRONET_PCI352 not being
defined. I suppose I might as well just upgrade to a snapshot to get it
working. Thanks for your help.

Bryan

On Sun, Sep 23, 2001 at 11:03:36PM -0600, Peter Valchev wrote:
> > I recently purchased a Cisco Aironet 350 PCI card to use in my OpenBSD
> > box. I installed it and no interface showed up. I compiled a generic
> > kernel which had an* enabled by default and I also used a custom
> > compiled kernel. I get this message in dmesg:
> > 
> > vendor "Aironet", unknown product 0x350 (class network, subclass
> > miscellaneous, rev 0x01) at pci1 dev 7 function 0 not configured
> > 
> > >From the an(4) man page I gathered that the 350 is supported. Anyone
> > have any ideas on what I could do to get it to work? On a side note, I
> > also purchased an Aironet 350 PCMCIA card and it works like a dream.
> > Thanks for your help.
> 
> Can you try w/ this patch please?
> 
> 
> Index: if_an_pci.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/if_an_pci.c,v
> retrieving revision 1.5
> diff -u -r1.5 if_an_pci.c
> --- if_an_pci.c	2001/08/25 10:13:29	1.5
> +++ if_an_pci.c	2001/09/24 05:08:48
> @@ -94,11 +94,16 @@
>  {
>  	struct pci_attach_args *pa = aux;
>  
> -	if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AIRONET &&
> -	    (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AIRONET_PCI352 ||
> -	     PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AIRONET_PC4500 ||
> -	     PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AIRONET_PC4800))
> -		return(1);
> +	switch (pa->pa_id) {
> +	case PCI_VENDOR_AIRONET:
> +		switch (PCI_PRODUCT(pa->pa_id)) {
> +		case PCI_PRODUCT_AIRONET_PCI352:
> +		case PCI_PRODUCT_AIRONET_PC4500:
> +		case PCI_PRODUCT_AIRONET_PC4800:
> +		case PCI_PRODUCT_AIRONET_350:
> +			return(1);
> +		}
> +	}
>  
>  	return(0);
>  }