| 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; | 
| Sonic Zhang | 5f45bc5 | 2007-06-15 17:45:49 +0800 | [diff] [blame] | 11 | 	/*  | 
 | 12 | 	 * Indicate platform specific irq types and initial | 
 | 13 | 	 * IRQ flags when call request_irq() | 
 | 14 | 	 */ | 
 | 15 | 	unsigned int irq_flags; | 
| Paul Mundt | a20c9e8 | 2006-10-27 19:08:48 -0700 | [diff] [blame] | 16 | }; | 
 | 17 |  | 
| Anton Vorontsov | cf03613 | 2008-01-09 22:10:22 +0300 | [diff] [blame] | 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 |  | 
| Saeed Bishara | f351b2d | 2008-02-01 18:08:03 -0500 | [diff] [blame] | 25 | /* | 
 | 26 |  * Marvell SATA private data | 
 | 27 |  */ | 
 | 28 | struct mv_sata_platform_data { | 
 | 29 | 	int	n_ports; /* number of sata ports */ | 
 | 30 | }; | 
 | 31 |  | 
 | 32 | #endif /* __LINUX_ATA_PLATFORM_H */ |