mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
5f45bc5097
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>
19 lines
442 B
C
19 lines
442 B
C
#ifndef __LINUX_PATA_PLATFORM_H
|
|
#define __LINUX_PATA_PLATFORM_H
|
|
|
|
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;
|
|
/*
|
|
* Indicate platform specific irq types and initial
|
|
* IRQ flags when call request_irq()
|
|
*/
|
|
unsigned int irq_flags;
|
|
};
|
|
|
|
#endif /* __LINUX_PATA_PLATFORM_H */
|