Fix ide-cs resource management
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.
Signed-off-by Russell King <[email protected]>
drivers/ide/legacy/ide-cs.c +0 -6
@@ -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