| * linux/include/asm-m32r/ide.h |
| * Copyright (C) 1994-1996 Linus Torvalds & authors |
| * This file contains the i386 architecture specific IDE code. |
| #include <linux/config.h> |
| # ifdef CONFIG_BLK_DEV_IDEPCI |
| #if defined(CONFIG_PLAT_M32700UT) |
| #include <asm/m32700ut/m32700ut_pld.h> |
| #define IDE_ARCH_OBSOLETE_DEFAULTS |
| static __inline__ int ide_default_irq(unsigned long base) |
| #if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_MAPPI2) || defined(CONFIG_PLAT_MAPPI3) |
| case 0x1f0: return PLD_IRQ_CFIREQ; |
| static __inline__ unsigned long ide_default_io_base(int index) |
| #define IDE_ARCH_OBSOLETE_INIT |
| #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */ |
| #ifdef CONFIG_BLK_DEV_IDEPCI |
| #define ide_init_default_irq(base) (0) |
| #define ide_init_default_irq(base) ide_default_irq(base) |
| #include <asm-generic/ide_iops.h> |
| #endif /* _ASM_M32R_IDE_H */ |