openwrt/staging/blogic.git
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 21 Jun 2011 15:25:21 +0000 (17:25 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches for next-20110614
Luis R. Rodriguez [Tue, 14 Jun 2011 18:34:34 +0000 (11:34 -0700)]
compat-wireless: refresh patches for next-20110614

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patch 29-sdio_no_suspend.patch
Luis R. Rodriguez [Tue, 14 Jun 2011 18:33:47 +0000 (11:33 -0700)]
compat-wireless: fix patch 29-sdio_no_suspend.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: add bcma
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:42 +0000 (00:03 +0200)]
compat-wireless: add bcma

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add missing bluetooth header
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:41 +0000 (00:03 +0200)]
compat-wireless: add missing bluetooth header

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: update enable-older-kernels patches
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:40 +0000 (00:03 +0200)]
compat-wireless: update enable-older-kernels patches

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: sync atheros-debug.mk with config.mk
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:39 +0000 (00:03 +0200)]
compat-wireless: sync atheros-debug.mk with config.mk

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: activate CONFIG_RT2800{USB,PCI}_RT35XX by default.
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:38 +0000 (00:03 +0200)]
compat-wireless: activate CONFIG_RT2800{USB,PCI}_RT35XX by default.

This is now activated by default in the Kconfig so it should be save for us too.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: activate CARL9170_WPC by default
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:37 +0000 (00:03 +0200)]
compat-wireless: activate CARL9170_WPC by default

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add missing header
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:36 +0000 (00:03 +0200)]
compat-wireless: add missing header

This adds mac80211_hwsim.h

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:35 +0000 (00:03 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add support for kernel 3.XX
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:34 +0000 (00:03 +0200)]
compat-wireless: add support for kernel 3.XX

Now we are also generating CONFIG_COMPAT_KERNEL_3XX entries for kernel
3.XX kernels. This is the final patch needed to add support for kernel
3.0.
When using a 2.6.XX kernel it generates CONFIG_COMPAT_KERNEL_26XX
entries and all CONFIG_COMPAT_KERNEL_3XX entries and when using 3.XX
kernel it will generate only the needed CONFIG_COMPAT_KERNEL_3XX
entries.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: rename CONFIG_COMPAT_KERNEL_
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:33 +0000 (00:03 +0200)]
compat-wireless: rename CONFIG_COMPAT_KERNEL_

Rename CONFIG_COMPAT_KERNEL_XX to CONFIG_COMPAT_KERNEL_2_6_XX.
This is needed to support kernel version 3.XX. It will get
CONFIG_COMPAT_KERNEL_3_XX. This patch needs a additional change in
compat.git.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocomapt-wireless: move doku to the correct place in config.mk
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:32 +0000 (00:03 +0200)]
comapt-wireless: move doku to the correct place in config.mk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: revert usage of kfree_rcu
Hauke Mehrtens [Sun, 22 May 2011 10:47:07 +0000 (12:47 +0200)]
compat-wireless: revert usage of kfree_rcu

Backporting kfree_rcu() in compat does not work as
struct rcu_head->func is always interpreted as a pointer in older
kernel versions, but when using kfree_rcu() it is set to an offset.
rcu_head->func is used in some functions in the kernel not backported
by compat-wireless.

This patch is based on the patch posted by Ignacy Gawedzki <i@lri.fr>
on the mailing list.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: adapt rename of dev to sdev in b43
Hauke Mehrtens [Sun, 22 May 2011 10:47:06 +0000 (12:47 +0200)]
compat-wireless: adapt rename of dev to sdev in b43

Adapt changes from "b43: rename b43_wldev's field with ssb_device to sdev"

This was missing in commit "compat-wireless: fix applying of 09-threaded-irq.patch"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agoRevert "compat-wireless: fix rfkill patches from applying"
Hauke Mehrtens [Sun, 22 May 2011 10:47:05 +0000 (12:47 +0200)]
Revert "compat-wireless: fix rfkill patches from applying"

The commit was removed from linux-next, so this backport patch should also be removed.

