Luis R. Rodriguez [Tue, 4 Aug 2009 20:40:09 +0000 (13:40 -0700)]
Move compat-wireless specific changes to 98-add-compat-wireless.patch
Changes which add support for compat.h and compat-2.6.*
are put into its own patch file. We use 98 as its the
second to last expect patch. The 99 patch will be
the one that deals with the Makefiles to only enable
the modules we want to compile.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:37:41 +0000 (13:37 -0700)]
Move mac80211 key.c changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:36:24 +0000 (13:36 -0700)]
Move mac80211/driver-trace.h changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:35:33 +0000 (13:35 -0700)]
Move wl12xx changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:17:53 +0000 (13:17 -0700)]
Move b43 header changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:07:23 +0000 (13:07 -0700)]
Move p54 usb compat chagnes to 06-usb.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:04:16 +0000 (13:04 -0700)]
Move netns hunk to its own 05-netns.patch
There is another netns related change on 01-netdev.patch
but haven't figured out a way to split by having them
not touch the same files. While we could have the netdev
stuff apply first and then afterwards apply the netns
stuff to the same files maintaining that would be quite
painful so for now lets leave this as is.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:30:22 +0000 (11:30 -0700)]
Move libertas pcmcia changes to 04-pcmcia.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:27:18 +0000 (11:27 -0700)]
Move b43 pcmcia compat stuff to its own 04-pcmcia.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:26:07 +0000 (11:26 -0700)]
move libertas ml_priv compat stuff to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:23:11 +0000 (11:23 -0700)]
move mac80211_hwsim changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:22:14 +0000 (11:22 -0700)]
Move libertas changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:21:08 +0000 (11:21 -0700)]
move ipw2[12]00 changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:18:45 +0000 (11:18 -0700)]
move b44.c changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:16:17 +0000 (11:16 -0700)]
move net/wireless/core.h changes to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:15:14 +0000 (11:15 -0700)]
Move net/rfkill patches to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:10:37 +0000 (11:10 -0700)]
move ath5k compat.diff changes to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:09:08 +0000 (11:09 -0700)]
Move ath9k hunks to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:06:41 +0000 (11:06 -0700)]
Rename 01-netdev-ops.patch to 01-netdev.patch
The patch handles more than just the new netdev op
changes.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:00:32 +0000 (11:00 -0700)]
initial changes for handling compat.diff
We change the way we deal with backport patches.
We used to just apply compat/compat.diff but this
can grow in size as we move on through kernels and
maintaining can be painful. To ease with its
maintenance and review of patches we add add
the patches onto their own directory and separate
them based on the functional nature of the patch.
We add 3 files for now:
01-netdev-ops.patch
02-ksize.patch
03-rfkill.patch
This reflects better what each patch addresses.
While at it update the hunks necessary to apply
cleanly as of wirless-testing master-2009-08-04.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Roman Macko [Fri, 31 Jul 2009 23:31:25 +0000 (16:31 -0700)]
Address depmod version differences for depmod.d/demod.conf
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=2061#c6
This adds support for the different demod version out there.
This explanation is taken from the thread which added the patch:
Assume depmod is run without -C or --config option
depmod version 3.6 reads firstly /etc/depmod.conf file and then it
reads config files in directory /etc/depmod.d. Files in directory
/etc/depmod.d are read and parsed in unpredictable order by readdir
function (this function uses raw directory structures of filesystem)
depmod version 3.10 reads /etc/depmod.conf firstly as well, but this
config file is considered as deprecated in this version and prints out
warning about that. Then it reads config files in directory /etc/depmod.d
by readdir function as well, but before it starts to parse them, it sorts
them accord to filename, so you know the order in which they are going to
be parsed and this is very improtant!!! This behavior should be from
version 3.7
The same for both versions:
1) List of directories to be searched is created from search commands from
all config files in order how particular search commands are found in config
files (so order of parsed config files is important). If no search command
is found, updates directory is added before "built-in" directory.
2) As for override command, the last one found for particular module and
kernel in all config files wins, so again the order of parsed config
files is important.
From this is evident, that both versions can work differently which depends
on the order of parsed config files from /etc/depmod.d directory that is
different in both versions.
Signed-off-by: Roman Macko <rmacko72@gmail.com>
Hauke Mehrtens [Fri, 31 Jul 2009 18:52:29 +0000 (20:52 +0200)]
Fix building on 2.6.31
The netdevice.h header file should be loaded before dev_change_net_namespace is overwritten.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 29 Jul 2009 01:15:29 +0000 (18:15 -0700)]
Port dev_change_net_namespace()
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 29 Jul 2009 00:40:16 +0000 (17:40 -0700)]
Fix build on 2.6.30
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 28 Jul 2009 01:18:12 +0000 (18:18 -0700)]
Add more netns port work which is going to be added on 2.6.32
2.6.31 compiles now
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 28 Jul 2009 00:05:17 +0000 (17:05 -0700)]
compat-2.6: new netns compat work
There is still more to go.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Jul 2009 21:44:48 +0000 (14:44 -0700)]
Update compat.diff hunks for for master-2009-07-27
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Jul 2009 21:41:36 +0000 (14:41 -0700)]
Fix net/mac80211/iface.c compat patch to account for wext removal stuff
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Jul 2009 15:05:27 +0000 (08:05 -0700)]
Update usb makefile patch, applies now
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Jul 2009 15:02:58 +0000 (08:02 -0700)]
Update compat.diff offsets
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Jul 2009 14:04:21 +0000 (07:04 -0700)]
Update compat.diff
Reported-by: Joerg Albert <jal2@gmx.de>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 22 Jul 2009 20:37:48 +0000 (22:37 +0200)]
Move usb_unpoison_anchored_urbs to compat-2.6.29.h
The declaration of usb_unpoison_anchored_urbs was introduced in kernel 2.6.29.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 22 Jul 2009 20:37:47 +0000 (22:37 +0200)]
Add missing import.
This import was missing in
3615cdf6a700ca02cd14118a7d84ed0065a6e1c1
It is not needed now, but it will be soon.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 21 Jul 2009 21:43:15 +0000 (14:43 -0700)]
ar9170 works needs more compat work for 2.6.27
We leave it only enabled for >= 2.6.28,
usb_hcd_unlink_urb() is used within usb_poison_urb()
and although it is available on 2.6.27 its not exported
and cannot be re-implemented. If we figure out a way
to drop the urb from the hardware queue as usb_hcd_unlink_urb()
does then we can backport this.
Also I think we need to backport usb_kill_urb_queue().
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 21 Jul 2009 20:21:45 +0000 (13:21 -0700)]
Update compat.diff to reflect master-2009-07-21 updates
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 17 Jul 2009 15:53:52 +0000 (08:53 -0700)]
We forgot to add usb_poison_urb() and usb_unpoison_urb()
Also correct the placement of USB backport files in consideration
for 2.6.28.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 17 Jul 2009 15:31:48 +0000 (08:31 -0700)]
Add few missing rfkill backport defines
These symbols are probably not exported on older kernels
but since we are backporting our own rfkill module
lets be consistent and prepend backport_ to all
exported RFKILL symbols when on older kernels (< 2.6.31).
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 16 Jul 2009 23:45:48 +0000 (16:45 -0700)]
Re-order backport_rfkill defines to match EXPORT_SYMBOLS from rfkill
Easier on the eyes when backporting.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Philip A. Prindeville [Thu, 16 Jul 2009 16:18:49 +0000 (09:18 -0700)]
Few fixes allow cross compilation
Luis R. Rodriguez [Wed, 15 Jul 2009 23:51:51 +0000 (16:51 -0700)]
Forgot two routines in a header for 2.6.27
extern void usb_poison_urb(struct urb *urb);
extern void usb_unpoison_urb(struct urb *urb);
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 15 Jul 2009 23:40:52 +0000 (16:40 -0700)]
Backport USB stuff to allow ar9170 on 2.6.27
Only compile tested.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 15 Jul 2009 22:25:44 +0000 (15:25 -0700)]
Annotate what we need for ar9170 for older kernels
To get ar9170 working on 2.6.27 we need to backport:
* usb_get_from_anchor()
* usb_poison_anchored_urbs()
* usb_unpoison_anchored_urbs()
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 15 Jul 2009 22:18:12 +0000 (15:18 -0700)]
Fix compilation when RFKILL_LED is enabled
Think this should do it, not tested.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 12 Jul 2009 18:08:49 +0000 (20:08 +0200)]
Fix problems with kernel 2.6.31.
__dev_addr_sync and __dev_addr_unsync are not exported in kernel < 2.6.32.
Now this is compiling and loading with kernel 2.6.31.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 12 Jul 2009 11:26:06 +0000 (13:26 +0200)]
Fixes kernel panic with kernel 2.6.28 while scanning.
This Problem was introduced with
50334349aa7f6fba1002739bf08481fcf1fb0761
The Patch is based on http://osdir.com/ml/linux-wireless/2009-04/msg01085.html
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 12 Jul 2009 20:26:22 +0000 (22:26 +0200)]
Update compat.diff for master-2009-07-10
This is now compiling with kernel at least 2.6.26 to 2.6.30.
MAC80211_DRIVER_API_TRACER is only working with kernel >= 2.6.30.
v2: Fixed typo
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 9 Jul 2009 06:34:31 +0000 (23:34 -0700)]
Update compat.diff for offsets: master-2009-07-08
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 9 Jul 2009 01:30:38 +0000 (18:30 -0700)]
Add stuff for 2.6.24 support, more items are missing
linux/gpio.h is not available on older kernels, we'll just have to
disable all drivers which use that. After that we need to port
__dev_addr_unsync() and friends. Not sure what is after that.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 23:38:53 +0000 (16:38 -0700)]
For some reason I had removed wext-compat, add it back
cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o wext-sme.o
we depend on your kernel's CONFIG_WIRELESS_EXT for this.
This should fix what users report as:
00:32 < Sticky__> hmm, now getting errors on "modprobe ath5k": "WARNING: Error inserting ath
(/lib/modules/2.6.28-13-generic/updates/drivers/net/wireless/ath/ath.ko): Unknown symbol in module, or
unknown parameter (see dmesg)"
00:32 < Sticky__> and from dmesg: [ 2245.275139] cfg80211: Unknown symbol cfg80211_wext_freq
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 23:25:06 +0000 (16:25 -0700)]
compat-wireless-2.6 now compiles on 2.6.25
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 22:43:58 +0000 (15:43 -0700)]
Fix compilation on 2.6.28
Reported-by: Sticky__ via IRC #linux-wireless
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 22:34:01 +0000 (15:34 -0700)]
Start port work for usage on 2.6.25. We get up to:
CC [M] /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_stop’:
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:388: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:394: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_if_add’:
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:794: error: ‘struct net_device’ has no member named ‘needed_headroom’
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:801: error: ‘struct net_device’ has no member named ‘needed_tailroom’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/mac80211] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-020625-generic'
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 19:44:15 +0000 (12:44 -0700)]
Backport flush_work() -- enable compilation on 2.6.26
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 8 Jul 2009 00:28:01 +0000 (17:28 -0700)]
Forgot to ifdef the inclusion of rfkill_backport.h on rfkill/input.c
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 23:38:04 +0000 (16:38 -0700)]
Forgot to remove one more hunk in rfkill backport simplification
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 23:33:49 +0000 (16:33 -0700)]
More rfkill backport simplification
Trims compat.diff down further. Compile tested against 2.6.27.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 23:12:20 +0000 (16:12 -0700)]
Further changes to minimize rfkill backport
Include net/compat.h on rfkill_backport.h, then remove
the compat.diff changes.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 22:28:14 +0000 (15:28 -0700)]
Simply rfkill backport by using macros
By using direct macros for the calls such as:
define rfkill_blocked backport_rfkill_blocked
we can simpify the backport of rfkill. This works well as
the number of arguments we use will always remain constant
as we are providing our own implemention of rfkill.
This reduces the size of compat.diff, makes it easier to maintain.
Note that compat.diff was also broken as we forgot to use rdev
instead of dev on the core.c patch but since we're removing it
we don't bother to fix it. I note this in case we want to revert
this patch later.
This has been compile-tested on 2.6.27.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 22:19:35 +0000 (15:19 -0700)]
Backport wext.c dev->netdev_ops->ndo_do_ioctl call
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 21:23:19 +0000 (14:23 -0700)]
Add new CONFIG_CFG80211_DEFAULT_PS* kconfig to config.mk
These were previously only available for mac80211 drivers.
cfg80211 inherits this now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 20:57:17 +0000 (13:57 -0700)]
Update compat.diff for net/wireless/core.c
The contexts changed based on new updates, fix that.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 20:37:53 +0000 (13:37 -0700)]
Update compat.diff hunk offsets, still doesn't apply cleanly yet
We leave the one hunk which fails for another patch, this needs
more review.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 20:18:11 +0000 (13:18 -0700)]
Fix compat.diff to account for new scan.c and core.h changes
hold is now atomic, and offesets changed a bit. Important to note
now is the BUG_ON(atomic_read(&bss->hold)) on the bss_release(),
this should be ok for older kernels as the hold should be updated
accordingly.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 01:56:18 +0000 (18:56 -0700)]
Update compat.diff -- patch fails still, on scan.c and core.h
I don't have time to look at this right now, maybe tomorrow.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 7 Jul 2009 01:01:06 +0000 (18:01 -0700)]
Add missing bits to get compat-wireless to compile on 2.6.26
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 23:30:08 +0000 (16:30 -0700)]
Add initial missing port work for 2.6.26 to compile
Almost there...
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 21:34:45 +0000 (14:34 -0700)]
Backport genl_register_family_with_ops() and skb_dst_drop()
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 20:02:47 +0000 (13:02 -0700)]
Ooops - I nuked drivers/net/wireless/Makefile patch, re-add it
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 20:02:05 +0000 (13:02 -0700)]
Fix 2.6.23 compat header
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 19:04:27 +0000 (12:04 -0700)]
Fix compat.diff for net/wireless/Makefile
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 18:54:29 +0000 (11:54 -0700)]
Add initial backport work down to 2.6.21, disable it for the meantime
As each kernel is tested we can enable it.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 17:48:49 +0000 (10:48 -0700)]
Remove mq_compat.h - not required or used
This wasn't being used by this tree but now with the master netdev
removal we won't be needing this anyway.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 6 Jul 2009 17:40:01 +0000 (10:40 -0700)]
Split kernel compatibility into different files
This should make maintaining and readability easier.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Jul 2009 07:36:02 +0000 (00:36 -0700)]
Update compat.diff for master-2009-06-30
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Jul 2009 07:22:41 +0000 (00:22 -0700)]
Fix usbnet.c hunks
CONFIG_COMPAT_NET_DEV_OPS is now pointless since
all USB net drivers are now converted.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Jul 2009 07:09:22 +0000 (00:09 -0700)]
Add script to make stable compat-wireless releases
To make stable compat-wireless releases we make use of
hpa's linux-2.6-allstable.git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-allstable.git
With scripts/gen-stable-release.sh and the linux-2.6-allstable.git
tree present you can make stable kernel compat-wireless releases.
By default we target rc kernels. If you want to use as base another
kernel that must be specified.
Examples usages:
./scripts/gen-stable-release.sh
./scripts/gen-stable-release.sh linux-2.6.29.y
./scripts/gen-stable-release.sh linux-2.6.30.y
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Jul 2009 02:02:53 +0000 (19:02 -0700)]
Help identify stable compat-wireless releases
admin-update.sh script now knows to distinguish between
regular bleeding edge compat-wireless releass and stable
compat-wireless releases.
We also update the gen compat autconf script accordingly.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Jul 2009 02:04:52 +0000 (19:04 -0700)]
Make admin clean remove more stale files
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 1 Jul 2009 21:43:02 +0000 (14:43 -0700)]
Backport skb_queue_is_first(), skb_queue_prev(), skb_queue_is_last() and skb_queue_next()
These are needed by p54.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sat, 20 Jun 2009 11:17:15 +0000 (13:17 +0200)]
change symbol rfkill_unregister to backport_rfkill_unregister
In include/linux/rfkill_backport.h "backport_" in front of rfkill_unregister was missing.
Update compat.diff
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 18 Jun 2009 19:38:35 +0000 (21:38 +0200)]
Update compat.diff
__dev_addr_sync and __dev_addr_unsync are not exported in older kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 18 Jun 2009 19:38:34 +0000 (21:38 +0200)]
Update conpat.diff remove last skb->requeue part
This was needed as long as skb->requeue was accessed in this part.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 16 Jun 2009 18:31:10 +0000 (20:31 +0200)]
Do not build backported rfkill module on new kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 16 Jun 2009 18:31:09 +0000 (20:31 +0200)]
Update compat.diff
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:48 +0000 (22:01 +0200)]
Backport rfkill for kernel older than 2.6.31.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:47 +0000 (22:01 +0200)]
Update compat.diff
requeue was removed out of skbuff.h in wireless-testing.
Add missing import for b43 with kernel 2.6.28.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:46 +0000 (22:01 +0200)]
Add iwmc3200wifi driver.
It only supports kernel >= 2.6.29, because it uses new netdev_ops api.
If you need support for older kernel please backport it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Julian Calaby [Mon, 8 Jun 2009 06:02:46 +0000 (16:02 +1000)]
compat-wireless: update for 2009-06-08
Update to match wireless-testing
v2.6.30-rc8-25759-g00f7164
compat.diff has been updated to apply cleanly over the
wireless-testing.git version specified above with no fuzz.
iwmc3200wifi, as I don't know if it compiles on anything but
wireless-testing.git, has been disabled by editing it out of the
Makefile as it's directory isn't actually copied from
I must note that even after these changes, this still doesn't actually
compile for me, as ath9k uses the rfkill_ops structure which isn't
present in my 2.6.29 kernel.
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Julian Calaby [Mon, 8 Jun 2009 06:02:03 +0000 (16:02 +1000)]
compat-wireless: Add entry for master-tag in .gitignore
master-tag wasn't mentioned in .gitignore, despite it being manufactured by
scripts/admin-update.sh.
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Luis R. Rodriguez [Mon, 18 May 2009 22:35:15 +0000 (15:35 -0700)]
add a depmod check -- check for updates/ preference
If your distribution lacks an /etc/depmod.d/ or /etc/depmod.conf
file we'll add one for you. By default we add the file in
/etc/depmod.d/compat-wireless.conf
We could get more granular and only add this preference for
wireless stuff but that requires some work.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 18 May 2009 21:44:24 +0000 (14:44 -0700)]
Update compat.diff
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 17 May 2009 12:47:43 +0000 (14:47 +0200)]
compat-2.6: Fixed module_disable function with old module-init-tools.
The behavior of modprobe -l chanched. Old versions are returning
the full path and new versions only return the relative path
to the modules directory of the kernel.
Corrected some typos iwl-enable.
Thanks Brett D. Ussher for your help.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 17 May 2009 12:47:42 +0000 (14:47 +0200)]
compat-2.6: Add libertas_spi module.
Clean up libertas stuff in config.mk
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 17 May 2009 12:47:41 +0000 (14:47 +0200)]
compat-2.6: Add WL12XX driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 17 May 2009 12:47:40 +0000 (14:47 +0200)]
compat-2.6: update compat.diff
In kernel versions > 2.9.28 linux/etherdevice.h includes asm/unaligned.h.
This is needed by net/mac80211/key.c.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 12 May 2009 20:34:45 +0000 (22:34 +0200)]
compat-2.6: update compat.diff
This will fix the make clean problem reported by Brett D. Ussher.
wl12xx will be removed from Makefile. I do not think wl12xx needs to be integrated,
because it is not rely widely used.
If needed it will not be very hard to integrate it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 28 Apr 2009 22:47:12 +0000 (15:47 -0700)]
Update compat.diff
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 21 Apr 2009 20:43:58 +0000 (22:43 +0200)]
Symbol ksize is not exported in kernel older than 2.6.29.
This reverts commit
ad80a7a983e36c6d8f4ae57e4c472deb9cf1391c from wireless-testing on older kernel versions.
Thanks Mathijs de Bruin for reporting.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 21 Apr 2009 20:43:57 +0000 (22:43 +0200)]
Update compat.diff
* Remove include/net/wireless.h and add include/net/regulatory.h.
* Enable powersave by default.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 20 Apr 2009 20:15:01 +0000 (22:15 +0200)]
Add include/linux/mmc/sdio_ids.h
The sdio_ids.h only contains definitions, no structures. It is like the
linux/pci_ids.h file for SDIO devices.
If you do not like to include the file use this patch which adds the
needed definition to compat.h.
Hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>