Hi Michael,

> Martin Girard ??:
> > Hi,
> >
> > I installed OpenSolaris 2008.11 on a my MacBook Pro
> and everything is working really good except
> > the wireless.
> >
> > My wireless is a BCM4328 802.11/a/b/g/b.
> >   
> It should be a/b/g/n.
> > I took the Windows driver from bcmwl5.inf,
> bcml5.sys 
> > and bcml564.sys and 
> >   
> bcml564 is 64bit Windows driver, ndiswrapper doesn't
> support wrapping 
> 64bit Windows driver for BCM4328 802.11a/b/g/n
> adpater.
> And, you need to boot into 32bit kenrel through GRUB
> entry, and wrap 
> 32bit Windows driver there.

So it will work only for 32bits kernel?


> > I compiled them using the NDIS 1-2 version of the
> drivers.
> > So far so good, the compilation went fine.
> >   
> Are you sure the compilation went fine? Which build
> is it?

You're right, I needed to modify the if_ndis.c file, I added a 10th parameter a 
put Null and it compiled without error.  Was it working? Not sure now.
I'll take a look at Fintan Ryan's blog.


> Compling bcmndis module under build101 will get below
> message, due to 
> Fastreboot integration into build100 and higher
> build.
> 
> SolairsBox:/tmp/ndis-1.2/i386 # make ndis
> /usr/sfw/bin/gcc -g -O2 -D_KERNEL -D__i386__
> -I../include -I. -c 
> ../if_ndis.c -o ndis.o
> ../if_ndis.c:162:28: macro "DDI_DEFINE_STREAM_OPS"
> requires 10 
> arguments, but only 9 given
> ../if_ndis.c:161: warning: data definition has no
> type or storage class
> ../if_ndis.c:168: error: `ndis_dev_ops' undeclared
> here (not in a function)
> ../if_ndis.c:168: error: initializer element is not
> constant
> ../if_ndis.c:168: error: (near initialization for 
> `ndis_modldrv.drv_dev_ops')
> *** Error code 1
> make: Fatal error: Command failed for target `ndis'
> 
> You need to difinitely modify if_ndis.c to correctly
> complie bcmndis 
> module, see Fintan Ryan's blog for the detailed
> change.
> 
> > But when I try to add the driver
> > # add_drv -i '"pci14e4,4328"' bcmndis
> >
> > It crashed, my laptop had a hard reboot, but it
> rebooted anyway.
> > So I looked if my driver was load
> > # modinfo|grep bcm
> >
> > it show nothing.
> > Then I did 
> > # update_drv -a -i 'pci14E4,4328' bcmndis
> >
> > And now I see it with modinfo
> >
> > And if I do a ifconfig I have the following error:
> >
> > root at spider360:~# ifconfig bcmndis0 plumb
> > ifconfig: cannot open link "bcmndis0": DLPI link
> does not exist
> >
> >
> >
> > Any idea what I should try next?
> >   
> Fintan Ryan's blog could be the best start point for
> you.
> http://blogs.sun.com/fintanr/entry/adventures_in_macbo
> ok_land
> 
> - Michael
> > Thanks
> >
> > Martin
> >   
> 
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
-- 
This message posted from opensolaris.org

Reply via email to