Skip to contentSkip to conversation

Fix ide-cs resource management

PATCH New Russell King 1 participant 1 message Oct 7, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix ide-cs resource management

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.

drivers/ide/legacy/ide-cs.c +0 -6
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
@@ -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;
Signature · 4 lines
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