From owner-freebsd-drivers@FreeBSD.ORG Tue Jan 31 20:24:35 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04B9A16A422 for ; Tue, 31 Jan 2006 20:24:35 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ECB343D48 for ; Tue, 31 Jan 2006 20:24:33 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 7424474 for multiple; Tue, 31 Jan 2006 15:24:31 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k0VKOSN9086158; Tue, 31 Jan 2006 15:24:29 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-drivers@freebsd.org Date: Tue, 31 Jan 2006 13:57:48 -0500 User-Agent: KMail/1.9.1 References: <37E27EAC319870439379BF42DD12767E01243200@fas-exch-01.FAS.ADS> In-Reply-To: <37E27EAC319870439379BF42DD12767E01243200@fas-exch-01.FAS.ADS> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601311357.49721.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1263/Tue Jan 31 09:48:20 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Jared Curtis Subject: Re: Adding new device id's for ATH driver X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 20:24:35 -0000 On Friday 27 January 2006 19:11, Jared Curtis wrote: > Hello, > > This is my first post to this list and I think it's going to be a good > one ;). > > I just recently bought a HP nx6125 laptop > (http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/321957-64295-89315-321838 > -f33-471753.html > hp.com/wwpc/us/en/sm/WF05a/321957-64295-89315-321838-f33-471753.html> ) > that came with a Broadcom bcm4309 wifi card (mini pci). I was aware that > this card was not supported by FreeBSD and I planned on switching it out > for an Atheros card (sorry I don't have the exact card handy). When I > swapped the cards I found out that the HP bios has a lockout feature > that checks to verify that only the white listed cards are installed. > After some searching I found a tutorial on installing a Atheros card > into the nx6125 (http://www.dagarlas.org/stuff/computing/article0001.php > .org/stuff/computing/article0001.php> ) but it was for a Linux system > using the MadWifi driver. I followed all the steps and changed the > device id to match that of the Broadcom card and now the laptop boots > fine with the Atheros card :). But now I need to modify the drivers to > recognize the new device id so that they will work with the card. > > I modified ah_devid.h and changed out the id's that matched the > originals on the Atheros card to now match the Broadcom id's. I then > rebuilt the modules and loaded them. They load fine but the card > doesn't show up in an ifconfig. > > I was given this link > http://www.demarctech.com/techsupport/rw-wireless-cards-support/free-bsd > -setup.htm > ch.com/techsupport/rw-wireless-cards-support/free-bsd-setup.htm> but it > is for a pccard devices does a similar concept work for mini pci > devices? > > > And now to my question. Could someone who is more familiar with the ATH > driver please point me in the right direction on what files need to be > changed to make the ATH driver work with my new Broadcom id's. I can > provide more details such as specific hardware info and device id's if > someone will be able to assist me. > > Thanks in advance for any help you can provide. I think the list is hardcoded into the binary-only HAL. The person to ask is sam@FreeBSD.org. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org