From nobody@FreeBSD.org  Fri Aug  3 10:20:07 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id D5FE837B405
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Aug 2001 10:20:06 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f73HK6l47510;
	Fri, 3 Aug 2001 10:20:06 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108031720.f73HK6l47510@freefall.freebsd.org>
Date: Fri, 3 Aug 2001 10:20:06 -0700 (PDT)
From: Bob Fleck <rfleck@cigital.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PCI probing does not detect Aironet 350 PCI cards
X-Send-Pr-Version: www-1.0

>Number:         29415
>Category:       kern
>Synopsis:       PCI probing does not detect Aironet 350 PCI cards
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    brooks
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 03 10:30:26 PDT 2001
>Closed-Date:    Mon Aug 6 16:15:21 PDT 2001
>Last-Modified:  Mon Aug 06 16:16:24 PDT 2001
>Originator:     Bob Fleck
>Release:        4.3
>Organization:
>Environment:
>Description:
When booting with 'an' device support in the kernel, and a Cisco Aironet 350 PCI card installed, the PCI probe reports an unknown
PCI card with the Cisco vendor id, and the device code 0x0350.
>How-To-Repeat:
Reboot:  it gives an unknown PCI device error every time.
>Fix:
I investigated OpenBSD's support for this card, and determined
that it works with the same drivers as the 4500/4800 Aironet
cards.  So, I just added the PCI device id to the probe.  It
appears to be working now.

Diff follows - should work with 4.3 drivers up through 5.0,
since this portion of the code is isolated from sections
that have been under development.

--- if_an_pci.old	Fri Aug  3 13:02:38 2001
+++ if_an_pci.c	Fri Aug  3 13:04:58 2001
@@ -96,6 +96,7 @@
 };
 
 #define AIRONET_VENDORID	0x14B9
+#define AIRONET_DEVICEID_352    0x0350
 #define AIRONET_DEVICEID_4500	0x4500
 #define AIRONET_DEVICEID_4800	0x4800
 #define AIRONET_DEVICEID_4xxx	0x0001
@@ -103,6 +104,7 @@
 #define AN_PCI_LOIO		0x18	/* Aironet iobase */
 
 static struct an_type an_devs[] = {
+	{ AIRONET_VENDORID, AIRONET_DEVICEID_35x,  "Aironet PCI352" },
 	{ AIRONET_VENDORID, AIRONET_DEVICEID_4500, "Aironet PCI4500" },
 	{ AIRONET_VENDORID, AIRONET_DEVICEID_4800, "Aironet PCI4800" },
 	{ AIRONET_VENDORID, AIRONET_DEVICEID_4xxx, "Aironet PCI4500/PCI4800" },

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brooks 
State-Changed-When: Mon Aug 6 16:15:21 PDT 2001 
State-Changed-Why:  
Committed similar patch to current. 


Responsible-Changed-From-To: freebsd-bugs->brooks 
Responsible-Changed-By: brooks 
Responsible-Changed-When: Mon Aug 6 16:15:21 PDT 2001 
Responsible-Changed-Why:  

Committed fix. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29415 
>Unformatted:
