summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-02compat-wireless: add more files to ignoreLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-04-02compat-wireless: refresh patchesLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: fix compilation of ath6kl on 2.6.27Luis R. Rodriguez
Some drivers rely on some other part of the kernel to include in.h but on older kernels this proves to not work. Explicitly include that file. This fixes compilation of ath6kl on 2.6.27. This patch will be sent upstream though. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: fix p54 pm ops backport typo againLuis R. Rodriguez
Really.. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: fix p54 pm ops backport typoLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: reorder config includesLuis R. Rodriguez
We need to include first the kernel config as otherwise we end up trying to compile drivers which were disabled for older kernels. This fixes compilation on 2.6.28 where carl9170 was being compiled although we had disabled it on config.mk. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: add pm ops backport for p54Luis R. Rodriguez
This should fix compiling on 2.6.28. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: do not use broad export on makefilesLuis R. Rodriguez
This inspired by Johannes' patch on compat which does the same thing. perl -pi -ne 's|^(\s*)CONFIG|$1export CONFIG|' config.mk And then we also address the autoconf generation. We shave off compile time by more than 1/2: Before: real 0m34.034s user 0m33.760s sys 0m10.580s After: real 0m16.617s user 0m22.290s sys 0m6.180s This was against 2.6.38. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-19compat-wireless: fix compilation of ath6kl on 2.6.34Luis R. Rodriguez
This fixes compilation of compat-wireless completely on 2.6.34 Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-14compat-wireless: fix typo in patches/40-netdev-hw-features.patchLuis R. Rodriguez
This fixes compilation for 2.6.35 for ath6kl. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-14compat-wireless: backport netdev->addr_assign_typeLuis R. Rodriguez
You cannot backport assignment of netdev->addr_assign_type given that its part of the netdev data structure only in future kernels, so we backport this through a new patch file: patches/61-netdev-addr_assign_type.patch mcgrof@tux ~/linux-next (git::master)$ git describe --contains c1f79426 v2.6.36-rc1~571^2~104 This fixes compilation of the Atheros Ethernet drivers down to 2.6.35. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-14compat-wireless: refresh patchesLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-14compat-wireless: fix patches/40-netdev-hw-features.patchLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-14compat-wireless: fix patches/37-vsnprintk.patchLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-12compat-wireless: refresh linux-next-pending patchesLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-12compat-wireless: fix linux-next-pending/0002-backport-alx.patchLuis R. Rodriguez
The last hunk was must be placed in context, patch is stupid and will only accept hunks in order. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-12compat-wireless: backport addr_assign_type usageLuis R. Rodriguez
The alx driver uses the addr_assign_type variable from the netdev data structure which was added as of 2.6.35: mcgrof@tux ~/linux-next (git::master)$ git describe --contains c1f79426 v2.6.36-rc1~571^2~104 Although compat.git backported dev_hw_addr_random() the patch in compat.git cannot address usage of addr_assign_type and as such requires an ifdef around it. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: fix jobserverLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: enable mac80211 tracing for kernels >= 2.6.33Luis R. Rodriguez
Turns out this compiles now that we are in the future, so just disable tracing for older kernels. This goes unstested though. Requested-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: fix patch for disabling ath9k RCLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: add driver-select option ath9k_apLuis R. Rodriguez
Prefer using Minstrel for AP for ath9k. The minstrel rate control algorihtm has been field tested more than the ath9k rate control algorithm. To disable ath9k's RC we renaem the config option to with a CONFIG_COMPAT prefix and disable it later. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: refresh patchesLuis R. Rodriguez
This runs: ./scripts/admin-update.sh refresh This refreshes all hunk offests automatically. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: fix patches/09-threaded-irq.patch for wl12xxLuis R. Rodriguez
Hunk offsets differ for wl12xx.h changes. This is now fixed. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: backport ath6kl hw_features / [set|fix]_featuresLuis R. Rodriguez
This requires a manual backport, we throw it into patches/40-netdev-hw-features.patch following previous ethernet backport of Atheros Ethernet drivers. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: add Makefile to PHONYLuis R. Rodriguez
Debugging Make shows that 18 variations of Makefile are checked for targets on the Makefile prior to process the first real target. Stop this nonsense. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: remove recurssive call on building modulesLuis R. Rodriguez
The recursion call to build modules is not required. It was added due to the fact that we now included a new file, CONFIG_COMPAT and we needed it at build time. We do not need the recursive call given that the kernel will already call the same Makefile later when building modules. We take advantage of this fact and simply ensure we build CONFIG_COMPAT when processing our rules. We do not define a direct target for CONFIG_COMPAT given that we want to force a regeneration of the file and compat autoconf, whenever the build environment changes. We still add a dummy CONFIG_COMPAT target rule to avoid Make looking rules for it. In order for this build to work we now just need to export CFLAGS so that the variables defined on the first pass are available later at module build time. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: use PWD for file version detailsLuis R. Rodriguez
The CFLAGS were using some local files to add some definition of some variables later used by the compat module. Lets be careful to use only the locally defined files. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: use PWD for file definitionLuis R. Rodriguez
Instead of using PWD in random places just use it to defint he direct file once. This will allow us to later move variables that use PWD to another place. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: Handle name change from iwlagn to iwlwifi in 3.2Don Fry
With linux-3.2 the iwlagn driver is renamed iwlwifi. For some kernels (like 3.1.5) this causes the non-compat iwlagn.ko to try and run against the compat mac80211 resulting in an oops. This change prevents the non-compat iwlagn.ko from being loaded. Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-06compat-wireless: refresh patchesLuis R. Rodriguez
Synchs with next-20120306 Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: disable b44 for Atheros drivers via driver-selectLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: remove -e from depmod on modlib.shLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: fix make installLuis R. Rodriguez
This issue was introduced via this patch: commit 802ea47e6316aea285f2c30d95763dd7c320eec1 Author: Rick Farina <sidhayn@gmail.com> Date: Fri Feb 24 21:28:40 2012 -0500 compat-wireless: replace modprobe -l with functional equivilent Fix the regression by properly using brackets on the conditional check and also guaranteeing we output something upon success. Not sure how this could have worked. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: add alx Ethernet driver to linux-next-pending/Luis R. Rodriguez
This is now posted so we merge it. We can remove this once David merges the driver and it gets into linux-next.git. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: add MAINTAINERS to distributionLuis R. Rodriguez
This adds the MAINTAINERS file to the distribution. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-27compat-wireless: fix directory copying in admin-update.shFelix Fietkau
On my system the trailing slash leads to the directory contents being copied to the target instead of the full directory, which results in breakage during build. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-27compat-wireless: use portable #! for bash scriptsFelix Fietkau
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>
2012-02-24compat-wireless: export MAKELuis R. Rodriguez
This is usefulf to propagate the same MAKE variable preference over scripts used. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-24compat-wireless: fix old kernel checks for 3.xLuis R. Rodriguez
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>
2012-02-24compat-wireless: replace modprobe -l with functional equivilentRick Farina
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>
2012-02-24compat-wireless: use compat's CONFIG_COMPAT_KERNEL_* variablesLuis R. Rodriguez
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>
2012-02-24compat-wireless: start using CONFIG_COMPAT_KERNEL_ in codeLuis R. Rodriguez
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>
2012-02-24compat-wireless: fix old checks on KERNEL_SUBLEVELLuis R. Rodriguez
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>
2012-02-23cleanup modprobe callsRick Farina
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>
2012-02-23compat-wireless: refresh patches for backport alxLuis R. Rodriguez
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>
2012-02-23compat-wireless: refresh patchesLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-23compat-wireless: fix patches/24-pcmcia.patchLuis R. Rodriguez
Some hunk offsets were off. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-23compat-wireless: fix patches/16-bluetooth.patchLuis R. Rodriguez
Some context lines were removed from the upstream driver. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-23compat-wireless: fix 08-rename-config-options.patchLuis R. Rodriguez
Hunk conflicts due to changes on the Makefile for the wl1251 driver. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-17compat-wireless: refresh patchesLuis R. Rodriguez
This synchs with next-20120217. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>