From: James Bottomley <James.Bottomley@SteelEye.com>
To: Russell King <rmk@arm.linux.org.uk>
Cc: willy@debian.org, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix pcmcia probing to work on parisc
Date: 16 Oct 2004 15:10:44 -0500 [thread overview]
Message-ID: <1097957451.2283.336.camel@mulgrave> (raw)
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);
reply other threads:[~2004-10-16 20:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1097957451.2283.336.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=willy@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®