* [PATCH] fix pcmcia probing to work on parisc
@ 2004-10-16 20:10 James Bottomley
0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2004-10-16 20:10 UTC (permalink / raw)
To: Russell King; +Cc: willy, Linux Kernel
Hi Russell,
This is the last piece of our parisc PCMCIA puzzle after I converted the
original code to use the new resource manager stuff. Basically, we
can't be probed either on memory or on I/O. Since it looks like the
other two arm architectures which don't set CONFIG_PCMCIA_PROBE still do
memory probing, I introduced a new option to control this
(CONFIG_PCMCIA_PROBE_MEM).
James
===== drivers/pcmcia/Kconfig 1.11 vs edited =====
--- 1.11/drivers/pcmcia/Kconfig 2004-06-19 12:10:24 -05:00
+++ edited/drivers/pcmcia/Kconfig 2004-10-16 09:49:49 -05:00
@@ -136,7 +136,11 @@
config PCMCIA_PROBE
bool
- default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X
+ default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X && !PARISC
+
+config PCMCIA_PROBE_MEM
+ bool
+ default y if !PARISC
endmenu
===== drivers/pcmcia/rsrc_mgr.c 1.41 vs edited =====
--- 1.41/drivers/pcmcia/rsrc_mgr.c 2004-10-10 12:39:48 -05:00
+++ edited/drivers/pcmcia/rsrc_mgr.c 2004-10-16 09:50:28 -05:00
@@ -59,7 +59,11 @@
#define INT_MODULE_PARM(n, v) static int n = v; module_param(n, int, 0444)
+#ifdef CONFIG_PCMCIA_PROBE_MEM
INT_MODULE_PARM(probe_mem, 1); /* memory probe? */
+#else
+INT_MODULE_PARM(probe_mem, 0); /* memory probe? */
+#endif
#ifdef CONFIG_PCMCIA_PROBE
INT_MODULE_PARM(probe_io, 1); /* IO port probe? */
INT_MODULE_PARM(mem_limit, 0x10000);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-16 20:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-16 20:10 [PATCH] fix pcmcia probing to work on parisc James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®