Luis R. Rodriguez [Wed, 7 Oct 2009 01:19:56 +0000 (21:19 -0400)]
ath9k: enable CONFIG_ATH9K_HW
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 20:01:38 +0000 (16:01 -0400)]
config.mk: remove CONFIG_WEXT_* stuff
This should not be enabled by compat-wireless -- this is the
old wext stuff which is always built into the kernel. On newer
kernels (>= 2.6.33) these config options will already be provided
by your kernel.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 18:19:02 +0000 (14:19 -0400)]
cfg80211: add wext handlers back to netdev for compat code
The patch "wext: refactor" by Johannes Berg refactored
wext code so that new kernels no longer get the wext
handlers through struct netdevice, instead they get
it through the struct wiphy which is cfg80211 specific.
For old kernels this means you get not wext handlers
anymore when backporting code, this adds the wext handler
back to the netdevice wireless_handlers to let compat
users use wext again.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 17:02:04 +0000 (13:02 -0400)]
Update hunk offsets for 99-change-makefiles.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 17:00:48 +0000 (13:00 -0400)]
Update hunk offsets for 09-threaded-irq.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 16:59:14 +0000 (12:59 -0400)]
Update hunk offsets for 08-rename-iwl4965-config.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 16:57:40 +0000 (12:57 -0400)]
Update hunk offsets for 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 16:51:11 +0000 (12:51 -0400)]
Update offsets for libertas for 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 6 Oct 2009 16:47:12 +0000 (12:47 -0400)]
config.mk: enable CONFIG_CFG80211_WEXT
Othwerise wext isn't enabled.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Fri, 2 Oct 2009 21:13:33 +0000 (23:13 +0200)]
Make it compile with wireless-testing master-2009-09-30
DIV_ROUND_CLOSEST is needed by the b44 driver.
Most of the rest is needed because of "wext: refactor"
in wireless-testing.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Fri, 2 Oct 2009 23:25:56 +0000 (16:25 -0700)]
admin-update: fix a print, use echo -e
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Larry Finger [Fri, 2 Oct 2009 01:23:13 +0000 (20:23 -0500)]
compat-wireless: Fix the bleeding-edge version to build on 2.6.27
When building the bleeding-edge compat-wireless for kernel 2.6.27,
several compilation errors were detected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tim Gardner [Wed, 30 Sep 2009 17:00:00 +0000 (11:00 -0600)]
compat-wireless: Fix b44 build issues.
Even though CONFIG_B44 is defined, there is no Makefile
created in drivers/net. This failure to build allows the
in-kernel version of b44 to get loaded with a compat-wireless
version of ssb.ko, never a good thing.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Luis R. Rodriguez [Tue, 29 Sep 2009 00:47:56 +0000 (17:47 -0700)]
Fix compilation against for 2.6.32 changes
2.6.32 added SET_NETDEV_DEVTYPE() and netdev_tx
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hin-Tak Leung [Mon, 28 Sep 2009 19:08:34 +0000 (20:08 +0100)]
compat-2.6: adding driver-select script support for rtl818x
adding driver-select script support for rtl818x
Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Hin-Tak Leung [Mon, 28 Sep 2009 19:08:54 +0000 (20:08 +0100)]
compat-2.6: adding notes on installing to non-running kernel
adding notes on installing to non-running kernel
Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Luis R. Rodriguez [Sun, 27 Sep 2009 20:58:22 +0000 (13:58 -0700)]
Add scripts/update-initramfs and use it
Some distributions may ship b44 and ssb on the initramfs for
netboot. To help with this we need to update the initrafms
for those distributions.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 23 Sep 2009 18:50:43 +0000 (20:50 +0200)]
fix build problems
IRQ_WAKE_THREAD is not defined in kernel < 2.6.30
in include/linux/irqreturn.h .
In 09-threaded-irq.patch the condition was wrong.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 23 Sep 2009 17:31:53 +0000 (10:31 -0700)]
Update hunks for master-2009-09-23
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 23 Sep 2009 17:26:47 +0000 (10:26 -0700)]
Backport threaded IRQ support using workqueues
b43 makes use this.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sun, 13 Sep 2009 20:33:16 +0000 (13:33 -0700)]
Fix rfkill led build on 2.6.30
Reported-by: Oleh Hello <oleh.hello@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 5 Sep 2009 19:43:59 +0000 (12:43 -0700)]
Backport kmemleak support - do nothing for older kernels
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Thu, 3 Sep 2009 14:31:56 +0000 (16:31 +0200)]
readd netdev_ops backport to ipw2200.c
This fixes building of ipw2200.c for kernel < 2.6.29.
It was introduced in
203a12ff5a432e2ee4a83b38e698bff0dd4efead
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 2 Sep 2009 21:17:00 +0000 (14:17 -0700)]
Update hunk offsets for compat patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 26 Aug 2009 22:06:53 +0000 (15:06 -0700)]
Add notes about rfkill and uping interfaces on rfkill patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 20 Aug 2009 20:51:42 +0000 (13:51 -0700)]
Update hunks offsets for master-2009-08-20
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 20 Aug 2009 20:46:43 +0000 (13:46 -0700)]
Use /dev/rfkill instead of /dev/rfkill_backport
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Felix Fietkau [Thu, 20 Aug 2009 17:13:50 +0000 (10:13 -0700)]
Increase speed of compat-wireless build - CONFIG_COMPAT_WIRELESS_* changes
$(shell) calls are pretty expensive in makefiles, avoid so many
calls by doing them only once to set the CONFIG_COMPAT_WIRELESS_*
variables and then using these to check the kernel version later in
config.mk
This speeds up the compat-wireless build process.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 18 Aug 2009 23:31:11 +0000 (16:31 -0700)]
Enable CONFIG_B43_PHY_LP=y
From the Kconfig:
Support for the LP-PHY.
The LP-PHY is a low-power PHY built into some notebooks
and embedded devices. It supports 802.11a/g
(802.11a support is optional, and currently disabled).
This is heavily experimental
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Philip A Prindeville [Sat, 15 Aug 2009 05:46:25 +0000 (22:46 -0700)]
Don't build PCMCIA modules when PCMCIA isn't present
If you're building for a platform that has (for example) no PCMCIA/
Cardbus, then having a single knob to turn to disable this is a
major win. Especially if more devices get add later that are
PCMCIA-based.
Tested.
Signed-off-by: Philip A Prindeville <philipp@redfish-solutions.com>
Luis R. Rodriguez [Tue, 18 Aug 2009 23:24:49 +0000 (16:24 -0700)]
Update patch offesets to apply cleanly
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 14 Aug 2009 19:12:13 +0000 (12:12 -0700)]
Kalle's patch is now merged so we remove it
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 13 Aug 2009 01:50:27 +0000 (18:50 -0700)]
Add Kalle's pending patch to fix wireless-testing building on 2.6.27
We'll remove this once John merges his patch.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:12 +0000 (14:38 +0200)]
pcmcia_parse_tuple was redefined in pcmcia/cistpl.h
fix build:
undef pcmcia_parse_tuple before redefine it again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 12 Aug 2009 21:26:32 +0000 (14:26 -0700)]
Update comment on patch 04 for netns changes
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 12 Aug 2009 21:24:28 +0000 (14:24 -0700)]
Move 09-rename-iwl4965-config.patch to 08
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 12 Aug 2009 21:23:56 +0000 (14:23 -0700)]
re-enable mac80211 mesh, Javier fixed it
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 11 Aug 2009 00:03:41 +0000 (17:03 -0700)]
Update iwlagn hunk offsets for 09-rename-iwl4965-config.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 11 Aug 2009 00:02:00 +0000 (17:02 -0700)]
Update mac80211/tx.c hunk offsets for 08-disable-mesh.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 11 Aug 2009 00:00:00 +0000 (17:00 -0700)]
Updates rndis_wlan.c hunk offsets for compat/patches/01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 10 Aug 2009 23:21:46 +0000 (16:21 -0700)]
Add CONFIG_COMPAT_WIRELESS_* kconfig like options
This lets us selectively compile backward compatibility
stuff instead of linking in empty object files in the end.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:13 +0000 (14:38 +0200)]
Clean up compat-2.6.26.c
The exported methods are not used.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:15 +0000 (14:38 +0200)]
Rename CONFIG_IWL4965 symbol
In kernel 2.6.26 and older CONFIG_IWL4965 was build as an extra
module, but now it is directly included in the iwlagn.
CONFIG_IWL4965 has to be set to y, to build correctly.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:14 +0000 (14:38 +0200)]
Remove wext building
wext can not be build as a module. We do not need to build it,
so remove it from the Makefile.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:11 +0000 (14:38 +0200)]
Add missing compat-2.6.*.c files
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 8 Aug 2009 12:38:10 +0000 (14:38 +0200)]
Rename the rest of CONFIG_MAC80211_MESH to CONFIG_COMPAT_MAC80211_MESH
Without this, some symbols can not be resolved because only parts of mesh were disabled.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Fri, 7 Aug 2009 23:33:33 +0000 (16:33 -0700)]
Some compilation fixes for 2.6.24 and 2.6.25
2.6.24 is still left disabled, we need to figure out a way to deal with
this still:
CC /home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.o
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c: In function ‘wireless_dev_seq_start’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:678: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:679: warning: ISO C90 forbids mixed declarations and code
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c: In function ‘wireless_dev_seq_next’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:695: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c: In function ‘seq_open_wireless’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:717: error: implicit declaration of function ‘seq_open_net’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:718: error: invalid application of ‘sizeof’ to incomplete type ‘struct seq_net_private’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c: At top level:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:726: error: ‘seq_release_net’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c: In function ‘wireless_nlevent_process’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:1339: warning: passing argument 2 of ‘rtnl_notify’ makes integer from pointer without a cast
include/linux/rtnetlink.h:618: note: expected ‘u32’ but argument is of type ‘struct net *’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:1339: warning: passing argument 4 of ‘rtnl_notify’ makes pointer from integer without a cast
include/linux/rtnetlink.h:618: note: expected ‘struct nlmsghdr *’ but argument is of type ‘int’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:1339: warning: passing argument 5 of ‘rtnl_notify’ makes integer from pointer without a cast
include/linux/rtnetlink.h:618: note: expected ‘gfp_t’ but argument is of type ‘void *’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.c:1339: error: too many arguments to function ‘rtnl_notify’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/wireless/wext.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
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic'
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 22:37:45 +0000 (15:37 -0700)]
Fix compile against 2.6.25
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 22:36:18 +0000 (15:36 -0700)]
Fix compilation against 2.6.27
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 22:35:32 +0000 (15:35 -0700)]
Enable WL12XX drivers!
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:43:49 +0000 (12:43 -0700)]
Fix Makefile .. sorry
Whoopsie, on patch:
commit
0239a9e2a1a08b75b751ddcfe5d15ecfdf23c25a
Add intel and iwlwifi group drivers for driver-select
I made a mistake and left the result of driver-select
and committed it removing some essential stuff.
This adds it back.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:39:52 +0000 (12:39 -0700)]
Add wl12xx group to driver-select (NOTE: android users)
wl12xx now has support for wl1251 for both SPI and
SDIO bus communication. On the android wl1251 is used
over SDIO.
The wl12xx group provides two modules:
* wl1251 with SDIO and SPI support
* wl1271
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:29:13 +0000 (12:29 -0700)]
Update hunk offsets for 98-add-compat-wireless.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:26:40 +0000 (12:26 -0700)]
Update hunk offsets for 06-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:24:48 +0000 (12:24 -0700)]
Update hunk offsets for 08-disable-mesh.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 19:13:33 +0000 (12:13 -0700)]
Fix hunk for wl1251_main.c on 06-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 7 Aug 2009 18:41:52 +0000 (11:41 -0700)]
Update rndis_wlan.c hunk offsets for 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 6 Aug 2009 20:49:41 +0000 (13:49 -0700)]
Since patch 08 is gone move patch 09 to 08
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 6 Aug 2009 20:49:04 +0000 (13:49 -0700)]
We've changed zd1211rw led stuff upstream remove the compat patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 19:25:39 +0000 (12:25 -0700)]
Add intel and iwlwifi group drivers for driver-select
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 18:53:44 +0000 (11:53 -0700)]
Add new select_drivers helper to select more than one driver
Also add new "atheros" group which selects all atheros drivers,
this includes zydas drivers included in compat-wireless.
The "ath" group now only selects the drivers under
drivers/net/wireless/ath/
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Joerg Albert [Wed, 5 Aug 2009 18:23:43 +0000 (11:23 -0700)]
compat-2.6: Makefile: fixed test expressions for target install
This removes the two errors of [ with target "install"
[: 9: missing ]
[: 9: missing ]
and works with sh as well.
Signed-off-by: Joerg Albert <jal2@gmx.de>
Luis R. Rodriguez [Wed, 5 Aug 2009 18:09:56 +0000 (11:09 -0700)]
Cleanup upon new driver-request
This lets you switch between drivers with driver-select.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 16:27:55 +0000 (09:27 -0700)]
Use obj-m for drivers/net/wireless/ to support driver-select
The script ./scripts/driver-select allows you to enable only
one wireless driver or a select group of wireless drivers on
drivers/net/wireless/ .
When using driver-select you can opt out to *not* provide a driver
being built in to the directory drivers/net/wireless/ but instead
to a child directory, example would be to enable ATH_COMMON which
only enables modules within drivers/net/wireless/ath/ and nothing
in drivers/net/wireless/ .
When building external kernel modules obj-y enabled directories will
build a built-in.o file only if at least one module was enabled in
that directory. Traditionally the kernel will also build empty
built-in.o files on empty directories. Since running 'make' instead
of 'make modules' makes no sense for external modules we cannot
build a built-in.o on drivers/net/wireless/ by using oby-y and
only enabling modules on children directories, say on
drivers/net/wireless/ath/. Doing this in-kernel (only selecting
ATH_COMMON) *does* work as a first pass 'make' would have built
the empty drivers/net/wireless/built-in.o but for external modules
this is not the case.
To fix this for compat-wireless then use oby-m for drivers/net/wireless/
driver-select now works.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 16:01:59 +0000 (09:01 -0700)]
Upon admin-update do driver-select restore
We do this to remove *.bk files
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 15:43:31 +0000 (08:43 -0700)]
Fix driver selecting disable for eeprom and usb
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 06:39:56 +0000 (23:39 -0700)]
Remove backup files upon restore
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 06:36:38 +0000 (23:36 -0700)]
Remove more stuff when selecting drivers on top level Makefile
Also, always backup the top level Makefile
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 5 Aug 2009 01:39:08 +0000 (18:39 -0700)]
Add new drivers-select to let users select their drivers
Only adds atheros drivers for now. Patches welcomed
for other drivers.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 23:37:43 +0000 (16:37 -0700)]
Add colors for admin-update script
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 23:01:53 +0000 (16:01 -0700)]
We ensure disable mac80211 mesh by relabelling it
Mesh is currently busted.
If your kernel has an option enabled we cannot
simply disable it for two reasons:
* kconfig magic
* autoconf
We cannot disable CONFIG_MAC80211_MESH by
using undef on linux/compat_autoconf.h,
and even if it goes after linux/autoconf.h.
Even if you solve that you still need a way
to unset it from the kconfig somehow.
Mesh is currently busted and disabled so even
if your kernel *does* enable it we want to disable
it for you. We do this by relabelling the mesh
kconfig option.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 22:42:44 +0000 (15:42 -0700)]
When something is set to 'n' on config.mk try to disable it
This doens't work, but at least we tried. This means
if we ever do want to disable something which an old
kernel enabled we'll need to relabelt the kconfig option.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 21:54:32 +0000 (14:54 -0700)]
Disable MAC80211_MESH on config.mk
Its busted on wireless-testing.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 21:41:25 +0000 (14:41 -0700)]
Add README for compat/patches/ and expalain each patch
We add a README to describe why we have compat/patches/*.patch,
and we also explain why each patch exists on the top of the
patch file. Please read that carefully.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 21:13:10 +0000 (14:13 -0700)]
Renames compat/diffs to compat/patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 21:12:02 +0000 (14:12 -0700)]
Rename patch files accordingly
We now have:
01-netdev.patch
02-ksize.patch
03-rfkill.patch
04-netns.patch
05-usb.patch
06-header-changes.patch
07-change-default-rate-alg.patch
08-zd1211rw-led.patch
98-add-compat-wireless.patch
99-change-makefiles.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 21:10:17 +0000 (14:10 -0700)]
Remove pcmcia patch and use a compat define instead
pcmcia_parse_tuple() can be backported with a simple
define.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:51:22 +0000 (13:51 -0700)]
Remove compat.diff usage
compat.diff is gone, we've moved to using anything
in the compat/diffs/*.patch. This simple piece is
now used to apply changes:
for i in compat/diffs/*.patch; do
patch -p1 -N -t < $i
RET=$?
if [[ $RET -ne 0 ]]; then
echo "Patching $i failed, update it"
exit $RET
fi
done
There are the current patches:
01-netdev.patch
02-ksize.patch
03-rfkill.patch
04-pcmcia.patch
05-netns.patch
06-usb.patch
07-header-changes.patch
08-change-default-rate-alg
09-zd1211rw-led.patch
98-add-compat-wireless.pat
99-change-makefiles.patch
Please keep 98 and 99 there. I'll send zd1211rw
stuff upstream now so that can be removed afterwards.
At all times we should try to minimize these hunks.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:49:44 +0000 (13:49 -0700)]
Move zd1211rw LED name changes to 09-zd1211rw-led.patch
We'll send this upstream and then remove these hunks.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:47:55 +0000 (13:47 -0700)]
Move makefile driver select options to 99-change-makefiles.patch
These hunks remove drivers which we do not support or want
to compile for compat-wireless.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:43:59 +0000 (13:43 -0700)]
Move mac80211 rate control option to 08-change-default-rate-alg.patch
Since your current kernel's config is *always* respected we
we renamed a config option:
s|CONFIG_MAC80211_RC_DEFAULT|
CONFIG_COMPAT_MAC80211_RC_DEFAULT
We do this so that our new preference for rate control
algorithm is respected, currently minstrel.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:40:09 +0000 (13:40 -0700)]
Move compat-wireless specific changes to 98-add-compat-wireless.patch
Changes which add support for compat.h and compat-2.6.*
are put into its own patch file. We use 98 as its the
second to last expect patch. The 99 patch will be
the one that deals with the Makefiles to only enable
the modules we want to compile.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:37:41 +0000 (13:37 -0700)]
Move mac80211 key.c changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:36:24 +0000 (13:36 -0700)]
Move mac80211/driver-trace.h changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:35:33 +0000 (13:35 -0700)]
Move wl12xx changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:17:53 +0000 (13:17 -0700)]
Move b43 header changes to 07-header-changes.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:07:23 +0000 (13:07 -0700)]
Move p54 usb compat chagnes to 06-usb.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 20:04:16 +0000 (13:04 -0700)]
Move netns hunk to its own 05-netns.patch
There is another netns related change on 01-netdev.patch
but haven't figured out a way to split by having them
not touch the same files. While we could have the netdev
stuff apply first and then afterwards apply the netns
stuff to the same files maintaining that would be quite
painful so for now lets leave this as is.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:30:22 +0000 (11:30 -0700)]
Move libertas pcmcia changes to 04-pcmcia.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:27:18 +0000 (11:27 -0700)]
Move b43 pcmcia compat stuff to its own 04-pcmcia.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:26:07 +0000 (11:26 -0700)]
move libertas ml_priv compat stuff to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:23:11 +0000 (11:23 -0700)]
move mac80211_hwsim changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:22:14 +0000 (11:22 -0700)]
Move libertas changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:21:08 +0000 (11:21 -0700)]
move ipw2[12]00 changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:18:45 +0000 (11:18 -0700)]
move b44.c changes to 01-netdev.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:16:17 +0000 (11:16 -0700)]
move net/wireless/core.h changes to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:15:14 +0000 (11:15 -0700)]
Move net/rfkill patches to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:10:37 +0000 (11:10 -0700)]
move ath5k compat.diff changes to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:09:08 +0000 (11:09 -0700)]
Move ath9k hunks to 03-rfkill.patch
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 4 Aug 2009 18:06:41 +0000 (11:06 -0700)]
Rename 01-netdev-ops.patch to 01-netdev.patch
The patch handles more than just the new netdev op
changes.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>