From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 23:40:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA7E16A504 for ; Sat, 24 Jun 2006 23:40:52 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B7243D46 for ; Sat, 24 Jun 2006 23:40:51 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 23D3ED85E54 for ; Sat, 24 Jun 2006 19:40:50 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by frontend3.internal (MEProxy); Sat, 24 Jun 2006 19:40:51 -0400 X-Sasl-enc: pZTFR8ZN1LoB/Rgknqie6BF99AgJKl26bVZxPEyEed3F 1151192451 Received: from [192.168.217.82] (unknown [12.167.136.2]) by mail.messagingengine.com (Postfix) with ESMTP id 0555B3441 for ; Sat, 24 Jun 2006 19:40:50 -0400 (EDT) Message-ID: <449DCD87.7040306@fastmail.fm> Date: Sat, 24 Jun 2006 18:40:55 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> <449B3C90.405@fastmail.fm> In-Reply-To: <449B3C90.405@fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 23:40:52 -0000 Patrick Bowen wrote: > Scot Hetzel wrote: > >> On 6/20/06, Patrick Bowen wrote: >> >>> Pyun YongHyeon wrote: >>> >>> >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: >>> > > Hello: >>> > > >>> > > I have two questions. >>> > > >>> > > The first regards support for the Broadcom BCM94318 wireless LAN >>> > > adapter. When trying to compile the module for if_ndis using >>> bcmwl5.inf >>> > > and bcmwl5.sys, I get the following error; >>> > > >>> > > In file included from >>> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: >>> > > @/sys/bus.h:461:23: device_if.h: No such file or directory >>> > > @/sys/bus.h:462:20: bus_if.h: No such file or directory >>> > > In file included from >>> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: >>> > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or >>> directory >>> > > >>> > > Have these three files been removed from the source tree? >>> > > >>> Thanks! That takes care of the wired connection. Now all I have to >>> do is >>> get the wireless to work. >>> >>> Regarding the original subject line, the "ndis" was, of course, for the >>> Broadcom device. I tried a different .inf file after googling some more >>> (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko >>> file. I >>> loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, >>> zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be >>> doing something wrong... >>> >> >> Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from >> the windows driver? >> >> bcmwl5_sys.ko is what you need to load to get your wireless card to >> work with the NDIS module. >> >> Scot >> > > Here's an interesting data point. I used ndisgen on Windows drivers > from HP, and it produced module BCMWL5_SYS.ko. (my machine is a > Gateway MX6121). > > Unfortunately, after loading the module, the device didn't show up in > dmesg or ifconfig. Now I'm wondering if the card isn't ferschimmeled... > > Patrick > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > One last data point on this; I downloaded the R102320.EXE driver package from Dell (for the U.S.), ran ndisgen on the bcmwl5.inf/.sys files, and got a bcmwl5_sys.ko module that would load, but wouldn't associate. Just for grins, I also got the R90507.EXE package (non-U.S or Japan), built the module, which loads, and associates, and works just fine, thank you very much. As a matter of fact, I'm using it now. Remember, my laptop is a Gateway MX6121 with a Broadcom BCM94318 mini-PCI card. this is what I see for the card in dmesg; ndis0: mem 0xb8004000-0xb8005fff irq 17 at device 4.0 on pci6 ndis0: NDIS API version: 5.1 Go figure... Patrick