Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25090
b: refs/heads/master
c: 8961b82
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski committed Mar 31, 2006
1 parent e49beab commit 8ae0b43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7d006935dfda9174187aa557e94a137ced10c30
refs/heads/master: 8961b828667e715a96d9d8517f7c8b6552ead3bb
8 changes: 0 additions & 8 deletions trunk/drivers/parport/parport_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ void parport_config(dev_link_t *link)
CS_CHECK(RequestIRQ, pcmcia_request_irq(handle, &link->irq));
CS_CHECK(RequestConfiguration, pcmcia_request_configuration(handle, &link->conf));

release_region(link->io.BasePort1, link->io.NumPorts1);
if (link->io.NumPorts2)
release_region(link->io.BasePort2, link->io.NumPorts2);
p = parport_pc_probe_port(link->io.BasePort1, link->io.BasePort2,
link->irq.AssignedIRQ, PARPORT_DMA_NONE,
NULL);
Expand Down Expand Up @@ -277,11 +274,6 @@ void parport_cs_release(dev_link_t *link)
if (info->ndev) {
struct parport *p = info->port;
parport_pc_unregister_port(p);
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;
Expand Down

0 comments on commit 8ae0b43

Please sign in to comment.