| 
									
										
										
										
											2010-03-04 20:06:06 +03:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * AHCI SATA platform driver | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright 2004-2005  Red Hat, Inc. | 
					
						
							|  |  |  |  *   Jeff Garzik <jgarzik@pobox.com> | 
					
						
							|  |  |  |  * Copyright 2010  MontaVista Software, LLC. | 
					
						
							|  |  |  |  *   Anton Vorontsov <avorontsov@ru.mvista.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License as published by | 
					
						
							|  |  |  |  * the Free Software Foundation; either version 2, or (at your option) | 
					
						
							|  |  |  |  * any later version. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef _AHCI_PLATFORM_H
 | 
					
						
							|  |  |  | #define _AHCI_PLATFORM_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-06-25 18:21:19 +09:00
										 |  |  | #include <linux/compiler.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-03-04 20:06:06 +03:00
										 |  |  | struct device; | 
					
						
							|  |  |  | struct ata_port_info; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct ahci_platform_data { | 
					
						
							| 
									
										
										
										
											2010-06-25 18:21:19 +09:00
										 |  |  | 	int (*init)(struct device *dev, void __iomem *addr); | 
					
						
							| 
									
										
										
										
											2010-03-04 20:06:06 +03:00
										 |  |  | 	void (*exit)(struct device *dev); | 
					
						
							| 
									
										
										
										
											2011-11-18 11:10:10 -08:00
										 |  |  | 	int (*suspend)(struct device *dev); | 
					
						
							|  |  |  | 	int (*resume)(struct device *dev); | 
					
						
							| 
									
										
										
										
											2010-03-04 20:06:06 +03:00
										 |  |  | 	const struct ata_port_info *ata_port_info; | 
					
						
							|  |  |  | 	unsigned int force_port_map; | 
					
						
							|  |  |  | 	unsigned int mask_port_map; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* _AHCI_PLATFORM_H */
 |