Messages in this thread Patch in this message | | | Date | Thu, 7 Oct 2004 16:58:57 +0100 | From | Russell King <> | Subject | [PATCH] 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.
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |