blob: 619d9e78e6447db2cb4df71f6464b19f07e790f0 [file] [log] [blame]
Saeed Bisharaf351b2d2008-02-01 18:08:03 -05001#ifndef __LINUX_ATA_PLATFORM_H
2#define __LINUX_ATA_PLATFORM_H
Paul Mundta20c9e82006-10-27 19:08:48 -07003
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;
Paul Mundta20c9e82006-10-27 19:08:48 -070011};
12
Akinobu Mita17263902015-01-29 08:30:30 +090013struct scsi_host_template;
14
Greg Kroah-Hartmane3896232012-12-21 15:15:49 -080015extern 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,
Akinobu Mita17263902015-01-29 08:30:30 +090020 int __pio_mask,
21 struct scsi_host_template *sht);
Anton Vorontsovcf036132008-01-09 22:10:22 +030022
Saeed Bisharaf351b2d2008-02-01 18:08:03 -050023/*
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 */