From: Pavel Machek <pavel@suse.cz>
To: kernel list <linux-kernel@vger.kernel.org>
Subject: PCMCIA IDE flash problem found
Date: Tue, 8 May 2001 14:14:17 +0200 [thread overview]
Message-ID: <20010508141417.A128@bug.ucw.cz> (raw)
Hi!
2.4.[123] changed name of ide-cs module, which means your pcmcia setup
breaks... This is how to undo the damage. Works for me, do *not* apply
into anything official.
Pavel
--- clean/drivers/ide/ide-cs.c Sun Apr 1 00:23:29 2001
+++ linux/drivers/ide/ide-cs.c Tue May 8 14:06:09 2001
@@ -95,7 +96,7 @@
static int ide_event(event_t event, int priority,
event_callback_args_t *args);
-static dev_info_t dev_info = "ide-cs";
+static dev_info_t dev_info = "ide_cs";
static dev_link_t *ide_attach(void);
static void ide_detach(dev_link_t *);
@@ -388,9 +389,12 @@
MOD_DEC_USE_COUNT;
}
+#if 0
request_region(link->io.BasePort1, link->io.NumPorts1,"ide-cs");
if (link->io.NumPorts2)
request_region(link->io.BasePort2, link->io.NumPorts2,"ide-cs");
+#endif
+ printk("Should call request_region\n");
info->ndev = 0;
link->dev = NULL;
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
next reply other threads:[~2001-05-08 17:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-08 12:14 Pavel Machek [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-08 18:05 PCMCIA IDE flash problem found Khachaturov, Vassilii
2001-05-08 18:15 ` Pavel Machek
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=20010508141417.A128@bug.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.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