aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-04-17 10:44:08 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:16:06 -0400
commit6bfff31e77cfa1b13490337e5a4dbaa3407e83ac (patch)
tree89f7dc5379453381aed939741fc3a7e46b0465fa /include/linux/libata.h
parent5d728824efeda61d304153bfcf1378a3c18b7d70 (diff)
libata: kill probe_ent and related helpers
All drivers are converted to new init model. Kill probe_ent, ata_device_add() and ata_pci_init_native_mode(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h31
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
371struct 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
399struct ata_host { 371struct 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,
744extern int ata_host_activate(struct ata_host *host, int irq, 716extern 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);
747extern int ata_device_add(const struct ata_probe_ent *ent);
748extern void ata_host_detach(struct ata_host *host); 719extern void ata_host_detach(struct ata_host *host);
749extern void ata_host_init(struct ata_host *, struct device *, 720extern 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
895extern struct ata_probe_ent *
896ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask);
897extern int ata_pci_init_native_host(struct ata_host *host, 866extern int ata_pci_init_native_host(struct ata_host *host,
898 unsigned int port_mask); 867 unsigned int port_mask);
899extern int ata_pci_prepare_native_host(struct pci_dev *pdev, 868extern int ata_pci_prepare_native_host(struct pci_dev *pdev,