From owner-freebsd-drivers@FreeBSD.ORG Sun Jan 14 07:58:24 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DB0A16A415 for ; Sun, 14 Jan 2007 07:58:24 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id DA89313C44C for ; Sun, 14 Jan 2007 07:58:20 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1690967nfc for ; Sat, 13 Jan 2007 23:58:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i6DGmSeSQ8CijiCHyzR+Bact0FSol5bbqLDJIlCgTYPIIuR47ZQ5hhbd9arImq+ifXrELnaxNy3iotCwK13xGgpamTxyyD+Bwca7OaN0WzAcqDyEKPuZmc7Gw+IyvpzCByZKiTOjBYK75Vo0Ssv6V7Y8jt6lmq9gRHiq9Kts5UA= Received: by 10.78.204.20 with SMTP id b20mr1672911hug.1168759966013; Sat, 13 Jan 2007 23:32:46 -0800 (PST) Received: by 10.78.135.9 with HTTP; Sat, 13 Jan 2007 23:32:45 -0800 (PST) Message-ID: <11167f520701132332o58e2544ega565fafbccebeae9@mail.gmail.com> Date: Sun, 14 Jan 2007 01:32:45 -0600 From: "Sam Fourman Jr." To: "Joel Dahl" In-Reply-To: <1168187999.1124.4.camel@jesus.automatvapen.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <459E6477.2010508@clearchain.com> <200701051634.00293.max@love2party.net> <459E75A5.7000309@FreeBSD.org> <200701051732.27176.max@love2party.net> <45A0F739.3030202@clearchain.com> <1168187999.1124.4.camel@jesus.automatvapen.se> X-Mailman-Approved-At: Mon, 15 Jan 2007 00:38:54 +0000 Cc: Massimo Lusetti , Benjamin Close , gavin.atkinson@ury.york.ac.uk, Florent Thoumie , freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org, Attilio Rao , damien.bergamini@free.fr, sam@freebsd.org, gabor@freebsd.org, Max Laier Subject: Re: Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller 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: Sun, 14 Jan 2007 07:58:24 -0000 Hello everyone, I have a Lenovo N 100 0768 DKU notebook with a 3945 wireless card installed I just installed the FreeBSD 6.2 Realese on it, What instructions do I have to follow to compile and install the Driver so I may test it for everyone? Thank you for any help at all Sam Fourman Jr, On 1/7/07, Joel Dahl wrote: > M=E5n 2007-01-08 klockan 00:05 +1030 skrev Benjamin Close: > > Hi Folks, > > I did the port as my searching led me to believe that progress on a > > driver had stagnated. > > Port 1: was done by Damien himself > > (http://lists.freebsd.org/pipermail/freebsd-mobile/2006-July/008768.htm= l) > > Port 2: was an updated version by Daminen: > > http://osdir.com/ml/freebsd-hackers@freebsd.org/msg58154.html > > which seems to be duplicated here: > > http://people.freebsd.org/~flz/local/wpi/ > > (http://www.mail-archive.com/freebsd-net@freebsd.org/msg20710.html) > > With version 2 being minor bug fixes to version 1 to try and get it > > working. Since then the driver has come a long way in netbsd with the > > FreeBSD version just getting older. > > > > To others working on a wpi driver, please post something indicating wha= t > > you've done and even a sample of what your up to so we can one build on= e > > driver that just works. I also did the driver port as everything I foun= d > > failed to work on a 64bit kernel, most the time wouldn't even compile. > > Gavin Atkinson (CC'ed) is AFAIK also working on wpi(4) for FreeBSD, > according to his announcement on net@: > http://lists.freebsd.org/pipermail/freebsd-net/2006-December/012808.html > > -- > Joel > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > From owner-freebsd-drivers@FreeBSD.ORG Mon Jan 15 06:49:10 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4113416A40F for ; Mon, 15 Jan 2007 06:49:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id EA0CA13C45B for ; Mon, 15 Jan 2007 06:49:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l0F6kOju029802; Sun, 14 Jan 2007 23:46:25 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 14 Jan 2007 23:46:43 -0700 (MST) Message-Id: <20070114.234643.1359521608.imp@bsdimp.com> To: daniel@roe.ch From: "M. Warner Losh" In-Reply-To: <20070111150707.GA1487@dragon.roe.ch> References: <20070111150707.GA1487@dragon.roe.ch> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 14 Jan 2007 23:46:25 -0700 (MST) Cc: freebsd-drivers@freebsd.org Subject: Re: Arch Handbook on pccarddevs.h 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: Mon, 15 Jan 2007 06:49:10 -0000 In message: <20070111150707.GA1487@dragon.roe.ch> Daniel Roethlisberger writes: : I am currently having a go at writing a device driver for the pccard : based smartcard reader Omnikey CM4040. : : The arch handbook states in the chapter on pccards [1] that there is a : manual step involved in generating pccarddevs.h from pccarddevs, using : Makefile.pccarddevs. However, it very much looks like said header file : is generated automagically, and I cannot find the respective Makefile at : all in my RELENG_6 sources. Also, there are special instructions for : committers which probably aren't applicable anymore either. : : Can someone confirm that the relevant sections from [1] are out of date, : and not applicable to 6.x/7.x anymore? : : -Dan : : [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/pccard.html This portion of the architectural handbook needs to be updated. pccarddevs.h is now automatically generated. Warner From owner-freebsd-drivers@FreeBSD.ORG Mon Jan 15 17:26:22 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71EF916A407 for ; Mon, 15 Jan 2007 17:26:22 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE5313C4BC for ; Mon, 15 Jan 2007 17:26:17 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1279373uge for ; Mon, 15 Jan 2007 09:26:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=keNLSHea952K83cnoec0FJF1ztMHU3HbAyDAZgXJSJF1jyp0J5+MUCyJaNE6DEiqv6PpGD06HngvqSc+0GLsxF67vNnxohTAHEoUIEYMJCIbkXmXBIpsskmQRcC8WkKFiEuJQKRbOkaN+Iy+T1kjej+xpMyznsuapWT4qMHUuIM= Received: by 10.82.120.15 with SMTP id s15mr665694buc.1168881975700; Mon, 15 Jan 2007 09:26:15 -0800 (PST) Received: by 10.78.135.9 with HTTP; Mon, 15 Jan 2007 09:26:15 -0800 (PST) Message-ID: <11167f520701150926m376b03bcs114b7ceb01fc8182@mail.gmail.com> Date: Mon, 15 Jan 2007 11:26:15 -0600 From: "Sam Fourman Jr." To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD 6.2 CMI9880 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: Mon, 15 Jan 2007 17:26:22 -0000 I need a driver or a patch to get the CMI9880 sound device working on 6.2 STABLE ? the motherboard it is on is http://www.asus.com/products.aspx?l1=3&l2=11&l3=144&model=371&modelmenu=2 I see that is works on 7 Current , does anyone have a Driver or a patch? thank you for any help Sam Fourman Jr. From owner-freebsd-drivers@FreeBSD.ORG Wed Jan 17 19:22:48 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 739E716A412 for ; Wed, 17 Jan 2007 19:22:48 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from mxfep03.bredband.com (mxfep03.bredband.com [195.54.107.76]) by mx1.freebsd.org (Postfix) with ESMTP id 0165D13C459 for ; Wed, 17 Jan 2007 19:22:46 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep04.bredband.com with ESMTP id <20070117185921.ISLN2732.mxfep04.bredband.com@ironport.bredband.com> for ; Wed, 17 Jan 2007 19:59:21 +0100 Received: from c-768572d5.023-68-73746f42.cust.bredbandsbolaget.se (HELO maerlyn.bredbandsbolaget.se) ([213.114.133.118]) by ironport.bredband.com with ESMTP; 17 Jan 2007 19:59:21 +0100 From: Daniel Tourde To: freebsd-drivers@freebsd.org Date: Wed, 17 Jan 2007 19:59:28 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701171959.28700.daniel.tourde@spray.se> Subject: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel.tourde@spray.se List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 19:22:48 -0000 Hello, I found the driver for my wireless card on: http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz but how is it supposed to be installed on a fresh FreeBSD 6.2? Daniel From owner-freebsd-drivers@FreeBSD.ORG Wed Jan 17 22:51:08 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 327AC16A412 for ; Wed, 17 Jan 2007 22:51:08 +0000 (UTC) (envelope-from wb1dog@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id E53BC13C45D for ; Wed, 17 Jan 2007 22:51:07 +0000 (UTC) (envelope-from wb1dog@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so16251wri for ; Wed, 17 Jan 2007 14:51:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qWtMwBXTcapWEBrFOGQ39R6SnPZmi7Gj4q4zoG1Lhg9KtU+0DOhFYlTsjTm+A4Esjymvdxs9vOWJ7yyd8KhIDAqTaCn6/TWUBit3kYj3HSabA2KB3PR7Y89UCjS2yU7vn9bE9rxzWIAJRfR5efVGSOQPFlIUBkcxvI/KiPTHYZs= Received: by 10.90.50.1 with SMTP id x1mr128191agx.1169072523792; Wed, 17 Jan 2007 14:22:03 -0800 (PST) Received: by 10.90.103.10 with HTTP; Wed, 17 Jan 2007 14:22:03 -0800 (PST) Message-ID: <9eb03f270701171422h3fa5c6bfte003a0f355792b86@mail.gmail.com> Date: Wed, 17 Jan 2007 17:22:03 -0500 From: "James Apple" To: daniel.tourde@spray.se, freebsd-drivers@freebsd.org In-Reply-To: <200701171959.28700.daniel.tourde@spray.se> MIME-Version: 1.0 References: <200701171959.28700.daniel.tourde@spray.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install? 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: Wed, 17 Jan 2007 22:51:08 -0000 i can't test this right now, I had to go back to Ubuntu until I can get this driver working (catch 22) but my guess is that you untar this into /usr/ports/net and then make install clean On 1/17/07, Daniel Tourde wrote: > > Hello, > > I found the driver for my wireless card on: > http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz > but how is it supposed to be installed on a fresh FreeBSD 6.2? > > Daniel > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > -- - Jim From owner-freebsd-drivers@FreeBSD.ORG Thu Jan 18 17:25:13 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C91AA16A47E for ; Thu, 18 Jan 2007 17:25:13 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4D83413C448 for ; Thu, 18 Jan 2007 17:25:11 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep01.bredband.com with ESMTP id <20070118172510.ZMNC3634.mxfep01.bredband.com@ironport.bredband.com> for ; Thu, 18 Jan 2007 18:25:10 +0100 Received: from c-768572d5.023-68-73746f42.cust.bredbandsbolaget.se (HELO maerlyn.bredbandsbolaget.se) ([213.114.133.118]) by ironport.bredband.com with ESMTP; 18 Jan 2007 18:24:53 +0100 From: Daniel Tourde To: freebsd-drivers@freebsd.org Date: Thu, 18 Jan 2007 18:25:01 +0100 User-Agent: KMail/1.9.5 References: <200701171959.28700.daniel.tourde@spray.se> <9eb03f270701171422h3fa5c6bfte003a0f355792b86@mail.gmail.com> In-Reply-To: <9eb03f270701171422h3fa5c6bfte003a0f355792b86@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701181825.01533.daniel.tourde@spray.se> Subject: Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel.tourde@spray.se List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 17:25:13 -0000 Hello, I basically get: guenevere# make ===> wpi_ucode (all) Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi_uco de ===> wpi (all) Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn o-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3d now -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs - Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual - fformat-extensions -std=c99 -c if_wpi.c In file included from if_wpi.c:74: ./if_wpivar.h:19:37: net80211/ieee80211_amrr.h: No such file or directory In file included from if_wpi.c:74: ./if_wpivar.h:115: error: field `amn' has incomplete type ./if_wpivar.h:127: error: field `amrr' has incomplete type if_wpi.c: In function `wpi_rx_intr': if_wpi.c:1324: warning: implicit declaration of function `bpf_peers_present' if_wpi.c:1324: warning: nested extern declaration of `bpf_peers_present' if_wpi.c: In function `wpi_tx_data': if_wpi.c:1677: warning: nested extern declaration of `bpf_peers_present' if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present' if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' was here if_wpi.c: In function `wpi_start': if_wpi.c:1889: warning: nested extern declaration of `bpf_peers_present' if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present' if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' was here if_wpi.c: In function `wpi_iter_func': if_wpi.c:2928: warning: implicit declaration of function `ieee80211_amrr_choose' if_wpi.c:2928: warning: nested extern declaration of `ieee80211_amrr_choose' if_wpi.c: In function `wpi_newassoc': if_wpi.c:2952: warning: implicit declaration of function `ieee80211_amrr_node_in it' if_wpi.c:2952: warning: nested extern declaration of `ieee80211_amrr_node_init' *** Error code 1 Stop in /usr/src/sys/dev/wpi/wpi. *** Error code 1 Stop in /usr/src/sys/dev/wpi. > i can't test this right now, I had to go back to Ubuntu until I can get > this driver working (catch 22) but my guess is that you untar this into > /usr/ports/net and then > > make install clean > > On 1/17/07, Daniel Tourde wrote: > > Hello, > > > > I found the driver for my wireless card on: > > http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz > > but how is it supposed to be installed on a fresh FreeBSD 6.2? > > > > Daniel > > _______________________________________________ > > freebsd-drivers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > > To unsubscribe, send any mail to > > "freebsd-drivers-unsubscribe@freebsd.org" From owner-freebsd-drivers@FreeBSD.ORG Thu Jan 18 22:52:13 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E06D16A52D for ; Thu, 18 Jan 2007 22:52:12 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 90A4F13C441 for ; Thu, 18 Jan 2007 22:52:12 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0IMRnLa061193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jan 2007 14:27:50 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45AFF465.60402@errno.com> Date: Thu, 18 Jan 2007 14:27:49 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: daniel.tourde@spray.se References: <200701171959.28700.daniel.tourde@spray.se> <9eb03f270701171422h3fa5c6bfte003a0f355792b86@mail.gmail.com> <200701181825.01533.daniel.tourde@spray.se> In-Reply-To: <200701181825.01533.daniel.tourde@spray.se> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install? 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: Thu, 18 Jan 2007 22:52:13 -0000 Daniel Tourde wrote: > Hello, > > I basically get: > > guenevere# make > ===> wpi_ucode (all) > Warning: Object directory not changed from > original /usr/src/sys/dev/wpi/wpi_uco > de > ===> wpi (all) > Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi > cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn > o-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3d > now -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs - > Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual - > fformat-extensions -std=c99 -c if_wpi.c > In file included from if_wpi.c:74: > ./if_wpivar.h:19:37: net80211/ieee80211_amrr.h: No such file or directory > In file included from if_wpi.c:74: > ./if_wpivar.h:115: error: field `amn' has incomplete type > ./if_wpivar.h:127: error: field `amrr' has incomplete type > if_wpi.c: In function `wpi_rx_intr': > if_wpi.c:1324: warning: implicit declaration of function `bpf_peers_present' > if_wpi.c:1324: warning: nested extern declaration of `bpf_peers_present' > if_wpi.c: In function `wpi_tx_data': > if_wpi.c:1677: warning: nested extern declaration of `bpf_peers_present' > if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present' > if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' > was here > if_wpi.c: In function `wpi_start': > if_wpi.c:1889: warning: nested extern declaration of `bpf_peers_present' > if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present' > if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' > was here > if_wpi.c: In function `wpi_iter_func': > if_wpi.c:2928: warning: implicit declaration of function > `ieee80211_amrr_choose' > if_wpi.c:2928: warning: nested extern declaration of `ieee80211_amrr_choose' > if_wpi.c: In function `wpi_newassoc': > if_wpi.c:2952: warning: implicit declaration of function > `ieee80211_amrr_node_in it' > if_wpi.c:2952: warning: nested extern declaration of > `ieee80211_amrr_node_init' > *** Error code 1 > > Stop in /usr/src/sys/dev/wpi/wpi. > *** Error code 1 > I need to MFC the amrr code (it's in my q which is now very long). Until then you can grab it off HEAD. Or maybe someone else has the time to do the MFC... Sam