[PATCH] colibri : don't register pxa2xx-pcmcia nodes on non-colibri platforms

2011-02-22 Thread Dmitry Eremin-Solenikov
PXA supports multi-machine kernels since long ago. However a kernel compiled with support for colibri and any other PXA machine and with PCMCIA enabled will barf at runtime about duplicate registration of pxa2xx-pcmcia device. Fix that. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/pcmcia/p

[git pull] PCMCIA bugfixes for 2.6.38-rc6

2011-02-22 Thread Dominik Brodowski
Linus, a few PCMCIA bugfixes have accumulated in the PCMCIA tree, so please pull from git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git urgent The individual patches will be sent out (at least) to the PCMCIA list. Thanks, Dominik Alan Cox (1): cm4000_cs: Fix und

[PATCH 4/4] pcmcia: re-enable Zoomed Video support

2011-02-22 Thread Dominik Brodowski
Allow drivers to enable Zoomed Video support. Currently, this is only used by out-of-tree drivers (L64020 DVB driver in particular). CC: [for 2.6.37] Signed-off-by: Dominik Brodowski --- drivers/pcmcia/pcmcia_resource.c |2 ++ include/pcmcia/ds.h |1 + 2 files changed, 3 in

[PATCH 3/4] cm4000_cs: Fix undefined ops warning

2011-02-22 Thread Dominik Brodowski
From: Alan Cox Signed-off-by: Alan Cox Signed-off-by: Dominik Brodowski --- drivers/char/pcmcia/cm4000_cs.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c index 777181a..bcbbc71 100644 --- a/drivers/c

[PATCH 2/4] pcmcia vs. MECR on pxa25x/sa1111

2011-02-22 Thread Dominik Brodowski
From: Pavel Machek After 2.6.34 changes, __pxa2xx_drv_pcmcia_probe() was replaced by sa_pcmcia_add(). That unfortunately means that configure_sockets() is not called, leading to MECR not being set properly, leading to strange crashes. Tested on pxa255+sa, I do not have lubbock board near

[PATCH 1/4] drivers/char/pcmcia/ipwireless/main.c: Convert release_resource to release_region/release_mem_region

2011-02-22 Thread Dominik Brodowski
From: Julia Lawall Request_region should be used with release_region, not release_resource. This patch contains a number of changes, related to calls to request_region, request_mem_region, and the associated error handling code. 1. For the call to request_region, the variable io_resource storin