From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 00:57:57 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 45BD816A482 for ; Fri, 23 Jun 2006 00:57:57 +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 C375743D55 for ; Fri, 23 Jun 2006 00:57:55 +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 794EED857BB for ; Thu, 22 Jun 2006 20:57:54 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Thu, 22 Jun 2006 20:57:55 -0400 X-Sasl-enc: JhEXPzVUf+aXQC/K6BFfEXSTageYtkTtlWkYC5V0Zsec 1151024274 Received: from [192.168.1.87] (unknown [205.246.14.236]) by mail.messagingengine.com (Postfix) with ESMTP id 490C05395 for ; Thu, 22 Jun 2006 20:57:51 -0400 (EDT) Message-ID: <449B3C90.405@fastmail.fm> Date: Thu, 22 Jun 2006 19:57:52 -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> In-Reply-To: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> 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: Fri, 23 Jun 2006 00:57:57 -0000 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