if_ndis for Marvell

Patrick Bowen pbowen at fastmail.fm
Fri Jun 23 00:57:57 UTC 2006


Scot Hetzel wrote:

> On 6/20/06, Patrick Bowen <pbowen at 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


More information about the freebsd-stable mailing list