Hi,

As so many people want to run the driver on 2.6.15, I
created a patch to make the driver compileable on 2.6.15.

This is an ugly workaround, which will not go into the tree.


diff -urNX linux/linux-2.6.15/Documentation/dontdiff 
bcm43xx-standalone-060223.orig/drivers/net/wireless/bcm43xx/bcm43xx.h 
bcm43xx-standalone-060223/drivers/net/wireless/bcm43xx/bcm43xx.h
--- bcm43xx-standalone-060223.orig/drivers/net/wireless/bcm43xx/bcm43xx.h       
2006-02-23 18:15:45.000000000 +0100
+++ bcm43xx-standalone-060223/drivers/net/wireless/bcm43xx/bcm43xx.h    
2006-02-23 18:17:27.000000000 +0100
@@ -17,6 +17,11 @@
 #include "bcm43xx_leds.h"
 
 
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 15)
+# undef KBUILD_MODNAME
+# define KBUILD_MODNAME                        "bcm43xx"
+#endif
+
 #define PFX                            KBUILD_MODNAME ": "
 
 #define BCM43xx_SWITCH_CORE_MAX_RETRIES        50

-- 
Greetings Michael.
diff -urNX linux/linux-2.6.15/Documentation/dontdiff bcm43xx-standalone-060223.orig/drivers/net/wireless/bcm43xx/bcm43xx.h bcm43xx-standalone-060223/drivers/net/wireless/bcm43xx/bcm43xx.h
--- bcm43xx-standalone-060223.orig/drivers/net/wireless/bcm43xx/bcm43xx.h	2006-02-23 18:15:45.000000000 +0100
+++ bcm43xx-standalone-060223/drivers/net/wireless/bcm43xx/bcm43xx.h	2006-02-23 18:17:27.000000000 +0100
@@ -17,6 +17,11 @@
 #include "bcm43xx_leds.h"
 
 
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 15)
+# undef KBUILD_MODNAME
+# define KBUILD_MODNAME			"bcm43xx"
+#endif
+
 #define PFX				KBUILD_MODNAME ": "
 
 #define BCM43xx_SWITCH_CORE_MAX_RETRIES	50

Attachment: pgplKaU37cXB1.pgp
Description: PGP signature

Reply via email to