From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 17:43:03 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 9690616A479 for ; Thu, 22 Jun 2006 17:43:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE1344650 for ; Thu, 22 Jun 2006 17:42:56 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wx-out-0102.google.com with SMTP id h30so321996wxd for ; Thu, 22 Jun 2006 10:42:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hm9ILtQoSmKwv1/7Sn/7LpHFp6AvvgGRH0WTqBSRtjK+Q7gP2W+6wIXdIg1XbuSd5CWQ3tPN34+UBxyNaqHb4Rf+UYM+MrfBv/Fmd14VqRlGcHGgWnCR1G5i+KgXAP4ckKwvTzStHE5gz/ObxnMtBTyJqn8ZAMVJytOlhhPc9SA= Received: by 10.70.94.1 with SMTP id r1mr3491707wxb; Thu, 22 Jun 2006 10:42:56 -0700 (PDT) Received: by 10.70.54.4 with HTTP; Thu, 22 Jun 2006 10:42:56 -0700 (PDT) Message-ID: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> Date: Thu, 22 Jun 2006 12:42:56 -0500 From: "Scot Hetzel" To: "Patrick Bowen" In-Reply-To: <44989B07.6080404@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> Cc: freebsd-stable@freebsd.org 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: Thu, 22 Jun 2006 17:43:03 -0000 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 -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.