]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m32r/ide.h
via-velocity: add velocity_set_rxbufsize helper
[linux-2.6-omap-h63xx.git] / include / asm-m32r / ide.h
index c82ebe8f250d6fadc84b913a1a48fc9af13bceab..1e7f6474d1307578cfa8bb59a80f896a5d06abe8 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef _ASM_M32R_IDE_H
 #define _ASM_M32R_IDE_H
 
-/* $Id$ */
-
 /*
  *  linux/include/asm-m32r/ide.h
  *
@@ -15,6 +13,7 @@
 
 #ifdef __KERNEL__
 
+#include <asm/m32r.h>
 
 #ifndef MAX_HWIFS
 # ifdef CONFIG_BLK_DEV_IDEPCI
 # endif
 #endif
 
-#include <asm/m32r.h>
-
-
-#define IDE_ARCH_OBSOLETE_DEFAULTS
-
 static __inline__ int ide_default_irq(unsigned long base)
 {
        switch (base) {
@@ -69,15 +63,6 @@ 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
-#define ide_init_default_irq(base)     ide_default_irq(base)
-#endif
-
 #include <asm-generic/ide_iops.h>
 
 #endif /* __KERNEL__ */