ata_platform.h 690 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __LINUX_ATA_PLATFORM_H
  2. #define __LINUX_ATA_PLATFORM_H
  3. struct pata_platform_info {
  4. /*
  5. * I/O port shift, for platforms with ports that are
  6. * constantly spaced and need larger than the 1-byte
  7. * spacing used by ata_std_ports().
  8. */
  9. unsigned int ioport_shift;
  10. };
  11. struct scsi_host_template;
  12. extern int __pata_platform_probe(struct device *dev,
  13. struct resource *io_res,
  14. struct resource *ctl_res,
  15. struct resource *irq_res,
  16. unsigned int ioport_shift,
  17. int __pio_mask,
  18. struct scsi_host_template *sht);
  19. /*
  20. * Marvell SATA private data
  21. */
  22. struct mv_sata_platform_data {
  23. int n_ports; /* number of sata ports */
  24. };
  25. #endif /* __LINUX_ATA_PLATFORM_H */