patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-mips / mach-generic / ide.h
index a4618ca..fa2760a 100644 (file)
@@ -20,6 +20,8 @@
 # endif
 #endif
 
+#define IDE_ARCH_OBSOLETE_DEFAULTS
+
 static inline int ide_default_irq(unsigned long base)
 {
        switch (base) {
@@ -48,6 +50,9 @@ 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)
 #else