| * linux/include/asm-i386/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) |
| static __inline__ unsigned long ide_default_io_base(int index) |
| * If PCI is present then it is not safe to poke around |
| * the other legacy IDE ports. Only 0x1f0 and 0x170 are |
| * defined compatibility mode ports for PCI. A user can |
| * override this using ide= but we must default safe. |
| #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 */ |