This reverts commit b8e46e19937710d2ae14731871cf8c45a0fc9d74.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 19 May 2011 21:52:06 +0000 (14:52 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix applying of 09-threaded-irq.patch
Luis R. Rodriguez [Thu, 19 May 2011 21:50:25 +0000 (14:50 -0700)]
compat-wireless: fix applying of 09-threaded-irq.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix rfkill patches from applying
Luis R. Rodriguez [Thu, 19 May 2011 21:45:30 +0000 (14:45 -0700)]
compat-wireless: fix rfkill patches from applying

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patch dealing with lbs_pr_err() / pr_err()
Luis R. Rodriguez [Thu, 19 May 2011 21:30:41 +0000 (14:30 -0700)]
compat-wireless: fix patch dealing with lbs_pr_err() / pr_err()

lbs_pr_err() was removed in preference for pr_err()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix building of brcm80211
Hauke Mehrtens [Sat, 14 May 2011 18:00:27 +0000 (20:00 +0200)]
compat-wireless: fix building of brcm80211

The Broadcom brcm80211 driver now needs brcmutil.ko. Furthermore the
config options are now set to m to, most parts are build as module when
the options are set to m and y. Some options for this driver where at
the wrong position in config.mk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: set CONFIG_COMPAT_STAGING=m
Hauke Mehrtens [Sat, 14 May 2011 18:00:26 +0000 (20:00 +0200)]
compat-wireless: set CONFIG_COMPAT_STAGING=m

If this is set to y and all CONFIG_BRCM* options are set to m it causes build
failures with kernel version < 2.6.36 as there is nothing build into
the kernel. Besides compat-wireless does not support build anything
into the kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Mon, 16 May 2011 19:50:40 +0000 (12:50 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agoThe sched_scan patches changed context for a patch.
Johannes Berg [Fri, 13 May 2011 08:36:05 +0000 (10:36 +0200)]
The sched_scan patches changed context for a patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 11 May 2011 17:58:50 +0000 (10:58 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 11 May 2011 17:09:32 +0000 (19:09 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: enable RT33XX support.
Hauke Mehrtens [Tue, 10 May 2011 22:03:35 +0000 (00:03 +0200)]
compat-wireless: enable RT33XX support.

This is based on a patch by Walter Goldens.

RT2800PCI_RT35XX, RT2800PCI_RT53XX, RT2800USB_RT35XX and
RT2800USB_RT53XX are still experimental and deactivated because of that.

CC: Walter Goldens <goldenstranger@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Tue, 10 May 2011 21:54:56 +0000 (14:54 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: add RTL8192SE driver
Hauke Mehrtens [Tue, 10 May 2011 11:11:35 +0000 (13:11 +0200)]
compat-wireless: add RTL8192SE driver

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 10 May 2011 11:11:34 +0000 (13:11 +0200)]
compat-wireless: make patches apply again

This part of the patch is now in wireless-testing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: backport multicast filter in p54 for kernel < 2.6.35
Hauke Mehrtens [Wed, 27 Apr 2011 18:00:59 +0000 (20:00 +0200)]
compat-wireless: backport multicast filter in p54 for kernel < 2.6.35

The interface changed with kernel 2.6.35 and we have to backport these changes.

CC: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix compile problem with IRQF_ONESHOT
Hauke Mehrtens [Tue, 26 Apr 2011 21:49:44 +0000 (23:49 +0200)]
compat-wireless: fix compile problem with IRQF_ONESHOT

IRQF_ONESHOT was introduced in kernel 2.6.32 and wl12xx uses it.
This patch reverts back to the old behavior when older kernels are used.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: use function for setting queue_mapping
Hauke Mehrtens [Tue, 26 Apr 2011 19:17:11 +0000 (21:17 +0200)]
compat-wireless: use function for setting queue_mapping

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Tue, 26 Apr 2011 17:37:45 +0000 (10:37 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patches/09-threaded-irq.patch
Luis R. Rodriguez [Tue, 26 Apr 2011 17:37:02 +0000 (10:37 -0700)]
compat-wireless: fix patches/09-threaded-irq.patch

Needed some manual work to fix two hunks.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: update config options
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:12 +0000 (23:35 +0200)]
compat-wireless: update config options

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix build of atheros Ethernet drivers.
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:11 +0000 (23:35 +0200)]
compat-wireless: fix build of atheros Ethernet drivers.

The Ethernet drivers where converted to a new hw_features netdev
attribute. For kernel < 2.6.39 this does not work.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:10 +0000 (23:35 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches for next-20110414
Luis R. Rodriguez [Fri, 15 Apr 2011 00:57:53 +0000 (17:57 -0700)]
compat-wireless: refresh patches for next-20110414

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: remove ar9170
Hauke Mehrtens [Fri, 8 Apr 2011 19:08:51 +0000 (21:08 +0200)]
compat-wireless: remove ar9170

ar9170 was replaced by carl9170 and is now removed from kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 7 Apr 2011 14:39:46 +0000 (16:39 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: Remove extra config option for kfifo.
Hauke Mehrtens [Thu, 7 Apr 2011 14:39:45 +0000 (16:39 +0200)]
compat-wireless: Remove extra config option for kfifo.

kfifo is now build when CONFIG_COMPAT_KERNEL_36 is set.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: clean up the config file
Hauke Mehrtens [Thu, 31 Mar 2011 16:22:07 +0000 (09:22 -0700)]
compat-wireless: clean up the config file

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix compile warning for wl12xx
Hauke Mehrtens [Thu, 31 Mar 2011 16:22:06 +0000 (09:22 -0700)]
compat-wireless: fix compile warning for wl12xx

Only CONFIG_WL12XX_SDIO and CONFIG_WL1251_SDIO are depending on
CONFIG_WL12XX_PLATFORM_DATA, so only these two config options should be
renamed. The other options should still use the normal name. The old
commit did not fix the problem for me.

This fixes compat-wireless commit:
        7b4debf48b81d7e7e0e2915b81ad6a4af57cb5d1
        compat-wireless: fix compilation warning for wl12xx

Luis please add this into the linux-2.6.39.y branch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wirless: deactivate PM support for libertas_spi for kernel < 2.6.29
Hauke Mehrtens [Thu, 31 Mar 2011 16:22:05 +0000 (09:22 -0700)]
compat-wirless: deactivate PM support for libertas_spi for kernel < 2.6.29

The power management interface changed in kernel 2.6.29 and this breaks
build on older kernels.

CC: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: backport threaded irq for wl12xx_spi
Hauke Mehrtens [Thu, 31 Mar 2011 16:22:04 +0000 (09:22 -0700)]
compat-wireless: backport threaded irq for wl12xx_spi

This backports threaded irq support for kernel < 2.6.31 for wl12xx_spi.
This is only compile tested as I do not have such a device.

Luis please add this into the linux-2.6.39.y branch.

CC: Ido Yariv <ido@wizery.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add support for mwifiex
Hauke Mehrtens [Thu, 31 Mar 2011 16:22:03 +0000 (09:22 -0700)]
compat-wireless: add support for mwifiex

This adds support for mwifiex into compat-wireless.

This is only compile tested as I do not have such a device.

CC: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix compilation warning for wl12xx
Luis R. Rodriguez [Wed, 30 Mar 2011 21:02:39 +0000 (14:02 -0700)]
compat-wireless: fix compilation warning for wl12xx

This should fix this compilation:

  MODPOST 32 modules
WARNING: "wl12xx_get_platform_data"
[/home/mcgrof/tmp/compat/compat-wireless-2.6.39-rc1-2-s/drivers/net/wireless/wl1251/wl1251_sdio.ko] undefined!

This is caused because CONFIG_WL12XX is defined on older
kernels and we need to depend on the platform data
(CONFIG_WL12XX_PLATFORM_DATA) to build CONFIG_WL12XX_SDIO.
Since we cannot disable a config option just rename the config
option.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh patches for 2.6.39-rc1
Luis R. Rodriguez [Wed, 30 Mar 2011 18:27:38 +0000 (11:27 -0700)]
compat-wireless: refresh patches for 2.6.39-rc1

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: remove ath3k bt workaround
Luis R. Rodriguez [Wed, 30 Mar 2011 18:22:29 +0000 (11:22 -0700)]
compat-wireless: remove ath3k bt workaround

This should be addressed now upstream properly through this
patch:

commit d9f51b51db2064c9049bf7924318fd8c6ed852cb
Author: Bala Shanmugam <sbalashanmugam@atheros.com>
Date:   Fri Feb 11 15:38:53 2011 +0530

    Bluetooth: Add firmware support for Atheros 3012

    Blacklisted AR3012 PID in btusb and added the same
    in ath3k to load patch and sysconfig files.

Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh crap patches
Luis R. Rodriguez [Wed, 30 Mar 2011 18:19:04 +0000 (11:19 -0700)]
compat-wireless: refresh crap patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix packet log patch to apply
Luis R. Rodriguez [Wed, 30 Mar 2011 18:16:38 +0000 (11:16 -0700)]
compat-wireless: fix packet log patch to apply

Some hunks were off. I'm tired of this.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: remove crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch
Luis R. Rodriguez [Wed, 30 Mar 2011 18:04:08 +0000 (11:04 -0700)]
compat-wireless: remove crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch

Vasanth sent this upstream! Yay Vasanth :D

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 30 Mar 2011 18:03:17 +0000 (11:03 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix gen-stable-release.sh for git tree updates
Luis R. Rodriguez [Wed, 16 Mar 2011 16:39:41 +0000 (09:39 -0700)]
compat-wireless: fix gen-stable-release.sh for git tree updates

The script gen-stable-release.sh had two options: -i and -f

-i is for ignoring updates
-f is for forcing updates

We also allowed for a target branch to be specified and that also
forced an update. This is all silly. Simply ignore updates every
time unless you use -f or specify a target branch. If you do not
pass either of these we will simply assume you do not want to
update your local linux-2.6-allstable.git tree.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years ago fix Intel driver-select, make it iwlagn only for now
Johannes Berg [Thu, 3 Mar 2011 16:25:45 +0000 (17:25 +0100)]
fix Intel driver-select, make it iwlagn only for now

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
13 years agocompat-wireless: fix intel drivers on driver-select
Luis R. Rodriguez [Wed, 2 Mar 2011 14:56:56 +0000 (06:56 -0800)]
compat-wireless: fix intel drivers on driver-select

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix disable_bt
Luis R. Rodriguez [Wed, 2 Mar 2011 14:51:44 +0000 (06:51 -0800)]
compat-wireless: fix disable_bt

We need to disable CONFIG_COMPAT_BLUETOOTH to disable bluetooth properly.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: rt2800pci (and rt2x00pci) don't unload on 'make unload'
Greg Whiteley [Tue, 1 Mar 2011 09:12:36 +0000 (20:12 +1100)]
compat-wireless: rt2800pci (and rt2x00pci) don't unload on 'make unload'

Add missing module names to scripts/unload.sh

Signed-off-by: Greg Whiteley <greg.whiteley@gmail.com>
13 years agocompat-wireless: do not set blink_set for kernel <= 2.6.24
Hauke Mehrtens [Sun, 27 Feb 2011 13:54:45 +0000 (14:54 +0100)]
compat-wireless: do not set blink_set for kernel <= 2.6.24

blink_set is not available on struct led_classdev in kernel <= 2.6.24.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: change number of patch:
Hauke Mehrtens [Sun, 27 Feb 2011 13:54:44 +0000 (14:54 +0100)]
compat-wireless: change number of patch:

37-vsnprintk.patch also uses the number 37, so one of them has to be renamed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: some minor updates for config.mk
Hauke Mehrtens [Thu, 24 Feb 2011 18:53:08 +0000 (19:53 +0100)]
compat-wireless: some minor updates for config.mk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add rtl8192cu
Hauke Mehrtens [Thu, 24 Feb 2011 18:53:07 +0000 (19:53 +0100)]
compat-wireless: add rtl8192cu

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: updates needed for iwlwifi split
Hauke Mehrtens [Thu, 24 Feb 2011 18:53:06 +0000 (19:53 +0100)]
compat-wireless: updates needed for iwlwifi split

This makes compat-wireless work after the iwlwifi split

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: build ath9k common when no pci is available
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:24 +0000 (14:31 -0800)]
compat-wireless: build ath9k common when no pci is available

ath9k_common.ko and ath9k_hw.ko are not depending on pci or usb.
This patch fixes build of ath9k_htc.ko for a kernel without pci support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: generate CONFIG_COMPAT_KERNEL_39
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:23 +0000 (14:31 -0800)]
compat-wireless: generate CONFIG_COMPAT_KERNEL_39

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: Add drivers/net/wireless/rtlwifi/rtl8192c
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:22 +0000 (14:31 -0800)]
compat-wireless: Add drivers/net/wireless/rtlwifi/rtl8192c

This directory is needed for rtlwifi.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: brcm80211 fix is in upstream now
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:21 +0000 (14:31 -0800)]
compat-wireless: brcm80211 fix is in upstream now

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: some updates to bluetooth patch
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:20 +0000 (14:31 -0800)]
compat-wireless: some updates to bluetooth patch

 * rfkill_backport.h will be included in rfkill.h
 * tty does not have a dev member on older kernel versions
 * hid->hid_get_raw_report was introduced in very recent kernel versions
 * the signature of some callback functions changed

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: backport pm ops for atlx
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:19 +0000 (14:31 -0800)]
compat-wireless: backport pm ops for atlx

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: rename some config options
Hauke Mehrtens [Mon, 21 Feb 2011 22:31:18 +0000 (14:31 -0800)]
compat-wireless: rename some config options

