summaryrefslogtreecommitdiffstats
path: root/include/linux/pata_platform.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.adi@gmail.com>2007-06-15 17:45:49 +0800
committerJeff Garzik <jeff@garzik.org>2007-07-09 12:17:34 -0400
commit5f45bc50976ee1f408f7171af155aec646655a37 (patch)
treee3d258af49914c22172ebcb9abf12914d6635b8f /include/linux/pata_platform.h
parentd0e580316e3db9f5cf6a605cc311ffb0372f0a35 (diff)
downloadlinux-5f45bc50976ee1f408f7171af155aec646655a37.tar.gz
linux-5f45bc50976ee1f408f7171af155aec646655a37.tar.bz2
linux-5f45bc50976ee1f408f7171af155aec646655a37.zip
Add irq_flags to struct pata_platform_info
On some embedded platforms, such as blackfin, the gpio interrupt for IDE interface is designed to be triggered with high voltage. The gpio port should be configured properly by set_irq_type() when register the irq. This patch enable the generic pata platform driver to accept platform irq flags data. Signed-off-by: Sonic Zhang <sonic.adi@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/pata_platform.h')
-rw-r--r--include/linux/pata_platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pata_platform.h b/include/linux/pata_platform.h
index 2d5fd647e0e9..5799e8d50623 100644
--- a/include/linux/pata_platform.h
+++ b/include/linux/pata_platform.h
@@ -8,6 +8,11 @@ struct pata_platform_info {
* spacing used by ata_std_ports().
*/
unsigned int ioport_shift;
+ /*
+ * Indicate platform specific irq types and initial
+ * IRQ flags when call request_irq()
+ */
+ unsigned int irq_flags;
};
#endif /* __LINUX_PATA_PLATFORM_H */