Senthil Balasubramanian [Mon, 13 Sep 2010 19:55:03 +0000 (12:55 -0700)]
compat-wireless: fix scripts/driver-select for ath9k
As compat wireless now supports 2.6.24 or later, we don't need
to apply this special patch for ath9k.
This addresses a script error when ath9k alone is selected.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:33 +0000 (18:18 +0200)]
compat-wireless: add brcm80211 driver
This driver was compile tested on kernel 2.6.29 to 2.6.36.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:32 +0000 (18:18 +0200)]
compat-wireless: remove special handling for CONFIG_CFG80211_WEXT
The special handling for CONFIG_CFG80211_WEXT is not needed any more,
because it is only activated when CONFIG_WIRELESS_EXT is also set.
Enabling this condition only for kernel <= 2.6.32 was wrong. In compat-
wireless we are able to deactivate CONFIG_WIRELESS_EXT for every
kernel. For activating it we need CONFIG_WIRELESS_EXT on every kernel.
If kernel <= 2.6.31 was build with cfg80211 support CONFIG_WIRELESS_EXT
was also selected, so it was activated in most cases for that kernel
versions. But it is possible to build compat-wireless without having
cfg80211 while building the kernel and that caused problems in the past.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 12 Sep 2010 21:11:37 +0000 (23:11 +0200)]
compat-wireless: Add warning if wext is deactivated
Add a build warning if CONFIG_CFG80211_WEXT can not be activated.
wireless_handlers is only avaliable if the kernel was build with
CONFIG_WIRELESS_EXT. Add a kernel log warning if CONFIG_CFG80211_WEXT
is activated but we do not have CONFIG_WIRELESS_EXT, so we ware unable
to attach the wireless_handlers for wext.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
v2: use printk_once
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:30 +0000 (09:18 -0700)]
compat-wireless: add conditions form config into compat_autoconf.h
We do not have to use "ifneq ($(CONFIG_...),)", "ifdef CONFIG_..." will
also work. It does not matter if it was set to m or y.
Now this can be added into compat_autoconf.h without changing the script.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:29 +0000 (09:18 -0700)]
compat-wireless: build if kernel does not have mac80211
In kernel 2.6.31 the attributes do_not_encrypt and requeue were removed
from struct sk_buff so we do not need mac80211 to be build while the
kernel was build for nwer kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:28 +0000 (09:18 -0700)]
compat-wireless: fix for CONFIG_WIRELESS_EXT=n
Some modules need CONFIG_WIRELESS_EXT to be set. They should not be
build if CONFIG_WIRELESS_EXT was not set.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:27 +0000 (09:18 -0700)]
compat-wireless: make atk6kl build with older kernels
Now it will be build for kernel < 2.6.28. CONFIG_STAGING was introduced
with that kernel version.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:26 +0000 (09:18 -0700)]
compat-wireless: handle depending on something build as module
If something was build as module in the kernel it is named
CONFIG_..._MODULE in autoconf.h. We have to check for bouth the name
with and wothout _MODULE at the end.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 2 Sep 2010 15:09:00 +0000 (08:09 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Sep 2010 15:08:35 +0000 (08:08 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:57 +0000 (06:32 -0700)]
compat-wireless: fix patch style
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:56 +0000 (06:32 -0700)]
compat-wireless: fix generation of compat_autoconf.h
The endif of an ifdef or ifndef needs and comment so that gen-compat-
autoconf.sh knows that it should put it into the compat_autoconf.h. If
it is missing compat-wireless will not build.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:55 +0000 (06:32 -0700)]
compat-wireless: replace name CONFIG_IWLWIFI
In commit
8c8113109f6916c4926413aa3416cefffaa5d9b8 one CONFIG_IWLWIFI
was not renamed to CONFIG_COMPAT_IWLWIFI.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:54 +0000 (06:32 -0700)]
compat-wireless: convert ifndef for compat_autoconf.h
Only ifdef CONFIG_COMPAT_KERNEL_ was converted to something checking the kernel version. Now also ifndef is converted to the correct check.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 31 Aug 2010 02:41:04 +0000 (19:41 -0700)]
compat-wireless: enable ath6kl only for >= 2.6.32
For now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 31 Aug 2010 01:59:44 +0000 (18:59 -0700)]
compat-wireless: enable ath6kl from being included
ath6kl is not yet upstream but is on its way. For now just
display and copy ath6kl if its present on linux-next.git
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 21:46:36 +0000 (14:46 -0700)]
compat-wireless: fix compilation on iface.c
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 21:01:30 +0000 (14:01 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 20:55:42 +0000 (13:55 -0700)]
compat-wireless: fix patches/25-multicast-list_head.patch
This required some manual context fix.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 20:51:50 +0000 (13:51 -0700)]
compat-wireless: fix multiqueue patches
This patch changed the MQ helpers used, just adjust
the context manually.
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Aug 27 13:36:49 2010 +0200
mac80211: use subqueue helpers
There are subqueue helpers so that we don't
need to get the TX queue and then wake/stop
it, use those helpers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:53 +0000 (11:40 -0700)]
compat-wireless: add support for kernel 2.6.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:52 +0000 (11:40 -0700)]
compat-wireless: add ifdefs into compat_autoconf.h
When using ifdef or ifndef in config.mk these conditions are now also
written into compat_autoconf.h. This replaces some special handling in
gen-compat-autoconf.sh. This was needed because CONFIG_RT2X00_LIB_LEDS
should only be selected for kernel > 2.6.24.
The script adds ifdefs, ifndefs else and endif into the header file. It
adds endif and else only if it is followed by " #CONFIG_" This is
needed because we do not support something like "ifneq
($(CONFIG_CRC7),)" or "ifeq ($(wildcard $(KLIB_BUILD)/.config),)" for
now.
Now egrep is needed because grep does not support the needed regular
expressions.
The spaces in the egrep part have to be replaced by some other
character, a + is used here.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:51 +0000 (11:40 -0700)]
compat-wireless: rename CONFIG_IWLWIFI config symbol
In kernel 2.6.24 CONFIG_IWLWIFI was a bool config symbol and not a
tristate one. In that kernel it was used for showing the menu option for
the Intel driver and not for selection the module it is used for today.
In kernel configurations for version 2.6.24 it is set so y and not to m.
As we do not overwrite some value selected in the kernel config it
will cause problems when we build some parts of the Intel driver in
compat-wireless directly into the kernel.
Now we use an other name for this config symbol to work around the
problem.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:50 +0000 (11:40 -0700)]
compat-wireless: multiple changes to config file
* deactivate SPI drivers for kernel < 2.6.25 because linux/gpio.h
is missing
* CONFIG_WL1251 and CONFIG_WL1271 both need CRC7
* CONFIG_RT2X00_LIB_LEDS does not work for kernel < 2.6.25
because of missing blink_set
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:49 +0000 (11:40 -0700)]
compat-wireless: remove linux/gpio.h include
Kernel 2.6.24 does not have this header file. No method provided by
gpio.h is used in wl12*1_boot.c so this include looks unneeded to me.
This should probably also go into mainline.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:48 +0000 (11:40 -0700)]
compat-wireless: fix patch stile.
This should not change any functionality but the patches are looking
better with theses changes.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:47 +0000 (11:40 -0700)]
compat-wireless: do not use needed_headroom
needed_headroom was introduced in kernel 2.6.26.
Resize hard_header_len instead as it was done before using
needed_headroom.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:52:11 +0000 (16:52 -0700)]
compat-wireless: fix enabling of 2.6.24
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:48:28 +0000 (16:48 -0700)]
compat-wireless: fix unintended merge of changes
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:36:59 +0000 (16:36 -0700)]
compat-wireless: fix driver select for ath9k
Select enabling only down to 2.6.24 for ath9k, 2.6.23
requires a little more trivial work.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:10:22 +0000 (16:10 -0700)]
compat-wireless: enable compilation of ath9k on >= 2.6.24
Re-enabling 2.6.23 requires a little bit of more work:
mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ make V=1 KLIB=/lib/modules/2.6.23.17-dirty/build KLIB_BUILD=/lib/modules/2.6.23.17-dirty/build
make -C /lib/modules/2.6.23.17-dirty/build M=/home/mcgrof/devel/compat-wireless-2.6 modules
make[1]: Entering directory `/home/mcgrof/linux-2.6-allstable'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/mcgrof/devel/compat-wireless-2.6/.tmp_versions
rm -f /home/mcgrof/devel/compat-wireless-2.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/mcgrof/devel/compat-wireless-2.6
make -f scripts/Makefile.build obj=/home/mcgrof/devel/compat-wireless-2.6/compat
gcc -Wp,-MD,/home/mcgrof/devel/compat-wireless-2.6/compat/.main.o.d -I/home/mcgrof/devel/compat-wireless-2.6/include/ -include /home/mcgrof/devel/compat-wireless-2.6/include/linux/compat-2.6.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)" -D"KBUILD_MODNAME=KBUILD_STR(compat)" -c -o /home/mcgrof/devel/compat-wireless-2.6/compat/main.o /home/mcgrof/devel/compat-wireless-2.6/compat/main.c
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:8:2: error: #error "You need a COMPAT_BASE_TREE"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:12:2: error: #error "You need a COMPAT_BASE_TREE_VERSION"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:16:2: error: #error "You need a COMPAT_VERSION"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:19: error: ‘COMPAT_BASE_TREE’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:20: error: ‘COMPAT_BASE_TREE_VERSION’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:21: error: ‘COMPAT_VERSION’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c: In function ‘compat_init’:
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:41: error: expected ‘)’ before ‘COMPAT_PROJECT’
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:45: error: expected ‘)’ before ‘COMPAT_BASE_TREE’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/compat/main.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/compat] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/home/mcgrof/linux-2.6-allstable'
make: *** [modules] Error 2
So we need to figure out why this:
CFLAGS += \
-DCOMPAT_BASE_TREE="\"$(shell cat compat_base_tree)\"" \
-DCOMPAT_BASE_TREE_VERSION="\"$(shell cat compat_base_tree_version)\"" \
-DCOMPAT_PROJECT="\"Compat-wireless\"" \
-DCOMPAT_VERSION="\"$(shell cat compat_version)\""
is not being picked up on 2.6.23 and/or work our way around it.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 24 Aug 2010 00:08:37 +0000 (17:08 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 24 Aug 2010 00:08:08 +0000 (17:08 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 23 Aug 2010 23:59:19 +0000 (16:59 -0700)]
compat-wireless: remove the v from the release name
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 17 Aug 2010 23:37:39 +0000 (16:37 -0700)]
compat-wireless: make gen-stable-release.sh use new release number for dirs
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:09 +0000 (20:31 +0200)]
compat-wireless: fix hidp_output_raw_report
The report_type parameter was added with kenrel 2.6.34
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:08 +0000 (20:31 +0200)]
compat-wireless: make compat-2.6.37.c build
This is needed to set CONFIG_COMPAT_KERNEL_37
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:07 +0000 (20:31 +0200)]
compat-wireless: deactivate namespace
Namespace support was introduced with kernel 2.6.35 in struct class.
Deactivate it for older kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 16 Aug 2010 23:30:20 +0000 (16:30 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 16 Aug 2010 23:29:52 +0000 (16:29 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 15 Aug 2010 12:28:10 +0000 (14:28 +0200)]
compat-wireless: make patches apply again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 7 Aug 2010 13:34:44 +0000 (15:34 +0200)]
compat-wireless: activate more bluetooth drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 7 Aug 2010 13:34:43 +0000 (15:34 +0200)]
compat-wireless: backport pcmcia api changes
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Fri, 6 Aug 2010 23:15:57 +0000 (16:15 -0700)]
compat-wireless: use new br_port_exists() from compat.git
This lets us simplify the way we backport the new bridge port
changes on the bridge code. We can nuke this new patch file
if we later get br_port_exists() accepted to be used on drivers.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Kshitij Kulshreshtha [Wed, 4 Aug 2010 14:18:36 +0000 (16:18 +0200)]
compat-wireless: more PCMCIA backporting
to fix build, these changes are leftovers from commit
commit
dedb69815e9608360249e62a794e3dea6a867ab8
Author: Luis R. Rodriguez <lrodriguez@atheros.com>
Date: Tue Aug 3 13:30:01 2010 -0700
compat-wireless: backport and fix new PCMCIA changes
Signed-off-by: Kshitij Kulshreshtha <kkhere.geo@gmail.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:32:07 +0000 (13:32 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:31:39 +0000 (13:31 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:30:01 +0000 (13:30 -0700)]
compat-wireless: backport and fix new PCMCIA changes
The arguments have been mucked around with for 2.6.36. Other
changes existed on 2.6.35.. and older kernels requires some other
format.. To make the differences between kernels easier to read
and patch up we split them up between kernel revisions completley.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Kshitij Kulshreshtha [Sun, 1 Aug 2010 22:02:53 +0000 (00:02 +0200)]
compat-wireless: copy headers in include/pcmcia from compat
this is needed after the removal of pcmcia/cs_types.h in v2.6.36
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.hu-berlin.de>
Kshitij Kulshreshtha [Sun, 1 Aug 2010 22:02:52 +0000 (00:02 +0200)]
compat-wireless: allow compilation of compat-2.6.35.c from compat
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.hu-berlin.de>
Hauke Mehrtens [Wed, 21 Jul 2010 19:27:14 +0000 (21:27 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 15 Jul 2010 18:50:54 +0000 (20:50 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 14 Jul 2010 20:49:58 +0000 (22:49 +0200)]
compat-wireless: backport threaded-irq for rt2x00
This backport was done like for the b43 driver. This was just build tested.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 14 Jul 2010 01:23:27 +0000 (18:23 -0700)]
compta-wireless: update unload script
This wasn't removing the ath9k_hw module, and ath9k_htc.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 22:32:38 +0000 (15:32 -0700)]
compat-wireless: backport sk_add_backlog() calls through a patch
v2.6.34-rc2~48 got
8eae939f net: add limit for socket backlog
This adds sk_add_backlog_limitted() which makes the backlog
have a size, and therefore adding an skb to the backlog can
fail, a later patch changed all non-limitted calls to use the
limitted caller via
a3a858ff. The older kernels don't have a
size and as such always are successfull when adding to the
backlog.
An overload is possible but complex in C so just backport this
via a patch. This fixes this compile issue with compat-wireless
when on kernels older than 2.6.34:
CC [M] /home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.o
/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.c: In function 'l2cap_data_channel':
/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.c:4352: error: void value not ignored as it ought to be
make[4]: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.o] Error 1
make[3]: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth] Error 2
make[2]: *** [_module_/home/philipp/kernel/build_i586/compat-wireless-2010-07-12] Error 2
make[2]: Leaving directory `/home/philipp/kernel/build_i586/linux-2.6.27.48-astlinux'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/philipp/kernel/build_i586/compat-wireless-2010-07-12'
make: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/wireless/lib80211.ko] Error 2
Reported-by: "Philip A. Prindeville" <philipp_subx@redfish-solutions.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 21:07:23 +0000 (14:07 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 21:06:43 +0000 (14:06 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 12 Jul 2010 15:44:18 +0000 (08:44 -0700)]
compat-wireless: patch refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 11 Jul 2010 20:23:11 +0000 (22:23 +0200)]
compat-wireless: fix build of ath5k for CONFIG_PM_SLEEP=n
suspend and resume are activated in ath5k if CONFIG_PM_SLEEP is set and
not if just CONFIG_PM is set.
This should fix the problems reported by Philip Prindeville.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 8 Jul 2010 21:13:48 +0000 (23:13 +0200)]
compat-wireless: fix build problems
Fix some minor build problems in patch.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:46:42 +0000 (13:46 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:16:59 +0000 (13:16 -0700)]
compat-wireless: scripts/admin-update.sh refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:13:02 +0000 (13:13 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:12:13 +0000 (13:12 -0700)]
compat-wireless: scripts/admin-update.sh refresh
Refresh patch hunk offsets.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 19:40:04 +0000 (12:40 -0700)]
compat-wireless: update 28-pm-qos-params.patch
This patch is required because now pm-qos has 3 different flavors:
On kernels >= 2.6.36 the pm qos req is kzalloc()'d by pm-qos itself
On kernel = 2.6.35 the pm qos req uses the stack
On kernels < 2.6.35 the pm qos req is pegged to a unique name
On newer kernels we don't use a name to tag a pm-qos requirement, and on
older kernels we do. Although we can port over the struct pm_qos_request_list
to older kernels it provides no variable with any unique name we can use
for older kernels. Perhaps there's a way.. right now I just don't see it.
We also should probably not bother updating pm-qos to newer versions unless
we are willing to treat the oldest kernels as newer ones and that'd be a
little wierd. Update the header of 28-pm-qos-params.patch while at it
with a little explanation as to why this is all needed.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 19:38:58 +0000 (12:38 -0700)]
compat-wireless: update 07-change-default-rate-alg.patch
The hunk context changed so it would no longer apply with
a fuzz. This required some manual updating of the patch.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Pavel Roskin [Tue, 6 Jul 2010 20:24:08 +0000 (16:24 -0400)]
compat-wireless: update 07-change-default-rate-alg.patch
Hauke Mehrtens [Tue, 29 Jun 2010 20:36:15 +0000 (22:36 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 24 Jun 2010 21:00:05 +0000 (23:00 +0200)]
compat-wireless: activate iwmc3200wifi and WL1271_SDIO
netdev_ops for iwmc3200wifi is backported now.
CONFIG_WL1271_SDIO does not depend on ARM any more in mainline, but it
needs at least kernel 2.6.32.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 24 Jun 2010 21:00:04 +0000 (23:00 +0200)]
compat-wireless: refresh patches
refresh patches and backport netdev_ops for iwmc3200wifi
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Pavel Roskin [Tue, 22 Jun 2010 20:40:48 +0000 (16:40 -0400)]
compat-wireless: "crap" code is "not yet posted", not "not yet merged"
Luis R. Rodriguez [Mon, 21 Jun 2010 19:06:20 +0000 (12:06 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Paul Fertser [Sun, 20 Jun 2010 09:44:57 +0000 (13:44 +0400)]
compat-wireless: fix compilation for 2.6.32
2.6.32 was the latest version using CONFIG_WIRELESS_EXT. Without this patch
compilation produced
net/wireless/wext-compat.c:443: error: ‘struct wireless_dev’ has no member named ‘wext’
since config.mk defined CONFIG_CFG80211_WEXT but autoconf.sh didn't.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Luis R. Rodriguez [Thu, 17 Jun 2010 20:28:58 +0000 (13:28 -0700)]
compat-wireles: fix compilation when you have disabled CONFIG_CFG80211_WEXT
On newer kernels you can disable CONFIG_CFG80211_WEXT. If you try to
compile compat-wireless with CONFIG_CFG80211_WEXT disabled you get:
CC [M] /home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.o
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c: In function ‘cfg80211_netdev_notifier_call’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c:703: error: ‘struct net_device’ has no member named ‘wireless_handlers’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c:704: error: ‘struct net_device’ has no member named ‘wireless_handlers’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/wireless] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
This is because we currently force CONFIG_CFG80211_WEXT to be enabled
on the compat_autoconf.h. Instead we should enable it conditionally
based on CONFIG_CFG80211_WEXT for older kernels and simply leave it
out for newer kernels, so we can respect your kernel config. For
newer kernels you cannot enable CONFIG_CFG80211_WEXT since
the net_device structure changes based on CONFIG_CFG80211_WEXT,
the wireless_handlers are not added to the net_device if you don't
have it enabled.
Reported-by: Mathieu Olivari <Mathieu.Olivari@Atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 16 Jun 2010 20:49:26 +0000 (22:49 +0200)]
compat-wireless: backport netdev->br_port
In commit
f350a0a87374418635689471606454abc7beaa3a the br_port
attribute was replaced with a private flag.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 17 Jun 2010 05:32:36 +0000 (22:32 -0700)]
compat-wireless: refresh patches for next-
20100617
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 17 Jun 2010 05:30:35 +0000 (22:30 -0700)]
compat-wireless: remove pending AR9003 IBSS fix
Remove 0001-ath9k_hw-avoid-setting-cwmin-cwmax-to-0-for-IBSS-for.patch
as it is upstream now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 16 Jun 2010 00:19:27 +0000 (17:19 -0700)]
compat-wireless: increase the code-metric percent resolution two fold
If we only carry one patch then the two decimals will
not cut it to reflect a real percentage of all the code we
are pulling from upstream so use two more decimals.
This is what I get now:
compat-wireless code metrics
498409 - Total upstream lines of code being pulled
1398 - backport code changes
1167 - backport code additions
231 - backport code deletions
5748 - backport from compat module
7146 - total backport code
1.4338 - % of code consists of backport work
13 - Code changes posted but not yet merged
8 - Code additions posted but not yet merged
5 - Code deletions posted but not yet merged
0.0026 - % of code not yet merged
Base tree: linux-next.git
Base tree version: next-
20100615
compat-wireless release:
compat-wireless-2010-06-10-10-g0c66bc8
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 16 Jun 2010 00:15:07 +0000 (17:15 -0700)]
compat-wireless: fix code-metrics for 1 patch
If we only have one patch then the currently grep will
not parse correctly, force the grep to always include the
filename so that the existing computation can be used for
both the case we use only one patch file in the directories:
linux-next-pending/
linux-next-cherry-pick/
crap/
This fixes the computation for linux-next-pending/ right
now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:34:06 +0000 (14:34 -0700)]
compat-wireless: change admin-update to clarify lines of code
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:21:03 +0000 (14:21 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:06:27 +0000 (14:06 -0700)]
compat-wireless: add one pending patch for ath9k_hw for adhoc for AR9003
This is not merged yet but required for testing.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 15 Jun 2010 20:56:35 +0000 (22:56 +0200)]
compat-wireless: refresh patches
make the patches apply against recent linux-next.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 15 Jun 2010 20:59:35 +0000 (13:59 -0700)]
compat-wireless: remove all pending patches
These are all merged now
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 06:03:14 +0000 (23:03 -0700)]
compt-wireless: fix crap/0002-ath9k-Add-pktlog-support.patch
Due to the new pending patches the seond hunk for the
packet log patch touching hw.h needed to be adjusted.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 05:53:17 +0000 (22:53 -0700)]
compat-wireless: add new AR9003 series for pending patches
Some new AR9003 patches have been posted, merge them into
the pending diretory for now until they get merged.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 05:50:40 +0000 (22:50 -0700)]
compat-wireless: remove AR9003 PCI ID patch from crap/
This has now been posted
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:19:00 +0000 (18:19 -0700)]
compat-wireless: add script to grep out colors
This is useful for a cronjobs that do not want the
color fluff on output.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:14:47 +0000 (18:14 -0700)]
compat-wireless: refresh of crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:14:18 +0000 (18:14 -0700)]
compat-wireless: refresh of patches for June 10 2010
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:58 +0000 (11:11 +0200)]
compat-wireless: activate CONFIG_MAC80211_RC_MINSTREL_HT
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:57 +0000 (11:11 +0200)]
compat-wireless: deactivate atl1c for kernel < 2.6.27
atl1c uses pci_prepare_to_sleep that is not backported.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:56 +0000 (11:11 +0200)]
compat-wireless: deactivate libertas sdio suspend for < 2.6.34
libertas sdio suspend and resume depends on some new features of the
sdio framework in kernel 2.6.34.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Richard Farina [Sun, 6 Jun 2010 05:54:10 +0000 (22:54 -0700)]
compat-wireless: Enable rt2800usb in compat-wireless stable branch
This patch enables the new RT307x and RT357x chips.
Propagate-to: 2.6.35.y
Signed-off-by: Richard Farina <sidhayn@gmail.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 22:50:34 +0000 (15:50 -0700)]
compat-wireless: add Ethernet support for driver-select
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 21:54:46 +0000 (14:54 -0700)]
compat-wireless: refresh of crap for 2010-06-04
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 21:54:13 +0000 (14:54 -0700)]
compat-wireless: refresh for 2010-06-04
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 15:06:35 +0000 (08:06 -0700)]
compat-wireless: fix config.mk
Ooops, forgot to revert config.mk after cp'ing it to defconfigs/
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 15:03:44 +0000 (08:03 -0700)]
compat-wireless: add defconfigs directory
This lets you stuff custom config.mk files for debugging purposes
or other reasons.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>