linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix ide-cs resource management
@ 2004-10-07 15:58 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-10-07 15:58 UTC (permalink / raw)
  To: Linux Kernel List, Bartlomiej Zolnierkiewicz
  Cc: Andrew Morton, Linus Torvalds

PCMCIA resource management is no longer brain dead, and acts just like
any other bus subsystem.  Therefore, there's no need to play games with
the resource subsystem anymore.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>

diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/drivers/ide/legacy/ide-cs.c linux/drivers/ide/legacy/ide-cs.c
--- orig/drivers/ide/legacy/ide-cs.c	Sun Aug  8 12:13:09 2004
+++ linux/drivers/ide/legacy/ide-cs.c	Thu Oct  7 16:56:06 2004
@@ -412,12 +412,6 @@ void ide_release(dev_link_t *link)
 	/* FIXME: if this fails we need to queue the cleanup somehow
 	   -- need to investigate the required PCMCIA magic */
 	ide_unregister(info->hd);
-	/* deal with brain dead IDE resource management */
-	request_region(link->io.BasePort1, link->io.NumPorts1,
-		       info->node.dev_name);
-	if (link->io.NumPorts2)
-	    request_region(link->io.BasePort2, link->io.NumPorts2,
-			   info->node.dev_name);
     }
     info->ndev = 0;
     link->dev = NULL;

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-07 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07 15:58 [PATCH] Fix ide-cs resource management Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).