| * linux/include/asm-i386/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 |
| #define IDE_ARCH_OBSOLETE_DEFAULTS |
| static __inline__ int ide_default_irq(unsigned long base) |
| 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 /* __ASMi386_IDE_H */ |