Blame view

include/linux/ata_platform.h 910 Bytes
f351b2d63   Saeed Bishara   sata_mv: Support ...
1
2
  #ifndef __LINUX_ATA_PLATFORM_H
  #define __LINUX_ATA_PLATFORM_H
a20c9e820   Paul Mundt   [PATCH] ata: Gene...
3
4
5
6
7
8
9
10
  
  struct pata_platform_info {
  	/*
  	 * I/O port shift, for platforms with ports that are
  	 * constantly spaced and need larger than the 1-byte
  	 * spacing used by ata_std_ports().
  	 */
  	unsigned int ioport_shift;
5f45bc509   Sonic Zhang   Add irq_flags to ...
11
12
13
14
15
  	/* 
  	 * Indicate platform specific irq types and initial
  	 * IRQ flags when call request_irq()
  	 */
  	unsigned int irq_flags;
a20c9e820   Paul Mundt   [PATCH] ata: Gene...
16
  };
cf03613e9   Anton Vorontsov   libata: pata_plat...
17
18
19
20
21
22
23
24
  extern int __devinit __pata_platform_probe(struct device *dev,
  					   struct resource *io_res,
  					   struct resource *ctl_res,
  					   struct resource *irq_res,
  					   unsigned int ioport_shift,
  					   int __pio_mask);
  
  extern int __devexit __pata_platform_remove(struct device *dev);
f351b2d63   Saeed Bishara   sata_mv: Support ...
25
26
27
  /*
   * Marvell SATA private data
   */
15a32632d   Lennert Buytenhek   sata_mv: mbus dec...
28
  struct mbus_dram_target_info;
f351b2d63   Saeed Bishara   sata_mv: Support ...
29
  struct mv_sata_platform_data {
15a32632d   Lennert Buytenhek   sata_mv: mbus dec...
30
  	struct mbus_dram_target_info	*dram;
f351b2d63   Saeed Bishara   sata_mv: Support ...
31
32
33
34
  	int	n_ports; /* number of sata ports */
  };
  
  #endif /* __LINUX_ATA_PLATFORM_H */