Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2165
b: refs/heads/master
c: ead5de9
h: refs/heads/master
i:
  2163: b536690
v: v3
  • Loading branch information
Jeff Garzik committed May 31, 2005
1 parent fc29cda commit 4fd7dec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: edb3e182b6f33c91ba8778e2198220c12712d3ad
refs/heads/master: ead5de996fc35f97fa120b414bfc098f1bca29d2
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/io.h>

#define DRV_NAME "ahci"
#define DRV_VERSION "1.00"
#define DRV_VERSION "1.01"


enum {
Expand Down Expand Up @@ -1086,8 +1086,6 @@ static void ahci_remove_one (struct pci_dev *pdev)

have_msi = hpriv->have_msi;
free_irq(host_set->irq, host_set);
host_set->ops->host_stop(host_set);
iounmap(host_set->mmio_base);

for (i = 0; i < host_set->n_ports; i++) {
ap = host_set->ports[i];
Expand All @@ -1096,12 +1094,14 @@ static void ahci_remove_one (struct pci_dev *pdev)
scsi_host_put(ap->host);
}

host_set->ops->host_stop(host_set);
kfree(host_set);

if (have_msi)
pci_disable_msi(pdev);
else
pci_intx(pdev, 0);
pci_release_regions(pdev);
kfree(host_set);
pci_disable_device(pdev);
dev_set_drvdata(dev, NULL);
}
Expand Down

0 comments on commit 4fd7dec

Please sign in to comment.