Some config options have to be renamed to deactivate then, when they are
activated in the kernel config or for changing them from m to y.

* The zd1211rw works only with kernel > 2.6.27
* CONFIG_BT_L2CAP and CONFIG_BT_SCO are boolean now, but often set to m
in the kernel config.
* CONFIG_BT_HIDP does not build with older kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix driver-select for iwl3945/iwlagn
David Ward [Thu, 30 Dec 2010 21:42:55 +0000 (16:42 -0500)]
compat-wireless: fix driver-select for iwl3945/iwlagn

The iwl3945/iwlagn drivers were never built when choosing the "intel"
or "iwlwifi" options with the driver-select script. (Note that this
currently affects all stable releases of compat-wireless as well.)

Signed-off-by: David Ward <david.ward@ll.mit.edu>
13 years agocompat-wireless: activate BRCMFMAC
Hauke Mehrtens [Thu, 10 Feb 2011 15:26:30 +0000 (16:26 +0100)]
compat-wireless: activate BRCMFMAC

It is now possible to build BRCMFMAC and BRCMSMAC.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: build zd1211rw only for kernel >= 2.6.29
Hauke Mehrtens [Thu, 10 Feb 2011 15:26:29 +0000 (16:26 +0100)]
compat-wireless: build zd1211rw only for kernel >= 2.6.29

