mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Lorenz <martin@lorenz.eu.org>
To: jketreno@linux.intel.com
Cc: linux-kernel@vger.kernel.org
Subject: IEEE80211 and IPW3945
Date: Sat, 18 Nov 2006 11:20:56 +0100	[thread overview]
Message-ID: <20061118102056.GA4492@gimli> (raw)

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Dear James,

I just had some issues when trying to compile ieee80211 1.2.15 together with
ipw3945 1.1.2 on the latest kernel tree

attached are two patches I had to create to work around it
I guess they are self-explanatory :-)

greets
  mlo
--
Dipl.-Ing. Martin Lorenz

            They that can give up essential liberty 
	    to obtain a little temporary safety 
	    deserve neither liberty nor safety.
                                   Benjamin Franklin

please encrypt your mail to me
GnuPG key-ID: F1AAD37D
get it here:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xF1AAD37D

ICQ UIN: 33588107

[-- Attachment #2: ieee_api_define.patch --]
[-- Type: text/plain, Size: 620 bytes --]

diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index ee66681..b0d1ca3 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -30,8 +30,11 @@
 #include <linux/wireless.h>
 
 #define IEEE80211_VERSION_MAJOR 1
+#define IEEE80211_MAJOR_VERSION IEEE80211_VERSION_MAJOR
 #define IEEE80211_VERSION_API 2
+#define IEEE80211_API_VERSION IEEE80211_VERSION_API
 #define IEEE80211_VERSION_MINOR 15
+#define IEEE80211_MINOR_VERSION IEEE80211_VERSION_MINOR
 #define IEEE80211_VERSION_CODE IEEE80211_VERSION_MAJOR * 65536 + \
 			       IEEE80211_VERSION_API * 256 + \
 			       IEEE80211_VERSION_MINOR

[-- Attachment #3: config_h.patch --]
[-- Type: text/plain, Size: 397 bytes --]

diff --git a/include/linux/config.h b/include/linux/config.h
new file mode 100644
index 0000000..a91f5e5
--- /dev/null
+++ b/include/linux/config.h
@@ -0,0 +1,8 @@
+#ifndef _LINUX_CONFIG_H
+#define _LINUX_CONFIG_H
+/* This file is no longer in use and kept only for backward compatibility.
+ * autoconf.h is now included via -imacros on the commandline
+ */
+#include <linux/autoconf.h>
+
+#endif

             reply	other threads:[~2006-11-18 10:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-18 10:20 Martin Lorenz [this message]
2006-11-18 12:31 ` Hesse, Christian
2006-11-18 12:49 ` Ismail Donmez
2006-11-18 14:26   ` Stephen Clark
2006-11-18 14:41     ` Ismail Donmez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061118102056.GA4492@gimli \
    --to=martin@lorenz.eu.org \
    --cc=jketreno@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome