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; | |
5f45bc50 SZ |
11 | /* |
12 | * Indicate platform specific irq types and initial | |
13 | * IRQ flags when call request_irq() | |
14 | */ | |
15 | unsigned int irq_flags; | |
a20c9e82 PM |
16 | }; |
17 | ||
cf03613e AV |
18 | extern int __devinit __pata_platform_probe(struct device *dev, |
19 | struct resource *io_res, | |
20 | struct resource *ctl_res, | |
21 | struct resource *irq_res, | |
22 | unsigned int ioport_shift, | |
23 | int __pio_mask); | |
24 | ||
25 | extern int __devexit __pata_platform_remove(struct device *dev); | |
26 | ||
f351b2d6 SB |
27 | /* |
28 | * Marvell SATA private data | |
29 | */ | |
15a32632 LB |
30 | struct mbus_dram_target_info; |
31 | ||
f351b2d6 | 32 | struct mv_sata_platform_data { |
15a32632 | 33 | struct mbus_dram_target_info *dram; |
f351b2d6 SB |
34 | int n_ports; /* number of sata ports */ |
35 | }; | |
36 | ||
37 | #endif /* __LINUX_ATA_PLATFORM_H */ |