On Tue, 24 Nov 2009 11:43:32 -0600
Larry Finger <[email protected]> wrote:
> On 11/24/2009 10:58 AM, William Bourque wrote:
> > I did tried before, it succesfully built, it was loading (modprobe)
> > correctly but no new interface was registered by it.
> > However, I might have done something wrong, I will try it again to
> > make sure it wasn't a PEBKAC problem.
> 
> Are you certain that neither b43 nor ssb were loaded at the time? If
> ssb is in memory, it will own the PCI device.
> 
> > Right. Do you have a link to this patch? I would rather avoid
> > downgrading my kernel.
> 
> I just downloaded a fresh copy of the wl driver. It compiled cleanly.
> The only patch I applied is the following:
> 
> Index: hybrid-wl/Makefile
> ===================================================================
> --- hybrid-wl.orig/Makefile
> +++ hybrid-wl/Makefile
> @@ -34,3 +34,5 @@ clean:
> 
>  install:
>         install -D -m 755 wl.ko /lib/modules/`uname
> -r`/kernel/drivers/net/wireless/wl.ko
> +       depmod -a
> +
> 
> With it, the dependencies are properly setup. Note, the install line
> above is improperly wrapped, but you get the idea.

For the record, and in case someone else needs it, I had to apply this
one: one glue file didn't include sched.h as it should have done
(presumably one of the other included headers happened to include it in
kernel >= 2.6.31 but not after). I don't know why it isn't necessary in
your cases.

Chris


--- src/wl/sys/wl_linux.c.orig  2009-11-21 10:07:59.000000000 +0000
+++ src/wl/sys/wl_linux.c       2009-11-21 10:08:32.000000000 +0000
@@ -38,6 +38,7 @@
 #include <linux/ethtool.h>
 #include <linux/completion.h>
 #include <linux/pci_ids.h>
+#include <linux/sched.h>
 #define WLC_MAXBSSCFG          1       
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)


_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to