if_ndis for Marvell
Patrick Bowen
pbowen at fastmail.fm
Sat Jun 24 23:40:52 UTC 2006
Patrick Bowen wrote:
> 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
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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: <Dell TrueMobile 1300 WLAN Mini-PCI Card> mem
0xb8004000-0xb8005fff irq 17 at device 4.0 on pci6
ndis0: NDIS API version: 5.1
Go figure...
Patrick
More information about the freebsd-stable
mailing list