| * linux/include/asm-m32r/ide.h |
| * Copyright (C) 1994-1996 Linus Torvalds & authors |
| * This file contains the i386 architecture specific IDE code. |
| # ifdef CONFIG_BLK_DEV_IDEPCI |
| #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_OPSPUT) |
| case 0x1f0: return PLD_IRQ_CFIREQ; |
| #elif defined(CONFIG_PLAT_MAPPI3) |
| case 0x1f0: return PLD_IRQ_CFIREQ; |
| case 0x170: return PLD_IRQ_IDEIREQ; |
| static __inline__ unsigned long ide_default_io_base(int index) |
| #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 */ |