Felix Fietkau [Mon, 27 Feb 2012 14:35:46 +0000 (15:35 +0100)]
compat-wireless: use portable #! for bash scripts
Some systems (e.g. FreeBSD) do not have bash in /bin
Based on a patch by Jo-Philipp Wich
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Sat, 25 Feb 2012 04:43:56 +0000 (20:43 -0800)]
compat-wireless: export MAKE
This is usefulf to propagate the same MAKE
variable preference over scripts used.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Sat, 25 Feb 2012 04:42:39 +0000 (20:42 -0800)]
compat-wireless: fix old kernel checks for 3.x
These ancient checks require a check against the 2 release
as the KERNEL_26SUBLEVEL is only defined when that kernel
is detected.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Rick Farina [Sat, 25 Feb 2012 02:28:40 +0000 (21:28 -0500)]
compat-wireless: replace modprobe -l with functional equivilent
modprobe -l is either deprecated or removed, so let's replace it
testing [ -z "$(DESTDIR)" ] appeared to only be need due to the fact
that *enable was run directly instead of being run with $(DESTDIR)/
Testing for module presence should now work properly on modern distros
and *enable will be run properly with or without $(DESTDIR) being set.
Signed-off-by: Rick Farina <sidhayn@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Sat, 25 Feb 2012 01:24:58 +0000 (17:24 -0800)]
compat-wireless: use compat's CONFIG_COMPAT_KERNEL_* variables
compat already deals with defining CONFIG_COMPAT_KERNEL_* variables
for us for both makefiles and C / header files. The C / header file
usage was fixed in the last commit, this removes internal usage we
had for the Makefiles in preference over the same mechanism.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Sat, 25 Feb 2012 00:55:32 +0000 (16:55 -0800)]
compat-wireless: start using CONFIG_COMPAT_KERNEL_ in code
This lets use the defined CONFIG_COMPAT_KERNEL_* in C code and
header files. Next step is to remove the Makefile hackery to
defines CONFIG_COMPAT_KERNEL_* stuff as we have a generated
file for us now.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Sat, 25 Feb 2012 01:23:53 +0000 (17:23 -0800)]
compat-wireless: fix old checks on KERNEL_SUBLEVEL
KERNEL_SUBLEVEL used to be used on config.mk for th 2.6.x series
but after 3.x support was added the variable should have been
changed to KERNEL_26SUBLEVEL.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Rick Farina [Sun, 19 Feb 2012 15:49:52 +0000 (10:49 -0500)]
cleanup modprobe calls
There are a lot of needless calls to "modprobe -l <drivername>"
None of this is needed, and it errors when modprobe -l is removed
(such as when KMOD replaces modutils). Since modprobe -l is already
legacy, let's just remove it.
Signed-off-by: Rick Farina <sidhayn@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Thu, 23 Feb 2012 23:36:23 +0000 (15:36 -0800)]
compat-wireless: refresh patches for backport alx
alx is not yet upstream but it will be soon I hope.
This updates the backport of it.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Thu, 23 Feb 2012 23:21:48 +0000 (15:21 -0800)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Thu, 23 Feb 2012 23:19:57 +0000 (15:19 -0800)]
compat-wireless: fix patches/24-pcmcia.patch
Some hunk offsets were off.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Thu, 23 Feb 2012 23:15:27 +0000 (15:15 -0800)]
compat-wireless: fix patches/16-bluetooth.patch
Some context lines were removed from the upstream driver.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Thu, 23 Feb 2012 23:01:48 +0000 (15:01 -0800)]
compat-wireless: fix 08-rename-config-options.patch
Hunk conflicts due to changes on the Makefile for the wl1251 driver.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 17 Feb 2012 23:56:07 +0000 (15:56 -0800)]
compat-wireless: refresh patches
This synchs with next-
20120217.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luciano Coelho [Fri, 17 Feb 2012 09:49:00 +0000 (11:49 +0200)]
compat-wireless: update bluetooth patch to latest wireless-testing
There is a small change in the bt_sock_unregister() function in
af_bluetooth (an extra if) that cause the patch not to apply anymore.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
John W. Linville [Wed, 15 Feb 2012 21:37:52 +0000 (16:37 -0500)]
compat-wireless: remove olpc_ec_wakeup_* calls for pre-3.1 kernels
This section of the libertas driver calls functions that simply don't
exist before the release of 3.1. This code in question was an addition,
not a change from any existing code. It is safe to simply remove it for
older kernels.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 1 Feb 2012 03:05:56 +0000 (19:05 -0800)]
compat-wireless: add alx driver and backport
This adds backport support for the alx driver.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 10 Feb 2012 20:56:34 +0000 (12:56 -0800)]
compat-wireless: refresh patches with next-
20120210
Synchs with next-
20120210
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 10 Feb 2012 20:51:10 +0000 (12:51 -0800)]
compat-wireless: remove patches/50-function-namespace.patch
This is now upstream. Boy that was fast.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 10 Feb 2012 20:45:13 +0000 (12:45 -0800)]
compat-wireless: fix patches/44-deactivate-mac80211-tracing.patch
Tracing stuff is now compiled-in if tracing is enabled in your
build, but we keep it disabled regardless for compat.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 8 Feb 2012 04:59:55 +0000 (20:59 -0800)]
compat-wireless: rename path_lookup() to mpath_lookup()
This is required for compiling compat-wireless down to 2.6.24.
Don't ask me why, I just wanted to get this done. This patch
will be sent upstream.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Rick Farina [Mon, 6 Feb 2012 15:42:16 +0000 (10:42 -0500)]
compat-wireless: add missing =y to CONFIG_RT2X00_LIB_DEBUGFS
When editing config.mk with a sed script the missing =y on this line
causes issue. Since this line is commented out by default this means no
changes to the default behavior and sed scripts will be able to edit the
config.mk file much more easily.
Signed-of-By: Rick Farina <sidhayn@gmail.com>
Rick Farina [Mon, 6 Feb 2012 15:38:14 +0000 (10:38 -0500)]
compat-wireless: Calling make directly is not permitted
make was being called directly, fix to $(MAKE)
Signed-of-By: Rick Farina <sidhayn@gmail.com>
Luis R. Rodriguez [Wed, 1 Feb 2012 03:36:46 +0000 (19:36 -0800)]
compat-wireless: add Ethernet drivers to driver-select
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 1 Feb 2012 02:24:59 +0000 (18:24 -0800)]
compat-wireless: update language on scripts/admin-update.sh
Use the actual git tree name. The term "linux-next.git based"
does more justice than "bleeding edge based". It also helps educate
users / developers about the source of the code.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 1 Feb 2012 00:08:46 +0000 (16:08 -0800)]
compat-wireless: refresh patches
This applies on top of next-
20120131.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 1 Feb 2012 00:03:18 +0000 (16:03 -0800)]
compat-wireless: fix patches/99-change-makefiles.patch
CONFIG_USB_NET_QMI_WWAN was added and therefore the
respective Makefile, drivers/net/usb/Makefile, needs
to be adjusted to remove that from our list of targets.
If we user our own generated Makefiles for drivers the
advantage is that we would not face this issue when upstream
gets a new driver that our hunk needs to ignore but -- the
disadvantage is that any changes upstream would require a
respective change into compat-wireless. Driver Makefiles
though typically are just copied as-is and never modified.
Its subsystem Makefiles that we tend to have to patch on
this file.
One option would be to somehow annotate upstream targets as
compat-wireless maintained so that we can script out what
targets to leave in.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Tue, 31 Jan 2012 23:39:12 +0000 (15:39 -0800)]
compat-wireles: remove ath9k packet log crap patch
This has been sitting in crap/ directory for ages. Time
to go. Too bad. Someone will have to get this upstream.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 26 Jan 2012 22:55:44 +0000 (23:55 +0100)]
compat-wireless: fix some config options
Adds some missing config options interceded in the last time and remove
some old now unused config options.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Sat, 21 Jan 2012 13:43:36 +0000 (14:43 +0100)]
compat-wireless: rename path_lookup
path_lookup in net/mac80211/mesh_pathtbl.c consolidates with
path_lookup in include/linux/namei.h used in old kernel versions.
This should also go into compat-wireless-stable-3.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Sat, 21 Jan 2012 13:43:35 +0000 (14:43 +0100)]
compat-wireless: use skb_get_queue_mapping() in b43 and b43legacy
Use skb_get_queue_mapping() for getting the queue_mapping member of
skb. Some old kernels do not have the member queue_mapping with all
configuration options, but this function always returns something.
This should also go into compat-wireless-stable-3.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Sat, 21 Jan 2012 13:43:34 +0000 (14:43 +0100)]
compat-wireless: backport dev_pm_ops for bcma
bcma now also uses dev_pm_ops which does not work with older kernel
versions. Just backport it like it was done for the other drivers.
This should also go into compat-wireless-stable-3.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Eliad Peller [Mon, 23 Jan 2012 17:02:34 +0000 (19:02 +0200)]
compat-wireless: fix wl12xx driver-select
wl12xx is a possible choice for both group drivers and
singular modules (making it impossible to build only
the wl12xx module). change the group name to "ti" instead.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Tue, 20 Dec 2011 02:33:42 +0000 (18:33 -0800)]
compat-wireless: use linux-stable instead of linux-2.6-allstable
I used to use hpa's linux-2.6-allstable.git tree to make
stable releases of compat-wireless. This allowed me to
make updates to the stable releases whenever a 2.6.x.y
extraversion got out -- but also to make updates whenever
Linus updated his own tree so I can make RC releases
based on the latest RC release. Greg has taken over of
that tree and its now called linux-stable.git. What I am
seeing though is that the linux-stable git tree now seems
to not update as often to Linus' tree. This is fine as all
I have to do is add Linus' tree as a remote and fetch
those objects and then reset the tree to say, v3.2-rc6
and that'll get what Linus' tree looks like today.
This patch just changes the path where we pick up stable
releases from but also documents this change in case
anyone that wants to make stable release must also add
Linus' tree as a remote and fetch those objects.
Cc: greg@kroah.com
CC: kvalo@qca.qualcomm.com
Cc: linville@tuxdriver.com
Cc: senthilb@qca.qualcomm.com
Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
John W. Linville [Tue, 3 Jan 2012 15:28:36 +0000 (10:28 -0500)]
Enable CONFIG_RT2800{PCI,USB}_RT53XX
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luciano Coelho [Wed, 18 Jan 2012 08:13:41 +0000 (10:13 +0200)]
compat-wireless: check if modprobe exists before using it
If you're cross-compiling compat-wireless on a different host, you
can't reliably use modprobe. The host system may not even have
modprobe, so it doesn't make sense to run modprobe, unless you're
installing the modules on the target machine.
The modprobe command was being used unconditionally to set the MADWIFI
and OLD_IWL variables. This commit adds a check to see whether
modprobe exists before trying to use. It also adds a dependency on
the modprobe commands to all recipes that rely on it, so we fail more
gracefully if modprobe doesn't exist in the system.
Reported by: William List <wlist@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Dominique Martinet [Tue, 17 Jan 2012 00:08:12 +0000 (01:08 +0100)]
compat-wireless: build: Throw error if space in path
Because of make limitations, the build will fail if there are spaces in
the path leading to the compat-wireless directory.
I tried to make it work anyway for a while and, while it probably is
possible, it would involve rewriting part of kbuild and well...
This at least throws up nicely if there is a space in the path.
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Mon, 16 Jan 2012 14:35:12 +0000 (06:35 -0800)]
compat-wirless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Tue, 10 Jan 2012 00:56:33 +0000 (16:56 -0800)]
compat-wireless: refresh patches for next-
20120109
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Wed, 28 Dec 2011 15:38:28 +0000 (07:38 -0800)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 23 Dec 2011 15:12:52 +0000 (07:12 -0800)]
compat-wireless: clarify patches/46-use_other_workqueue.patch
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Fri, 23 Dec 2011 15:10:08 +0000 (07:10 -0800)]
compat-wireless: clarify patches/47-no_trans_start_on_netdev_queue.patch
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:30 +0000 (21:47 +0100)]
compat-wireless: no trans_start on netdev_queue
struct netdev_queue does not have the attribute trans_start in kernel <
2.6.31. trans_start on struct net_device does the same on older kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:29 +0000 (21:47 +0100)]
compat-wireless: use other workqueue
Old kernel versions do not support WQ_HIGHPRI and WQ_MEM_RECLAIM so we
should use create_singlethread_workqueue() which was used at this
position before.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:28 +0000 (21:47 +0100)]
compat-wireless: make patches apply again
* sk_add_backlog() is no longer used in net/bluetooth/l2cap_core.c so
the patch is not needed any more.
* ath6k got some now functions and the patches did not apply any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:27 +0000 (21:47 +0100)]
compat-wireless: CONFIG_BT_L2CAP and CONFIG_BT_SCO removed
The config options CONFIG_BT_L2CAP and CONFIG_BT_SCO were removed from
the kernel and this patch removes them from compat-wireless.
commit
f1e91e1640d808d332498a6b09b2bcd01462eff9
Author: Ulisses Furquim <ulisses@profusion.mobi>
Date: Wed Dec 21 01:32:09 2011 -0200
Bluetooth: Always compile SCO and L2CAP in Bluetooth Core
The handling of SCO audio links and the L2CAP protocol are essential to
any system with Bluetooth thus are always compiled in from now on.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:26 +0000 (21:47 +0100)]
compat-wireless: remove platform_device_id for kernel < 2.6.30
Kernel < 2.6.30 do not support struct platform_device_id, so remove it
for them and hope that the probing will reject an invalid device.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Hauke Mehrtens [Thu, 22 Dec 2011 20:47:25 +0000 (21:47 +0100)]
compat-wireless: compile fix for commit patches/09-threaded-irq.patch
This commit had some compile problem with kernel < 2.6.32
commit
c486a4fcc5ddfb3232edfd0489fe63ffc1fa8aea
Author: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Date: Tue Dec 13 10:40:55 2011 -0800
compat-wireless: fix patches/09-threaded-irq.patch
There was a semicolon missing at the end of a line and wl1271_hardirq
has to be renamed to wl12xx_hardirq.
This is now compile tested with all maijor kernel version from 2.6.27.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Luis R. Rodriguez [Tue, 13 Dec 2011 19:33:32 +0000 (11:33 -0800)]
compat-wireless: copy driver files only if present
This modifies admin-update.sh to only copy files over
from a driver target directory if files are found. This
should avoid a bunch of complaints of copying files
from directories that are just placeholders for other
folders, as happens with drivers/net/wireless/brcm80211/
which has folders a Makefile, Kconfig but no files there
itself:
brcmfmac/
brcmsmac/
brcmutil/
include
Kconfig
Makefile
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Luis R. Rodriguez [Tue, 13 Dec 2011 18:59:55 +0000 (10:59 -0800)]
compat-wireless: refresh patches
automatic refresh
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Luis R. Rodriguez [Tue, 13 Dec 2011 18:40:55 +0000 (10:40 -0800)]
compat-wireless: fix patches/09-threaded-irq.patch
This fixes patches/09-threaded-irq.patch hunk breakage
caused due to changes in the upstream wireless-testing
commit
a390e85:
Author: Felipe Balbi <balbi@ti.com>
Date: Thu Oct 6 10:07:44 2011 +0300
wl12xx: move common init code from bus modules to main
Move all common parts from sdio.c and spi.c to main.c, since they now
can be handled as part of the platform driver.
Signed-off-by: Felipe Balbi <balbi@ti.com>
[forward-ported, cleaned-up and rephrased commit message]
[added a bunch of fixes and a new pdata element]
[moved some new code into main.c as well]
Signed-off-by: Luciano Coelho <coelho@ti.com>
This goes not compile tested, apart from *all* the things
a390e85 changes one minor change was instead of using
DRIVER_NAME in the request_threaded_irq() it now uses
pdev->name, and pdev is struct platform_device. Too lazy
to git checkout v2.6.30 to test compile against that
kernel but at least:
git blame include/linux/platform_device.h v2.6.30
seems to show that the pdev->name char was added by
Russell King via
bbbf508d on v2.6.15 so this should
compile down to that kernel.
mcgrof@tux ~/linux-2.6-allstable (git::master)$ git describe --contains
bbbf508d
v2.6.15-rc1~59^2~6^2~2
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Eliad Peller [Mon, 12 Dec 2011 17:14:16 +0000 (19:14 +0200)]
compat-wireless: fix patches/08-rename-config-options.patch
wl12xx_sdio_test module was removed
Signed-off-by: Eliad Peller <eliad@wizery.com>
Luis R. Rodriguez [Mon, 5 Dec 2011 19:59:13 +0000 (11:59 -0800)]
compat-wireless: refresh patches
Synchs with linux-next tag
20111205
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:25 +0000 (15:46 +0100)]
compat-wireless deactivate mac80211 tracing for old kernels
Activating tracing on kernel <= 2.6.32 causes build errors.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:24 +0000 (15:46 +0100)]
compat-wireless: fix brcm80211 driver-select
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:23 +0000 (15:46 +0100)]
compat-wireless: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:22 +0000 (15:46 +0100)]
compat-wireless: fix driver-select for intel
iwlagn was renamed and iwlegacy was added
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:21 +0000 (15:46 +0100)]
compat-wireless: remove some modules from Makefile
The removed build targets are not shipped with compat-wireless.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 3 Dec 2011 14:46:20 +0000 (15:46 +0100)]
compat-wireless: add config var for CORDIC and CRC8
Sometimes the kernel version compat-wireless is build against has
support for cordic and crc8 in its source, but these modules were not
build when the kernel was build, because no one selected them. The modules are
needed for the bcmsmac driver and they should be build every time when
they were not already build while the kernel was build.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 30 Nov 2011 02:58:28 +0000 (21:58 -0500)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
John W. Linville [Tue, 29 Nov 2011 21:45:20 +0000 (16:45 -0500)]
compat-wireless: fix patches/39-remove_blink_set.patch
More fall-out from the refactoring of iwlegacy...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville [Tue, 29 Nov 2011 21:45:19 +0000 (16:45 -0500)]
compat-wireless: fix patches/38-led-max-brightness.patch
More fall-out from the refactoring of iwlegacy...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville [Tue, 29 Nov 2011 21:45:18 +0000 (16:45 -0500)]
compat-wireless: fix patches/11-dev-pm-ops.patch
More fall-out from the refactoring of iwlegacy...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis R. Rodriguez [Tue, 29 Nov 2011 20:34:27 +0000 (15:34 -0500)]
compat-wireless: fix patches/08-rename-config-options.patch
This requird a bit of changes due to some file changes on
the iwlegacy driver.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Fri, 18 Nov 2011 19:44:05 +0000 (20:44 +0100)]
compat-wireless: escape &
& needs to be escaped.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 18 Nov 2011 19:44:04 +0000 (20:44 +0100)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
John W. Linville [Fri, 18 Nov 2011 18:46:18 +0000 (13:46 -0500)]
compat-wireless: change CONFIG_IWLAGN -> CONFIG_IWLWIFI
This Kconfig option changed in the 2.6.32 timeframe.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:41 +0000 (22:23 +0100)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:40 +0000 (22:23 +0100)]
compat-wireless: remove kfree_rcu() patch
kfree_rcu() is now backported in compat, this patch is not needed any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:39 +0000 (22:23 +0100)]
compat-wireless: add support for kernel 3.2
Increase the maximum supported kernel version and generate COMPAT_3_3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
John W. Linville [Thu, 17 Nov 2011 22:21:11 +0000 (17:21 -0500)]
compat-wireless: support RHEL6 as a build target
This patch enables compatibility with RHEL6 as a build target. This
mostly includes changes to the configuration system.
Infrastructure is added to config.mk to provide a series of RHEL
compatibility definitions (e.g. CONFIG_COMPAT_RHEL_6_1). A couple of
checks are added to set appropriate config options for RHEL6 kernels.
Finally, gen-compat-autoconf.sh is modified to correctly handle the
CONFIG_COMPAT_RHEL_* usage in config.mk.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
John W. Linville [Thu, 17 Nov 2011 23:15:47 +0000 (15:15 -0800)]
compat-wireless: add CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN
An API change in the 2.6.33 timeframe made a number of bluetooth
functions require an extra parameter. Some kernels (e.g. RHEL6)
backport that API change, and this allow us to accommodate them.
This adds CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN to config.mk and
modifies an existing patch for the Bluetooth subsystem.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
John W. Linville [Thu, 17 Nov 2011 22:21:09 +0000 (17:21 -0500)]
compat-wireless: remove leading whitespace from CONFIG_COMPAT_FIRMWARE_CLASS
CONFIG_COMPAT_FIRMWARE_CLASS is being checked in compat-2.6.33.h, so it
needs to show-up in compat_autoconf.h. Remove the leading whitespace,
so that gen-compat-autoconf.sh will treat it accordingly.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville [Thu, 17 Nov 2011 22:21:08 +0000 (17:21 -0500)]
compat-wireless: add CONFIG_COMPAT_KFIFO setting to config.mk
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Johannes Berg [Mon, 14 Nov 2011 16:14:49 +0000 (17:14 +0100)]
compat-wireless: disable SKB TX status stamping in mac80211
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Luis R. Rodriguez [Tue, 8 Nov 2011 19:23:25 +0000 (11:23 -0800)]
compat-wireless: refresh patches for next-
20111108
Synchs up with next-
20111108
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Sun, 6 Nov 2011 21:23:41 +0000 (22:23 +0100)]
compat-wireless: backport rtlwifi PM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 17 Oct 2011 21:20:44 +0000 (14:20 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Thu, 13 Oct 2011 14:16:34 +0000 (16:16 +0200)]
compat-wireless: adapt moving brcm80211 to main area
brcm80211 is no staging driver any more and can be found in the main
area where all the other wireless drivers are now. There where some
changes needed for the move.
And BRCMFMAC does not depend on WEXT any more so remove that from
config.
BRCMFMAC does not build with kernel < 2.6.29, because
ndev->netdev_ops = NULL and ndev->netdev_ops == &brcmf_netdev_ops_pri
are not supported by the backport code for netdev_ops.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Johannes Berg [Thu, 6 Oct 2011 20:05:39 +0000 (22:05 +0200)]
compat-wireless: add struct padding to fix wext issue
See description in the patch :-)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Hauke Mehrtens [Thu, 6 Oct 2011 16:53:00 +0000 (18:53 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Johannes Berg [Thu, 6 Oct 2011 09:15:45 +0000 (11:15 +0200)]
compat-wireless: make driver-select only select complete lines
Otherwise we end up enabling CONFIG_FOOBAR if
only CONFIG_FOO is requested.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Hauke Mehrtens [Tue, 4 Oct 2011 11:11:10 +0000 (13:11 +0200)]
compat-wireless: deactivate sdio suspend in ath6kl with kernel < 2.6.34
The API to sdio suspend changed in kernel 2.6.34 and it is not
backported by compat. Just deactivate it when compat-wireless is
compiled for such an old kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 4 Oct 2011 11:11:09 +0000 (13:11 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 1 Oct 2011 10:33:18 +0000 (12:33 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 28 Sep 2011 20:42:03 +0000 (13:42 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Wed, 28 Sep 2011 18:42:46 +0000 (20:42 +0200)]
compat-wireless: make patches apply again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 21 Sep 2011 17:06:17 +0000 (19:06 +0200)]
compat-wireless: remove old config options
Both config options have be removed from the Kconfig files in the
kernel and are not used by the code any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 21 Sep 2011 17:06:16 +0000 (19:06 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 19 Sep 2011 18:53:39 +0000 (11:53 -0700)]
compat-wireless: update patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Luis R. Rodriguez [Mon, 19 Sep 2011 18:49:21 +0000 (11:49 -0700)]
compat-wireless: fix multiqueue patch
One offset was no longer in proper context, this required
manual intervention. I'm going to start annotating these for
record keeping purposes with this notation:
Manual-patch-fix
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Wed, 31 Aug 2011 22:10:30 +0000 (00:10 +0200)]
compat-wireless: activate CONFIG_B43_PHY_HT
b43 HT-PHY is working now.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 31 Aug 2011 22:10:29 +0000 (00:10 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 25 Aug 2011 20:33:43 +0000 (13:33 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Wed, 24 Aug 2011 11:15:41 +0000 (13:15 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 23 Aug 2011 11:36:06 +0000 (13:36 +0200)]
compat-wireless: pm_qos_request_list was renamed to pm_qos_request
In the following commit in linux-next pm_qos_request_list was renamed
to pm_qos_request:
commit
b10ac0c24e4c618a99262ad47a1b0176f152883d
Author: Jean Pihet <j-pihet@ti.com>
Date: Thu Aug 18 10:32:02 2011 +0200
PM QoS: Minor clean-ups
Backporting it with a #define in compat did not worked as there is also
a function called pm_qos_request() and its name did not changed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 22 Aug 2011 15:08:05 +0000 (08:08 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Hauke Mehrtens [Thu, 18 Aug 2011 11:45:04 +0000 (13:45 +0200)]
compat-wireless: fix building with CONFIG_CFG80211_INTERNAL_REGDB
When building with CONFIG_CFG80211_INTERNAL_REGDB set there is a db.txt
and genregdb.awk needed. $(srctree) contains the position of the kernel
source and not the position of the compat-wireless root directory.
Reported-by: Ed W <lists@wildgooses.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 15 Aug 2011 18:30:54 +0000 (20:30 +0200)]
comapt-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 16 Aug 2011 13:24:42 +0000 (15:24 +0200)]
compat-wireless: add many fixes to driver-select
after driver-select was used it built often not needed modules. This is
now fixed for most options. Most of these problems where introduced
while a new driver was added to compat-wireless, but driver-select was
not updated.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>