Merge branch 'for-3.11' of git://linux-nfs.org/~bfields/linux
[linux-2.6.git] / include / linux / ata_platform.h
blobb9fde17f767cf654479759b66e22ec9828206ed3
1 #ifndef __LINUX_ATA_PLATFORM_H
2 #define __LINUX_ATA_PLATFORM_H
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()
15 unsigned int irq_flags;
18 extern int __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);
26 * Marvell SATA private data
28 struct mv_sata_platform_data {
29 int n_ports; /* number of sata ports */
32 #endif /* __LINUX_ATA_PLATFORM_H */