X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fide.h;h=7758b3ec3a47e3afdf5a26fb196214631c46b768;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=4aa1568d2fc3200daaff00379d63d2dca9dbafb9;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-sh/ide.h b/include/asm-sh/ide.h index 4aa1568d2..7758b3ec3 100644 --- a/include/asm-sh/ide.h +++ b/include/asm-sh/ide.h @@ -22,6 +22,8 @@ #define MAX_HWIFS 2 #endif +#define IDE_ARCH_OBSOLETE_DEFAULTS + static inline int ide_default_irq_hp600(unsigned long base) { switch (base) { @@ -72,6 +74,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_PCI #define ide_init_default_irq(base) (0) #else