From owner-freebsd-net@FreeBSD.ORG Wed Oct 10 17:54:43 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25B80FE9 for ; Wed, 10 Oct 2012 17:54:43 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mx.techwires.net (mx.techwires.net [IPv6:2001:4d88:100f:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id D83898FC0C for ; Wed, 10 Oct 2012 17:54:42 +0000 (UTC) Received: from amy.lab.techwires.net (dslb-088-067-206-241.pools.arcor-ip.net [88.67.206.241]) by mx.techwires.net (Postfix) with ESMTPSA id 10AA62963BF; Wed, 10 Oct 2012 19:54:42 +0200 (CEST) From: Bernhard Schmidt To: "Denise H. G." Subject: Re: What driver should I use for 'intel centrino wireless-N 2200 BGN'? Date: Wed, 10 Oct 2012 19:54:48 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.7.4; amd64; ; ) References: <86ehl96o4i.fsf@venux.xbsd.name> <86txu277vn.fsf@venux.xbsd.name> In-Reply-To: <86txu277vn.fsf@venux.xbsd.name> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210101954.49000.bschmidt@techwires.net> Cc: freebsd-net@freebsd.org, Andreas Nilsson , Kevin Oberman X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2012 17:54:43 -0000 On Wednesday 10 October 2012 15:51:24 Denise H. G. wrote: > >>>>> none3@pci0:3:0:0: class=0x028000 card=0x42228086 chip=0x08918086 > >>>>> rev=0xc4 hdr=0x00 > >>>>> > >>>>> Is there a driver for that under FreeBSD 9.1-PRERELEASE? No, not yet. I'm having a hard figuring out the new firmware API for those new devices. Working on it.. > >> I tried to add some device ids into the source code of the drivers, but > >> with no luck. Maybe I am doing it the wrong way. > > > > The card ID in the code is 4220 and yours has is 4222. Edit > > /sys/dev/iwi/if_iwi.c and add: > > { 0x8086, 0x4222, "Intel(R) PRO/Wireless 2200BG" }, > > after line 123. Note the tiny difference in here ;) Intel(R) PRO/Wireless 2200BG vs. Intel Centrino Wireless-N 2200 BGN There are like 10 years in between. :) Just to clarify, the 0x4222 is for iwn(4), adding the IDs there is the first step, followed by a new firmware module and some glue code. I already thought about adding just the firmware but not the IDs yet, for others to tinker with. Issue is that this would generate regressions with already working cards, eg. 6230. So, eventually.. just not yet. -- Bernhard