diff options
| author | Jeff Garzik <jeff@garzik.org> | 2008-02-01 18:02:30 -0500 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2008-02-06 06:54:17 -0500 |
| commit | 0a87e3e92b299e0f1a69b36664ecde2fc296c40a (patch) | |
| tree | f4b084912e3fc58e5bee6a815967a77efb01c310 /include/linux/ata_platform.h | |
| parent | 551e4fb2465b87de9d4aa1669b27d624435443bb (diff) | |
Rename: linux/pata_platform.h to linux/ata_platform.h
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/ata_platform.h')
| -rw-r--r-- | include/linux/ata_platform.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/ata_platform.h b/include/linux/ata_platform.h new file mode 100644 index 000000000000..6a7a92db294c --- /dev/null +++ b/include/linux/ata_platform.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | #ifndef __LINUX_PATA_PLATFORM_H | ||
| 2 | #define __LINUX_PATA_PLATFORM_H | ||
| 3 | |||
| 4 | struct pata_platform_info { | ||
| 5 | /* | ||
| 6 | * I/O port shift, for platforms with ports that are | ||
| 7 | * constantly spaced and need larger than the 1-byte | ||
| 8 | * spacing used by ata_std_ports(). | ||
| 9 | */ | ||
| 10 | unsigned int ioport_shift; | ||
| 11 | /* | ||
| 12 | * Indicate platform specific irq types and initial | ||
| 13 | * IRQ flags when call request_irq() | ||
| 14 | */ | ||
| 15 | unsigned int irq_flags; | ||
| 16 | }; | ||
| 17 | |||
| 18 | extern int __devinit __pata_platform_probe(struct device *dev, | ||
| 19 | struct resource *io_res, | ||
| 20 | struct resource *ctl_res, | ||
| 21 | struct resource *irq_res, | ||
| 22 | unsigned int ioport_shift, | ||
| 23 | int __pio_mask); | ||
| 24 | |||
| 25 | extern int __devexit __pata_platform_remove(struct device *dev); | ||
| 26 | |||
| 27 | #endif /* __LINUX_PATA_PLATFORM_H */ | ||
