patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-ppc / ide.h
index 1393d51..6c09158 100644 (file)
@@ -43,6 +43,8 @@ extern struct ide_machdep_calls ppc_ide_md;
 #undef SUPPORT_SLOW_DATA_PORTS
 #define        SUPPORT_SLOW_DATA_PORTS 0
 
+#define IDE_ARCH_OBSOLETE_DEFAULTS
+
 static __inline__ int ide_default_irq(unsigned long base)
 {
        if (ppc_ide_md.default_irq)
@@ -57,6 +59,9 @@ static __inline__ unsigned long ide_default_io_base(int index)
        return 0;
 }
 
+#define IDE_ARCH_OBSOLETE_INIT
+#define ide_default_io_ctl(base)       ((base) + 0x206) /* obsolete */
+
 #ifdef CONFIG_PCI
 #define ide_init_default_irq(base)     (0)
 #else