zd1211rw uses usb_queue_reset_device() which is not backported now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: brcm80211 adapt changes in mac80211
Hauke Mehrtens [Thu, 10 Feb 2011 15:26:28 +0000 (16:26 +0100)]
compat-wireless: brcm80211 adapt changes in mac80211

The interface to mac80211 changes and brcm80211 uses the old one.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 10 Feb 2011 15:26:27 +0000 (16:26 +0100)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: backport of alloc_ordered_workqueue into compat.git
Hauke Mehrtens [Tue, 1 Feb 2011 21:13:47 +0000 (22:13 +0100)]
compat-wireless: backport of alloc_ordered_workqueue into compat.git

The backport of alloc_ordered_workqueue is now in compat.git.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: remove compat for threaded_irq in rt2x00
Hauke Mehrtens [Tue, 1 Feb 2011 21:13:46 +0000 (22:13 +0100)]
compat-wireless: remove compat for threaded_irq in rt2x00

rt2x00 does not use threaded_irq any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: skip directory if patches directory is empty
Luis R. Rodriguez [Mon, 7 Feb 2011 16:56:15 +0000 (08:56 -0800)]
compat-wireless: skip directory if patches directory is empty

Instead of getting a nag, just skip the directory if its empty.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix stable pending tag mismatch output
Luis R. Rodriguez [Sat, 5 Feb 2011 00:48:54 +0000 (16:48 -0800)]
compat-wireless: fix stable pending tag mismatch output

