From owner-freebsd-mobile Fri Jul 26 11:51: 8 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B012D37B400 for ; Fri, 26 Jul 2002 11:51:02 -0700 (PDT) Received: from harlem.dyndns.org (HSY8.VINEYARD.NET [66.101.65.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id D187843E5E for ; Fri, 26 Jul 2002 11:50:59 -0700 (PDT) (envelope-from hudlee@harlem.dyndns.org) Received: by harlem.dyndns.org (Postfix, from userid 1001) id 8F373308; Fri, 26 Jul 2002 15:00:22 -0400 (EDT) Date: Fri, 26 Jul 2002 15:00:22 -0400 From: Hudson Lee To: freebsd-mobile@freebsd.org Subject: an driver with cisco aironet mini-pci 350 Message-ID: <20020726190022.GA48127@harlem.foo.bar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a Thinkpad T30 with a Cisco Aironet mini-pci wireless card. I can't get the an driver to recognize the card. With device an in the kernel my card shows up in dmesg like this: (complete dmesg below) pci2: (vendor=0x14b9, dev=0xa504) at 2.0 irq 11 I don't know much about drivers but I went looking in /usr/src/sys/dev/an/if_an_pci.c and I noticed the device id (0xa504) isn't in this list: #define AIRONET_VENDORID 0x14B9 #define AIRONET_DEVICEID_35x 0x0350 #define AIRONET_DEVICEID_4500 0x4500 #define AIRONET_DEVICEID_4800 0x4800 #define AIRONET_DEVICEID_4xxx 0x0001 #define AN_PCI_PLX_LOIO 0x14 /* PLX chip iobase */ #define AN_PCI_LOIO 0x18 /* Aironet iobase */ static struct an_type an_devs[] = { { AIRONET_VENDORID, AIRONET_DEVICEID_35x, "Cisco Aironet 350 Series" }, { AIRONET_VENDORID, AIRONET_DEVICEID_4500, "Aironet PCI4500" }, { AIRONET_VENDORID, AIRONET_DEVICEID_4800, "Aironet PCI4800" }, { AIRONET_VENDORID, AIRONET_DEVICEID_4xxx, "Aironet PCI4500/PCI4800" }, { 0, 0, NULL } }; I'm pretty sure my card is in the 350 series since I don't know of any mini-pci aironet cards that are not 350's. Does this mean the an driver doesn't support the mini-pic 350 aironet card? Or am I doing something wrong? Does anyone else have this card working in FreeBSD? If the an driver doesn't support this card is anyone planning on adding support? Any help is much appreciated as I have to use windows if I want wireless. I am running FreeBSD 4.6-STABLE Here is my dmesg included in the hope that I'm doing something wrong: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-STABLE #8: Fri Jul 12 11:25:13 EDT 2002 hudlee@harlem:/usr/obj/usr/src/sys/HARLEM Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1200047252 Hz CPU: AMD Athlon(tm) Processor (1200.05-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 134152192 (131008K bytes) avail memory = 126898176 (123924K bytes) Preloaded elf kernel "kernel" at 0xc0377000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fddd0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0 irq 5 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xa000-0xa00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xa400-0xa41f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xa800-0xa81f irq 11 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 7.4 pcm0: port 0xac00-0xac1f irq 11 at device 8.0 on pci0 sio0: <3COM PCI FaxModem> port 0xb400-0xb407 irq 9 at device 9.0 on pci0 sio0: moving to sio4 sio4: type 16550A fxp0: port 0xb800-0xb81f mem 0xdb100000-0xdb1fffff,0xdb200000-0xdb200fff irq 11 at device 11.0 on pci0 fxp0: Ethernet address 00:a0:c9:e4:b4:cb inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xbc00-0xbc1f mem 0xdb000000-0xdb0fffff,0xdb202000-0xdb202fff irq 10 at device 13.0 on pci0 fxp1: Ethernet address 00:90:27:2e:94:4b inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto an0: port 0xc400-0xc43f,0xc000-0xc07f mem 0xdb201000-0xdb20107f irq 10 at device 15.0 on pci0 an0: Ethernet address: 00:08:21:30:d5:62 pcib1: on motherboard pci2: on pcib1 orm0: