Date: Fri, 3 Aug 2001 10:20:06 -0700 (PDT) From: Bob Fleck <rfleck@cigital.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/29415: PCI probing does not detect Aironet 350 PCI cards Message-ID: <200108031720.f73HK6l47510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 29415
>Category: kern
>Synopsis: PCI probing does not detect Aironet 350 PCI cards
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 03 10:30:26 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108031720.f73HK6l47510>
