Skip to contentSkip to conversation

2.6.8-rc libata fixes

PATCH New Jeff Garzik 1 participant 1 message Aug 10, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.8-rc libata fixes

Two main fixes here:
* the obvious-a-fix, move MMIO unmap after last usage
* update sata_nv, because we removed support for this hardware from drivers/ide. If this doesn't go in, then support will have disappered on users. Also, it fixes a few bugs in addition to the new support.

Please do a

bk pull bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6

This will update the following files:

 drivers/scsi/libata-core.c |    4 
 drivers/scsi/sata_nv.c     |  316 +++++++++++++++++++++++++++++++++++----------
 2 files changed, 251 insertions(+), 69 deletions(-)

through these ChangeSets:

<[email protected]> (04/08/10 1.1954)
[libata] unmap MMIO region _after_ last possible usage

<[email protected]> (04/08/10 1.1953)
[libata sata_nv] support for hardware, bug fixes

drivers/scsi/libata-core.c +2 -2
diff -Nru a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
@@ -3252,10 +3252,10 @@
 	}
 
 	free_irq(host_set->irq, host_set);
-	if (host_set->mmio_base)
-		iounmap(host_set->mmio_base);
 	if (host_set->ops->host_stop)
 		host_set->ops->host_stop(host_set);
+	if (host_set->mmio_base)
+		iounmap(host_set->mmio_base);
 
 	for (i = 0; i < host_set->n_ports; i++) {
 		ap = host_set->ports[i];
drivers/scsi/sata_nv.c +249 -67

448 lines not on this page · raw message