Merge remote-tracking branches 'asoc/fix/fsl-ssi', 'asoc/fix/intel', 'asoc/fix/intel...
[linux-2.6-block.git] / include / linux / ata_platform.h
CommitLineData
f351b2d6
SB
1#ifndef __LINUX_ATA_PLATFORM_H
2#define __LINUX_ATA_PLATFORM_H
a20c9e82
PM
3
4struct 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
17263905
AM
13struct scsi_host_template;
14
e389623a
GKH
15extern int __pata_platform_probe(struct device *dev,
16 struct resource *io_res,
17 struct resource *ctl_res,
18 struct resource *irq_res,
19 unsigned int ioport_shift,
17263905
AM
20 int __pio_mask,
21 struct scsi_host_template *sht);
cf03613e 22
f351b2d6
SB
23/*
24 * Marvell SATA private data
25 */
26struct mv_sata_platform_data {
27 int n_ports; /* number of sata ports */
28};
29
30#endif /* __LINUX_ATA_PLATFORM_H */