···3322 dma_free_coherent(dev, ATA_PRD_TBL_SZ, ap->prd, ap->prd_dma);3323}332400000003325/**3326 * ata_host_remove - Unregister SCSI host structure with upper layers3327 * @ap: Port to unregister···3885 }38863887 free_irq(host_set->irq, host_set);3888- if (host_set->ops->host_stop)3889- host_set->ops->host_stop(host_set);3890- if (host_set->mmio_base)3891- iounmap(host_set->mmio_base);38923893 for (i = 0; i < host_set->n_ports; i++) {3894 ap = host_set->ports[i];···39023903 scsi_host_put(ap->host);3904 }00039053906 kfree(host_set);3907···4003EXPORT_SYMBOL_GPL(ata_exec_command);4004EXPORT_SYMBOL_GPL(ata_port_start);4005EXPORT_SYMBOL_GPL(ata_port_stop);04006EXPORT_SYMBOL_GPL(ata_interrupt);4007EXPORT_SYMBOL_GPL(ata_qc_prep);4008EXPORT_SYMBOL_GPL(ata_bmdma_setup);
···3322 dma_free_coherent(dev, ATA_PRD_TBL_SZ, ap->prd, ap->prd_dma);3323}33243325+void ata_host_stop (struct ata_host_set *host_set)3326+{3327+ if (host_set->mmio_base)3328+ iounmap(host_set->mmio_base);3329+}3330+3331+3332/**3333 * ata_host_remove - Unregister SCSI host structure with upper layers3334 * @ap: Port to unregister···3878 }38793880 free_irq(host_set->irq, host_set);000038813882 for (i = 0; i < host_set->n_ports; i++) {3883 ap = host_set->ports[i];···38993900 scsi_host_put(ap->host);3901 }3902+3903+ if (host_set->ops->host_stop)3904+ host_set->ops->host_stop(host_set);39053906 kfree(host_set);3907···3997EXPORT_SYMBOL_GPL(ata_exec_command);3998EXPORT_SYMBOL_GPL(ata_port_start);3999EXPORT_SYMBOL_GPL(ata_port_stop);4000+EXPORT_SYMBOL_GPL(ata_host_stop);4001EXPORT_SYMBOL_GPL(ata_interrupt);4002EXPORT_SYMBOL_GPL(ata_qc_prep);4003EXPORT_SYMBOL_GPL(ata_bmdma_setup);
+1-1
drivers/scsi/libata.h
···26#define __LIBATA_H__2728#define DRV_NAME "libata"29-#define DRV_VERSION "1.10" /* must be exactly four chars */3031struct ata_scsi_args {32 u16 *id;
···26#define __LIBATA_H__2728#define DRV_NAME "libata"29+#define DRV_VERSION "1.11" /* must be exactly four chars */3031struct ata_scsi_args {32 u16 *id;