pata_platform.h 733 B

123456789101112131415161718192021222324252627
  1. #ifndef __LINUX_PATA_PLATFORM_H
  2. #define __LINUX_PATA_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. * Indicate platform specific irq types and initial
  12. * IRQ flags when call request_irq()
  13. */
  14. unsigned int irq_flags;
  15. };
  16. extern int __devinit __pata_platform_probe(struct device *dev,
  17. struct resource *io_res,
  18. struct resource *ctl_res,
  19. struct resource *irq_res,
  20. unsigned int ioport_shift,
  21. int __pio_mask);
  22. extern int __devexit __pata_platform_remove(struct device *dev);
  23. #endif /* __LINUX_PATA_PLATFORM_H */