Bug 1547 - Compilation on 2.6.24
: Compilation on 2.6.24
Status: VERIFIED WONTFIX
: IPW3945
802.1x
: unspecified
: All Debian
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-12-22 18:43 by
Modified: 2008-12-08 22:15 (History)


Attachments
2.6.24 patch (545 bytes, patch)
2007-12-22 18:47, Cafer Simsek
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-12-22 18:43:30
Here is the patch for compilation 2.6.24

--- ipw3945.h.orig	2007-07-31 09:53:39.000000000 +0300
+++ ipw3945.h	2007-12-23 04:09:59.000000000 +0200
@@ -2414,6 +2414,18 @@ enum {
 #define IPW_ORD_TABLE_7_MASK              0x0000F700
 
 /*
+ * For backword Kernel compatibility (after 2.6.24)
+ */
+#if !defined(MAC_ARG)
+#define MAC_ARG(x)
((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]
+#endif
+
+#if !defined(SET_MODULE_OWNER)
+#define SET_MODULE_OWNER(dev) do { } while (0)
+#endif
+
+
+/*
  * Table 0 Entries (all entries are 32 bits)
  */
 enum {
------- Comment #1 From 2007-12-22 18:47:35 -------
Created an attachment (id=1277) [details]
2.6.24 patch
------- Comment #2 From 2007-12-23 16:52:39 -------
We will have iwlwifi driver in 2.6.24 kernel. So ipw3945 is not necessary to
work with 2.6.24.
------- Comment #3 From 2008-12-08 22:07:49 -------
ipw3945 as a driver has been replaced by iwl3945 in official kernel for a long
time. We suggest to use iwl3945 driver instead of the obsolete ipw3945 driver.
If you have bug, please report it with product=iwlwifi and platform="Intel(R)
Wifi Link 3945". Thanks so much!