]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f351b2d6 SB |
2 | #ifndef __LINUX_ATA_PLATFORM_H |
3 | #define __LINUX_ATA_PLATFORM_H | |
a20c9e82 PM |
4 | |
5 | struct pata_platform_info { | |
6 | /* | |
7 | * I/O port shift, for platforms with ports that are | |
8 | * constantly spaced and need larger than the 1-byte | |
9 | * spacing used by ata_std_ports(). | |
10 | */ | |
11 | unsigned int ioport_shift; | |
12 | }; | |
13 | ||
17263905 AM |
14 | struct scsi_host_template; |
15 | ||
e389623a GKH |
16 | extern int __pata_platform_probe(struct device *dev, |
17 | struct resource *io_res, | |
18 | struct resource *ctl_res, | |
19 | struct resource *irq_res, | |
20 | unsigned int ioport_shift, | |
17263905 AM |
21 | int __pio_mask, |
22 | struct scsi_host_template *sht); | |
cf03613e | 23 | |
f351b2d6 SB |
24 | /* |
25 | * Marvell SATA private data | |
26 | */ | |
27 | struct mv_sata_platform_data { | |
28 | int n_ports; /* number of sata ports */ | |
29 | }; | |
30 | ||
31 | #endif /* __LINUX_ATA_PLATFORM_H */ |