Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ahci_platform.h
Go to the documentation of this file.
1 /*
2  * AHCI SATA platform driver
3  *
4  * Copyright 2004-2005 Red Hat, Inc.
5  * Jeff Garzik <[email protected]>
6  * Copyright 2010 MontaVista Software, LLC.
7  * Anton Vorontsov <[email protected]>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2, or (at your option)
12  * any later version.
13  */
14 
15 #ifndef _AHCI_PLATFORM_H
16 #define _AHCI_PLATFORM_H
17 
18 #include <linux/compiler.h>
19 
20 struct device;
21 struct ata_port_info;
22 
24  int (*init)(struct device *dev, void __iomem *addr);
25  void (*exit)(struct device *dev);
26  int (*suspend)(struct device *dev);
27  int (*resume)(struct device *dev);
29  unsigned int force_port_map;
30  unsigned int mask_port_map;
31 };
32 
33 #endif /* _AHCI_PLATFORM_H */