]>
Commit | Line | Data |
---|---|---|
f351b2d6 SB |
1 | #ifndef __LINUX_ATA_PLATFORM_H |
2 | #define __LINUX_ATA_PLATFORM_H | |
a20c9e82 PM |
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; | |
11 | }; | |
12 | ||
e389623a GKH |
13 | extern int __pata_platform_probe(struct device *dev, |
14 | struct resource *io_res, | |
15 | struct resource *ctl_res, | |
16 | struct resource *irq_res, | |
17 | unsigned int ioport_shift, | |
18 | int __pio_mask); | |
cf03613e | 19 | |
f351b2d6 SB |
20 | /* |
21 | * Marvell SATA private data | |
22 | */ | |
23 | struct mv_sata_platform_data { | |
24 | int n_ports; /* number of sata ports */ | |
25 | }; | |
26 | ||
27 | #endif /* __LINUX_ATA_PLATFORM_H */ |