compat-wireless: refresh patches for next-20120608

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: address usage of request_module_nowait() on iwlwifi

request_module_nowait() was added on 2.6.30 but we can't
backport it. Under some circumstances though request_module_nowait()
likely was not meant to be used on purpose and instead we can
assume request_module() will work. This patch addresses the few
places where request_module_nowait() was used but that we can
at least somewhat assume that this can work. We do not backport
this into compat.git as a direct static inline given that there
are surely some places where request_module() cannot be used.

All users of request_module_nowait() should revise their code and
snsure that is indeed what was meant.

In this patch we address using the regular request_module() on
iwlwifi given that it seems we can use it there. Someone can
hopefully however test and verify this is OK. For newer kernels
that have request_module_nowait() we leave the call.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: fix patches/09-threaded-irq.patch

I'm tired of seeing this patch fail so I've moved
the struct that we add to the front. Each time the
data structure changes elements are added towards the
end, not the beginning. Hopefully this means we'll
have less required updates on this hunk! Only time
will tell.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: address intel wireless driver file rename

I like dark beers, and amber beers... Just saying.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: refresh patches for next-20120612

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: add TI WiLink 8 chipsets support

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: enable CONFIG_WL18XX  on >= 2.6.30

Compilation breaks on older kernels.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: fix kernel check for CONFIG_WL18XX

I meant you need at least 2.6.30 so the check should
be for ifdef CONFIG_COMPAT_KERNEL_2_6_30 as if
CONFIG_COMPAT_KERNEL_2_6_30 is defined it means we
have a kernel < 2.6.30

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: remove patches/63-request_module_nowait.patch

This is no longer required due to patch:

commit d4b10483223cf1a3fd2057785b12e2790a961867
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Tue Jun 12 19:50:43 2012 +0200

    iwlwifi: use request_module instead of _nowait

    Since request_module_nowait() can't be backported
    use request_module() instead -- we don't need the
    asynchronous behaviour of request_module_nowait()
    here since we're running in the firmware request
    work struct.

    Tested-by: Donald H Fry <donald.h.fry@intel.com>
    Reviewed-by: Donald H Fry <donald.h.fry@intel.com>
    Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: refresh patches for next-20120614

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: fix stable alias on admin-update.sh

When running ./scripts/admin-update.sh -s -- the code will look
for all pathces on linux-next since the current head tag on the
stable release we are on that have the stable@kernel.org
on the commit log. The e-mail address alias has changed
to stable@vger.kernel.org. This patch updates that alias so
we can continue to run:

./scripts/admin-update.sh -s

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: update directory paths for Atheros Ethernet drivers

This is used when git grep'ing out for stable patches with
./scripts/admin-update.sh -s

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: move alx pending patches to crap

The alx driver needs to remove the old devices that atl1c
already supports. This work is being done but users can
still use the alx driver. To help these users move the
alx patch to crap/ and add a new patch that disables all
the atl1c devices from the alx driver. This means we no
longer need a script to disable atlc.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: remove alx and atl1c drivers upon uninstallation

We were only removing atl1c drivers before.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: update initramfs upon uninstall

This is needed upon uninstallation.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: skip forcing refresh on gen-stable-release.sh

When gen-stable-release.sh is used we were forcing a refresh
but this breaks usage of gen-stable-release.sh -s -n -p -c
so just skip the refresh for now.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: Suck in ckmake from compat.git

ckmake can be used directly to test compat-foo trees against the
installed kernel trees. So it is good to have it copied under
this tree.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
compat-wireless: refresh patches for next-20120621

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless: Naturally sort patch prefixes

Use ls -v to get a naturally sorted list of patches like:

patches/00-vga_switcheroo_client_ops.patch
patches/01-dma_buf_ops-addition.patch
patches/02-revert-vm_mmap.patch
patches/98-pr_fmt.patch
patches/99-change-makefile.patch
patches/9999-FIXME-dont-build-i915-for-i2c-problems.patch

instead of:

patches/00-vga_switcheroo_client_ops.patch
patches/01-dma_buf_ops-addition.patch
patches/02-revert-vm_mmap.patch
patches/98-pr_fmt.patch
patches/9999-FIXME-dont-build-i915-for-i2c-problems.patch
patches/99-change-makefile.patch

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
See the description in the file -- the current code
is safe only on recent upstream kernels, with 3.1
for example it can crash. The new code is safe on
all kernels that even support %pV, others just get
a pointer unfortunately.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>