Saeed Bishara | f351b2d | 2008-02-01 18:08:03 -0500 | [diff] [blame] | 1 | #ifndef __LINUX_ATA_PLATFORM_H |
| 2 | #define __LINUX_ATA_PLATFORM_H |
Paul Mundt | a20c9e8 | 2006-10-27 19:08:48 -0700 | [diff] [blame] | 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; |
Paul Mundt | a20c9e8 | 2006-10-27 19:08:48 -0700 | [diff] [blame] | 11 | }; |
| 12 | |
Akinobu Mita | 1726390 | 2015-01-29 08:30:30 +0900 | [diff] [blame] | 13 | struct scsi_host_template; |
| 14 | |
Greg Kroah-Hartman | e389623 | 2012-12-21 15:15:49 -0800 | [diff] [blame] | 15 | extern 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 Mita | 1726390 | 2015-01-29 08:30:30 +0900 | [diff] [blame] | 20 | int __pio_mask, |
| 21 | struct scsi_host_template *sht); |
Anton Vorontsov | cf03613 | 2008-01-09 22:10:22 +0300 | [diff] [blame] | 22 | |
Saeed Bishara | f351b2d | 2008-02-01 18:08:03 -0500 | [diff] [blame] | 23 | /* |
| 24 | * Marvell SATA private data |
| 25 | */ |
| 26 | struct mv_sata_platform_data { |
| 27 | int n_ports; /* number of sata ports */ |
| 28 | }; |
| 29 | |
| 30 | #endif /* __LINUX_ATA_PLATFORM_H */ |