diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:16:47 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:16:47 -0600 |
commit | b2fab2265baae79824c894a84e22065dd986b16a (patch) | |
tree | 85a6602df141352d30bb99d3379a53473ba87413 /include | |
parent | ea3c9c4ad3b661f410de842ea6847c545c7f2bf8 (diff) |
This patch adds ATA/IDE driver to the linux 2.6.22 kernel
for MX platforms.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-drivers_ide.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/ide.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/ide.h b/include/asm-arm/ide.h index 4f68c8a5a199..68d27b5c1a8d 100644 --- a/include/asm-arm/ide.h +++ b/include/asm-arm/ide.h @@ -31,6 +31,11 @@ #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len) #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len) +#ifdef CONFIG_ARCH_MXC +#define IDE_ARCH_ACK_INTR +#define ide_ack_intr(hwif) ((hwif)->hw.ack_intr ? (hwif)->hw.ack_intr(hwif) : 1) +#endif /* CONFIG_ARCH_MXC */ + #endif /* __KERNEL__ */ #endif /* __ASMARM_IDE_H */ |