Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 19:57:52 -0500
From:      Patrick Bowen <pbowen@fastmail.fm>
To:        freebsd-stable@freebsd.org
Subject:   Re: if_ndis for Marvell
Message-ID:  <449B3C90.405@fastmail.fm>
In-Reply-To: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com>
References:  <449862F4.7090207@fastmail.fm>	 <20060621000056.GA13097@cdnetworks.co.kr>	 <44989B07.6080404@fastmail.fm> <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Scot Hetzel wrote:

> On 6/20/06, Patrick Bowen <pbowen@fastmail.fm> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449B3C90.405>