mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: "Khachaturov, Vassilii" <Vassilii.Khachaturov@comverse.com>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: PCMCIA IDE flash problem found
Date: Tue, 8 May 2001 20:15:22 +0200	[thread overview]
Message-ID: <20010508201522.A10738@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <6B1DF6EEBA51D31182F200902740436802678EA9@mail-in.comverse-in.com>
In-Reply-To: <6B1DF6EEBA51D31182F200902740436802678EA9@mail-in.comverse-in.com>; from Vassilii.Khachaturov@comverse.com on Tue, May 08, 2001 at 02:05:04PM -0400

> Why did not you take care of the request_region() call and just disabled it?
> The ports will be considered free by the system, and another device might 
> grab them later on!

Because it was one of changes between 2.4.0 and 2.4.4. Ignore that.

								Pavel
> 
> Vassilii
> 
> -----Original Message-----
> From: Pavel Machek [mailto:pavel@suse.cz]
> Sent: Tuesday, May 08, 2001 8:14 AM
> To: kernel list
> Subject: PCMCIA IDE flash problem found
> 
> 
> 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;

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

  reply	other threads:[~2001-05-08 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08 18:05 Khachaturov, Vassilii
2001-05-08 18:15 ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-08 12:14 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=20010508201522.A10738@atrey.karlin.mff.cuni.cz \
    --to=pavel@suse.cz \
    --cc=Vassilii.Khachaturov@comverse.com \
    --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

all inboxes | Powered by JetHome®