If Linus made an update to his tree, say a 2.6.38-rc3 release,
but we have not yet updated our linux-next.git tree the tag will
not be there and we will not see the failure. I add some check now
to ensure the tag is present, otherwise we bail out and tell you
exactly the command we used and the directory it was run under.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Mon, 31 Jan 2011 23:17:00 +0000 (15:17 -0800)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: remove max_brightness
Hauke Mehrtens [Mon, 31 Jan 2011 22:06:44 +0000 (23:06 +0100)]
compat-wireless: remove max_brightness

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: adapt chamhes in brcm80211
Hauke Mehrtens [Mon, 31 Jan 2011 22:06:43 +0000 (23:06 +0100)]
compat-wireless: adapt chamhes in brcm80211

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: Fix ath9k debug log issue.
Senthil Balasubramanian [Mon, 31 Jan 2011 11:37:45 +0000 (17:07 +0530)]
compat-wireless: Fix ath9k debug log issue.

ath9k debug logs are not shown as we are using recursive vsnprintf
which are supported in kernel 2.6.36 and above. use vprintk for older
kernels.

This patch has fixed the issue.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
13 years agocompat-wireless: do not write git-clone
Hauke Mehrtens [Sun, 9 Jan 2011 15:32:21 +0000 (16:32 +0100)]
compat-wireless: do not write git-clone

