Luis R. Rodriguez [Fri, 29 Mar 2013 23:13:17 +0000 (16:13 -0700)]
compat: backport memweight()
mcgrof@frijol ~/linux-next (git::master)$ git describe --contains
639b9e34
v3.6-rc1~41^2~73
commit
639b9e34f15e4b2c30068a4e4485586af0cdf709
Author: Akinobu Mita <akinobu.mita@gmail.com>
Date: Mon Jul 30 14:40:55 2012 -0700
string: introduce memweight()
memweight() is the function that counts the total number of bits set in
memory area. Unlike bitmap_weight(), memweight() takes pointer and size
in bytes to specify a memory area which does not need to be aligned to
long-word boundary.
[akpm@linux-foundation.org: rename `w' to `ret']
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Anders Larsen <al@alarsen.net>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Johannes Berg [Tue, 2 Apr 2013 20:16:16 +0000 (22:16 +0200)]
backport ETH_P_802_3_MIN
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 20:13:40 +0000 (22:13 +0200)]
add the ability to include ALX
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 20:11:37 +0000 (22:11 +0200)]
do post-processing after applying patches
Otherwise some patches might not apply, and anything
added in patches to the Kconfig won't work correctly.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 19:31:33 +0000 (21:31 +0200)]
add ethernet back
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 19:08:35 +0000 (21:08 +0200)]
add ability to read source files from git
Instead of having to have a checked-out kernel tree the
script can now read the files from a git revision when
passed the --git-revision <rev> argument. In this case
the kerneldir is taken as the git tree to use.
This helps when generating for multiple different trees.
Note that due to the need to invoke git many times this
is considerably slower than copying from a checkout. If
taking into account the time to create the checkout it's
still faster though.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 18:48:25 +0000 (20:48 +0200)]
remove copy sanity check
If you get this wrong, it will error out while copying anyway.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 17:27:23 +0000 (19:27 +0200)]
rename compat dir to backport
Then we can also move all the plumbing/ stuff into it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 17:02:14 +0000 (19:02 +0200)]
restore RHEL 6 configuration selections
This was trickier in the previous compat, but I think
this restores the required options for RHEL6.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 13:26:21 +0000 (15:26 +0200)]
remove forgotten commented out line
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 13:07:44 +0000 (15:07 +0200)]
add own EXPERT Kconfig
Otherwise it depends on the kernel's configuration
which doesn't make all that much sense.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 12:23:22 +0000 (14:23 +0200)]
adjust/fix ckmake
* adjust to make allyesconfig ; make, it is necessary
to pass KCONFIG_ALLCONFIG to "make allyesconfig"
* don't use shell, build command ourselves
* remove pointless ignore pattern with \
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 12:12:55 +0000 (14:12 +0200)]
add ckmake back under devel/ dir
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:56:41 +0000 (13:56 +0200)]
change rfkill backport for RFKILL_TYPE_FM
RFKILL_TYPE_FM was only added in kernel 2.6.33.
Maybe we should just always add rfkill?
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:54:35 +0000 (13:54 +0200)]
fix rfkill backport version
The API changes were only done in kernel 2.6.32.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:51:40 +0000 (13:51 +0200)]
fix tracing backport
For kernels that didn't have correct tracing, it was broken.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:32:21 +0000 (13:32 +0200)]
disable unused-but-set-variable warning
This warning happens all the time ...
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:20:30 +0000 (13:20 +0200)]
allow multiple kernel version dependencies
I've been adding a bunch of dependencies that
override earlier ones but could be removed, so
make it more maintainable by allowing multiple
to be listed.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:18:07 +0000 (13:18 +0200)]
disable BT_HIDP on kernels below 2.6.33
Only 2.6.33 introduced HID_QUIRK_NO_INIT_REPORTS, and
we don't backport that right now.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:06:24 +0000 (13:06 +0200)]
make RFKILL_REGULATOR depend on 3.0
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 11:01:03 +0000 (13:01 +0200)]
disable BCMA_DRIVER_GPIO until 3.0
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 09:50:02 +0000 (11:50 +0200)]
make Bluetooth depend on 2.6.29
AMP code requires crypto shash, which was only added in
2.6.29.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 09:45:39 +0000 (11:45 +0200)]
add kernel version dependency for BCMA/SSB GPIO
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 09:38:46 +0000 (11:38 +0200)]
always use included rfkill
This isn't really desirable, but for now fixes build on
some kernels.
What we really should do is rename all the rfkill to be
backport symbols, and use it only on kernels that didn't
have a usable rfkill. OTOH, on new kernels one may want
to use a backported rfkill if the base configuration
doesn't include it?
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 09:24:54 +0000 (11:24 +0200)]
correct makefile for cordic/crc8
I allowed these to be modules by themselves, so they
need to be in the makefile as obj-$(...).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 09:00:23 +0000 (11:00 +0200)]
add rt2x00 LED dependency
We don't carry a patch to disable uses of blink_set() in
the LED API, so rt2x00 LED support must depend on 2.6.25.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:55:45 +0000 (10:55 +0200)]
add LIBIPW_DEBUG 2.6.25 dependency
due to proc_create()
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:52:43 +0000 (10:52 +0200)]
disable codel on 2.6.24
It doesn't build there, the old commentry said it was
due to the qdisc API but it also doesn't build because
of is_vmalloc_addr().
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:45:54 +0000 (10:45 +0200)]
fix COMPAT_USB_URB_THREAD_FIX option
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:42:03 +0000 (10:42 +0200)]
properly add SSB and BCMA
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:37:10 +0000 (10:37 +0200)]
add some non-verbose output
Now that it prints nothing at all, it's eery, add back some output :)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:33:20 +0000 (10:33 +0200)]
add kernel version dependencies
Some drivers/subsystems/... can only build on certain newer
kernels, or were never tested elsewhere. Insert their version
dependencies into the output Kconfig.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Tue, 2 Apr 2013 08:25:28 +0000 (10:25 +0200)]
suppress patching output (unless in verbose mode)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 23:02:38 +0000 (01:02 +0200)]
add dependencies file
This will be used to modify the Kconfig that we get to
make some things depend on certain kernel versions.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 23:01:31 +0000 (01:01 +0200)]
add a few compile time checks
Do a few sanity checks at compile time.
Actually it would be possible to do them at Kconfig time
and simply disable mac80211/cfg80211, but that wouldn't
be very discoverable, and it's a corner case anyway.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 22:31:05 +0000 (00:31 +0200)]
properly backport EWMA functions
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 22:23:35 +0000 (00:23 +0200)]
simplify and correct backported FW loader
The backported loader is selected by drivers
needing it, unless the in-kernel one is used,
so there's no need to provide the functions
for when it isn't built.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 22:18:39 +0000 (00:18 +0200)]
copy rfkill header
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 22:14:48 +0000 (00:14 +0200)]
fix backported fw loader
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 21:36:32 +0000 (23:36 +0200)]
fix bluetooth ifdef
The recent kconfig shuffle broke this.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 21:34:53 +0000 (23:34 +0200)]
add ath5k tracing fix
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 20:06:15 +0000 (22:06 +0200)]
add kernel license/maintainers file to output
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 19:50:37 +0000 (21:50 +0200)]
add ssb/bcma includes
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 19:06:04 +0000 (21:06 +0200)]
update .config before generating autoconf header
Otherwise, an invalid configuration file might be
used to generation the C configuration.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 17:46:36 +0000 (19:46 +0200)]
add brcm80211 makefile patch
The simple parser doesn't understand the variable
indirection (yet) and right now it's simpler and
faster to patch the makefiles rather than improve
the parser.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 19:01:30 +0000 (21:01 +0200)]
fix --refresh option
The refresh option was only able to correctly handle
patch files that change a single file, fix this.
It's still desirable to have few changes per file,
but when a single patch makes sense for changes to
multiple files in a single driver.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Mon, 1 Apr 2013 17:40:33 +0000 (19:40 +0200)]
allow backported drivers to select backport options
This allows to have, for example, CRC8 still selected
by drivers (modified to BACKPORT_CRC8) and then build
the CRC8 code only conditionally on not having it in
the base kernel and being required by a driver.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:57:14 +0000 (00:57 +0200)]
don't include Kconfig file that doesn't exist
The correct location is already included anyway.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:49:57 +0000 (00:49 +0200)]
enable all wireless/bluetooth drivers
Pretty much like the old compat ...
However, ath5k doesn't build due to tracing, but I haven't
found the bug yet.
Also, brcm80211 make system is a big mess and doesn't quite
work right with the simple makefile parser here.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:40:42 +0000 (00:40 +0200)]
add BACKPORT_BT_SOCK_CREATE_NEEDS_KERN config symbol
Also need to rename it in the patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:38:47 +0000 (00:38 +0200)]
ignore patch files ending with ~
These are typically editor backup files.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:32:52 +0000 (00:32 +0200)]
allow renaming while copying
This will be useful for the rfkill backport.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:23:34 +0000 (00:23 +0200)]
add Bluetooth Kconfig/Makefile stuff
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 22:15:42 +0000 (00:15 +0200)]
add rfkill
This doesn't really work yet though ...
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 21:52:20 +0000 (23:52 +0200)]
apply patches more robustly
Treat each directory with only files as a patchdir.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 21:15:25 +0000 (23:15 +0200)]
apply patches correctly
Not all patch dirs hold an INFO file, so don't require it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 21:12:42 +0000 (23:12 +0200)]
rename patch files to .patch
They can be named after the C files they apply to,
but they should still be named .patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 00:47:39 +0000 (01:47 +0100)]
move orig/rej file removal
This needs to be after each patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 00:46:41 +0000 (01:46 +0100)]
add -a git commit to catch deleted files in debug
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 00:45:33 +0000 (01:45 +0100)]
use BACKPORT_PWD variable in makefiles
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sun, 31 Mar 2013 00:35:19 +0000 (01:35 +0100)]
disable impossible symbols
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 23:22:22 +0000 (00:22 +0100)]
split kconfig symbol list
The regular expression engine only supports a limited
number of groups, so split the kconfig symbol list
into chunks of 50 for the mangling.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 23:11:59 +0000 (00:11 +0100)]
add --refresh option
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 23:00:32 +0000 (00:00 +0100)]
make debug snapshots per applied patchset
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:55:32 +0000 (23:55 +0100)]
remove tracing patches
These are causing issues and it seems like the
current approach should work even without them.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:48:43 +0000 (23:48 +0100)]
remove orig/rej files after patching
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:43:11 +0000 (23:43 +0100)]
apply patches when creating the output
Apply all the patches that are needed according
to the first file in each ... currently all the
patches are split up by file though.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:34:09 +0000 (23:34 +0100)]
remove unused os.getcwd()
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:16:33 +0000 (23:16 +0100)]
remove some unneeded patches
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 22:06:52 +0000 (23:06 +0100)]
copy needed includes
Copy the necessary include files for the different
components, without them obviously nothing builds.
This necessitated using an own copytree() implementation
that doesn't error when a target directory already exists.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 21:51:16 +0000 (22:51 +0100)]
remove Kconfig.kernel
It's generated at build time later, no need to copy an
empty file into the output directory.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 21:35:05 +0000 (22:35 +0100)]
comment copy-list
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 21:30:27 +0000 (22:30 +0100)]
add "config WIRELESS"
This is needed as we don't copy net/Kconfig and that
has the symbol. It's OK to specify a symbol twice in
Kconfig files so this works even when the base kernel
already has the option enabled.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 21:28:06 +0000 (22:28 +0100)]
add debug mode that commits each step in git
This allows checking easily what the code generation
scripting did to the copied sources.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 21:07:56 +0000 (22:07 +0100)]
get output's build system mostly working
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 20:50:59 +0000 (21:50 +0100)]
rename COMPAT_ to BACKPORT_ in internal Kconfig symbols
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 20:04:28 +0000 (21:04 +0100)]
parse "menuconfig" as local symbol
Johannes Berg [Sat, 30 Mar 2013 18:48:20 +0000 (19:48 +0100)]
also change CONFIG_*_MODULE
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Sat, 30 Mar 2013 00:31:42 +0000 (01:31 +0100)]
make codel (fq) user selectable
needs better descriptions ... :)
Johannes Berg [Fri, 29 Mar 2013 23:37:13 +0000 (00:37 +0100)]
add first attempt at new copy script and build infrastructure
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Fri, 29 Mar 2013 23:53:58 +0000 (00:53 +0100)]
split patches
This splits all patches into per-file patches. I've added the little
tool I wrote as well (but it's hard to use).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Fri, 29 Mar 2013 20:52:21 +0000 (21:52 +0100)]
move kconfig to plumbing/ directory
The plumbing/ directory will contain everything
that must go into the output, that includes the
Kconfig infrastructure.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Fri, 29 Mar 2013 19:29:27 +0000 (20:29 +0100)]
add .gitignore
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Fri, 29 Mar 2013 19:11:23 +0000 (20:11 +0100)]
clean up
Clean up all the things this won't use/need.
I'm going to add things back bit by bit instead
of trying to base it on the current version.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Johannes Berg [Fri, 29 Mar 2013 18:57:47 +0000 (19:57 +0100)]
Merge compat code
Johannes Berg [Fri, 29 Mar 2013 18:57:11 +0000 (19:57 +0100)]
don't ignore compat directory
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:18 +0000 (20:12 +0100)]
compat-drivers: fix signature for struct bin_attribute
The signature for struct bin_attribute.read changed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:17 +0000 (20:12 +0100)]
compat-drivers: fix signature for struct rchan_callbacks
the signature for struct rchan_callbacks.create_buf_file changed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:16 +0000 (20:12 +0100)]
compat-drivers: fix parameter dereference for drv_set_multicast_list()
drv_set_multicast_list() does not take a pinter but the direct
parameter on kernel < 2.6.35.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:15 +0000 (20:12 +0100)]
compat-drivers: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:14 +0000 (20:12 +0100)]
compat-drivers: add debug config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:13 +0000 (20:12 +0100)]
compat-drivers: add config option CONFIG_RT2800USB_RT55XX
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:12:11 +0000 (20:12 +0100)]
compat-drivers: add config option IWLWIFI_OPMODE_MODULAR
This is needed to make the common intel driver module export its
symbols.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:18:27 +0000 (20:18 +0100)]
compat: build kstrtox for kernel < 2.6.25
strict_strtol with one l is defined in compat-2.6.25.h code now and
this deactivates this check, use strict_strtoll instead.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:18:26 +0000 (20:18 +0100)]
compat: firmware class, remove the compat prefix
This depended on some define changing firmware_* to compat_firmware_*
and this should now be used to generate backport_firmware_*. This makes
it export the expected symbols with the backport prefix.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:18:25 +0000 (20:18 +0100)]
compat: do not undef flush_scheduled_work
This caused flush_scheduled_work instead of
backport_flush_scheduled_work being exported.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:18:24 +0000 (20:18 +0100)]
compat: fix export of __sg_page_iter*
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Hauke Mehrtens [Thu, 28 Mar 2013 19:18:23 +0000 (20:18 +0100)]
compat: add module_pcmcia_driver
This is a backport of:
commit
6ed7ffddcf61f668114edb676417e5fb33773b59
Author: H Hartley Sweeten <hsweeten@visionengravers.com>
Date: Wed Mar 6 11:24:44 2013 -0700
pcmcia/ds.h: introduce helper for pcmcia_driver module boilerplate
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Thu, 28 Mar 2013 23:28:01 +0000 (16:28 -0700)]
compat-drivers: make CONFIG_BT_WILINK depend on CONFIG_TI_ST
This needs to be carried over to linux-3.9.y.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Luis R. Rodriguez [Thu, 28 Mar 2013 12:14:48 +0000 (05:14 -0700)]
compat-drivers: fix hunk on vt switch patch
I manually edited the patch but failed to test it...
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>