ata_platform.h 625 B

123456789101112131415161718192021222324252627
  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. extern int __pata_platform_probe(struct device *dev,
  12. struct resource *io_res,
  13. struct resource *ctl_res,
  14. struct resource *irq_res,
  15. unsigned int ioport_shift,
  16. int __pio_mask);
  17. /*
  18. * Marvell SATA private data
  19. */
  20. struct mv_sata_platform_data {
  21. int n_ports; /* number of sata ports */
  22. };
  23. #endif /* __LINUX_ATA_PLATFORM_H */