the command git-clone was removed and git clone should be used now.
Update error message.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: update patches in enable-older-kernels
Hauke Mehrtens [Sun, 9 Jan 2011 15:32:20 +0000 (16:32 +0100)]
compat-wireless: update patches in enable-older-kernels

* enable-2.6.24.patch does not make any sense as we already support kernel 2.6.24
* Update the other patches to apply again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make NEXT_TREE configurable.
Hauke Mehrtens [Sun, 9 Jan 2011 15:32:19 +0000 (16:32 +0100)]
compat-wireless: make NEXT_TREE configurable.

It was assumed that the linux next tree is at ~/linux-next . Now the
directory can be set with NEXT_TREE like the other variables.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: use backported kfifo
Hauke Mehrtens [Thu, 6 Jan 2011 17:16:52 +0000 (18:16 +0100)]
compat-wireless: use backported kfifo

Now compat contains a backport of the kfifo implementation and we do
not have to patch the driver to use the old interface.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again.
Hauke Mehrtens [Thu, 6 Jan 2011 17:16:51 +0000 (18:16 +0100)]
compat-wireless: make patches apply again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh crap patches
Luis R. Rodriguez [Thu, 6 Jan 2011 01:10:45 +0000 (17:10 -0800)]
compat-wireless: refresh crap patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 6 Jan 2011 01:03:05 +0000 (17:03 -0800)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: rt2x00 no uses a kfifo on the header
Luis R. Rodriguez [Wed, 5 Jan 2011 23:32:13 +0000 (15:32 -0800)]
compat-wireless: rt2x00 no uses a kfifo on the header

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: use generic suspend resume
Hauke Mehrtens [Sat, 1 Jan 2011 14:26:21 +0000 (06:26 -0800)]
compat-wireless: use generic suspend resume

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: rtl8187 and rtl8180 moved
Hauke Mehrtens [Sat, 1 Jan 2011 14:26:20 +0000 (06:26 -0800)]
compat-wireless: rtl8187 and rtl8180 moved

The rtl8187 and rtl8180 modules moved to an other subdirectory and the
filenames were changed. The makefile includes some header, where the
path has to be changed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: remove patches applied mainline
Hauke Mehrtens [Sat, 1 Jan 2011 14:26:19 +0000 (06:26 -0800)]
compat-wireless: remove patches applied mainline

The removed parts are now in mainline and do not have to be backported
any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix power managemnet backport
Hauke Mehrtens [Sat, 1 Jan 2011 14:26:18 +0000 (06:26 -0800)]
compat-wireless: fix power managemnet backport

Include backported power management support under the same condition as
the new one is integrated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: build led support conditionally
Hauke Mehrtens [Wed, 22 Dec 2010 18:10:34 +0000 (19:10 +0100)]
compat-wireless: build led support conditionally

Do not build compat-wireless with LED support when the kernel does not
contain a led subsystem.
This fixes some compile problems when CONFIG_LEDS_TRIGGERS is not set.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: unify some driver-select colors
Walter Goldens [Mon, 20 Dec 2010 15:52:30 +0000 (10:52 -0500)]
compat-wireless: unify some driver-select colors

unify driver-select colors for better user screen readbility

Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
13 years agocompat-wireless: complete rtlwifi/RTL8192CE support
Walter Goldens [Mon, 20 Dec 2010 15:52:27 +0000 (10:52 -0500)]
compat-wireless: complete rtlwifi/RTL8192CE support

enable driver-select for rtlwifi/rtl8192ce
complete renaming rtlwifi entries for compat-wireless

Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>