diff options
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 5d32c157de60..7c14a52079d5 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -368,34 +368,6 @@ struct ata_ioports { | |||
| 368 | void __iomem *scr_addr; | 368 | void __iomem *scr_addr; |
| 369 | }; | 369 | }; |
| 370 | 370 | ||
| 371 | struct ata_probe_ent { | ||
| 372 | struct list_head node; | ||
| 373 | struct device *dev; | ||
| 374 | const struct ata_port_operations *port_ops; | ||
| 375 | struct scsi_host_template *sht; | ||
| 376 | struct ata_ioports port[ATA_MAX_PORTS]; | ||
| 377 | unsigned int n_ports; | ||
| 378 | unsigned int dummy_port_mask; | ||
| 379 | unsigned int pio_mask; | ||
| 380 | unsigned int mwdma_mask; | ||
| 381 | unsigned int udma_mask; | ||
| 382 | unsigned long irq; | ||
| 383 | unsigned long irq2; | ||
| 384 | unsigned int irq_flags; | ||
| 385 | unsigned long port_flags; | ||
| 386 | unsigned long _host_flags; | ||
| 387 | void __iomem * const *iomap; | ||
| 388 | void *private_data; | ||
| 389 | |||
| 390 | /* port_info for the secondary port. Together with irq2, it's | ||
| 391 | * used to implement non-uniform secondary port. Currently, | ||
| 392 | * the only user is ata_piix combined mode. This workaround | ||
| 393 | * will be removed together with ata_probe_ent when init model | ||
| 394 | * is updated. | ||
| 395 | */ | ||
| 396 | const struct ata_port_info *pinfo2; | ||
| 397 | }; | ||
| 398 | |||
| 399 | struct ata_host { | 371 | struct ata_host { |
| 400 | spinlock_t lock; | 372 | spinlock_t lock; |
| 401 | struct device *dev; | 373 | struct device *dev; |
| @@ -744,7 +716,6 @@ extern int ata_host_register(struct ata_host *host, | |||
| 744 | extern int ata_host_activate(struct ata_host *host, int irq, | 716 | extern int ata_host_activate(struct ata_host *host, int irq, |
| 745 | irq_handler_t irq_handler, unsigned long irq_flags, | 717 | irq_handler_t irq_handler, unsigned long irq_flags, |
| 746 | struct scsi_host_template *sht); | 718 | struct scsi_host_template *sht); |
| 747 | extern int ata_device_add(const struct ata_probe_ent *ent); | ||
| 748 | extern void ata_host_detach(struct ata_host *host); | 719 | extern void ata_host_detach(struct ata_host *host); |
| 749 | extern void ata_host_init(struct ata_host *, struct device *, | 720 | extern void ata_host_init(struct ata_host *, struct device *, |
| 750 | unsigned long, const struct ata_port_operations *); | 721 | unsigned long, const struct ata_port_operations *); |
| @@ -892,8 +863,6 @@ struct pci_bits { | |||
| 892 | unsigned long val; | 863 | unsigned long val; |
| 893 | }; | 864 | }; |
| 894 | 865 | ||
| 895 | extern struct ata_probe_ent * | ||
| 896 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); | ||
| 897 | extern int ata_pci_init_native_host(struct ata_host *host, | 866 | extern int ata_pci_init_native_host(struct ata_host *host, |
| 898 | unsigned int port_mask); | 867 | unsigned int port_mask); |
| 899 | extern int ata_pci_prepare_native_host(struct pci_dev *pdev, | 868 | extern int ata_pci_prepare_native_host(struct pci_dev *pdev, |
