diff options
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index dcd17e7458ab..ad5996183ec2 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
| 30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
| 31 | #include <linux/pci.h> | 31 | #include <linux/pci.h> |
| 32 | #include <linux/dma-mapping.h> | ||
| 32 | #include <asm/io.h> | 33 | #include <asm/io.h> |
| 33 | #include <linux/ata.h> | 34 | #include <linux/ata.h> |
| 34 | #include <linux/workqueue.h> | 35 | #include <linux/workqueue.h> |
| @@ -214,7 +215,7 @@ struct ata_probe_ent { | |||
| 214 | struct list_head node; | 215 | struct list_head node; |
| 215 | struct device *dev; | 216 | struct device *dev; |
| 216 | const struct ata_port_operations *port_ops; | 217 | const struct ata_port_operations *port_ops; |
| 217 | Scsi_Host_Template *sht; | 218 | struct scsi_host_template *sht; |
| 218 | struct ata_ioports port[ATA_MAX_PORTS]; | 219 | struct ata_ioports port[ATA_MAX_PORTS]; |
| 219 | unsigned int n_ports; | 220 | unsigned int n_ports; |
| 220 | unsigned int hard_port_no; | 221 | unsigned int hard_port_no; |
| @@ -398,12 +399,13 @@ struct ata_port_operations { | |||
| 398 | }; | 399 | }; |
| 399 | 400 | ||
| 400 | struct ata_port_info { | 401 | struct ata_port_info { |
| 401 | Scsi_Host_Template *sht; | 402 | struct scsi_host_template *sht; |
| 402 | unsigned long host_flags; | 403 | unsigned long host_flags; |
| 403 | unsigned long pio_mask; | 404 | unsigned long pio_mask; |
| 404 | unsigned long mwdma_mask; | 405 | unsigned long mwdma_mask; |
| 405 | unsigned long udma_mask; | 406 | unsigned long udma_mask; |
| 406 | const struct ata_port_operations *port_ops; | 407 | const struct ata_port_operations *port_ops; |
| 408 | void *private_data; | ||
| 407 | }; | 409 | }; |
| 408 | 410 | ||
| 409 | struct ata_timing { | 411 | struct ata_timing { |
| @@ -433,7 +435,7 @@ extern void ata_pci_remove_one (struct pci_dev *pdev); | |||
| 433 | #endif /* CONFIG_PCI */ | 435 | #endif /* CONFIG_PCI */ |
| 434 | extern int ata_device_add(const struct ata_probe_ent *ent); | 436 | extern int ata_device_add(const struct ata_probe_ent *ent); |
| 435 | extern void ata_host_set_remove(struct ata_host_set *host_set); | 437 | extern void ata_host_set_remove(struct ata_host_set *host_set); |
| 436 | extern int ata_scsi_detect(Scsi_Host_Template *sht); | 438 | extern int ata_scsi_detect(struct scsi_host_template *sht); |
| 437 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); | 439 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); |
| 438 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); | 440 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); |
| 439 | extern int ata_scsi_error(struct Scsi_Host *host); | 441 | extern int ata_scsi_error(struct Scsi_Host *host); |
