Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82158
b: refs/heads/master
c: 7cba97f
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 1, 2008
1 parent c1d0214 commit 110f7ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 537f06c5deaffbbe155bcc898369f889e7f3e647
refs/heads/master: 7cba97f12963721eca648d6901b294750a1fa3bd
14 changes: 7 additions & 7 deletions trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,6 @@ void ide_unregister(unsigned int index)
free_irq(hwif->irq, hwgroup);

spin_lock_irq(&ide_lock);
/*
* Note that we only release the standard ports,
* and do not even try to handle any extra ports
* allocated for weird IDE interface chipsets.
*/
ide_hwif_release_regions(hwif);

/*
* Remove us from the hwgroup, and free
* the hwgroup if we were the only member
Expand Down Expand Up @@ -590,6 +583,13 @@ void ide_unregister(unsigned int index)
hwif->extra_ports = 0;
}

/*
* Note that we only release the standard ports,
* and do not even try to handle any extra ports
* allocated for weird IDE interface chipsets.
*/
ide_hwif_release_regions(hwif);

/* copy original settings */
tmp_hwif = *hwif;

Expand Down

0 comments on commit 110f7ad

Please sign in to comment.