patch-2.3.13 linux/include/asm-mips/ide.h
Next file: linux/include/asm-mips/system.h
Previous file: linux/include/asm-m68k/unistd.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Aug 6 11:16:54 1999
- Orig file:
v2.3.12/linux/include/asm-mips/ide.h
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.12/linux/include/asm-mips/ide.h linux/include/asm-mips/ide.h
@@ -14,6 +14,8 @@
#ifdef __KERNEL__
+#include <linux/config.h>
+
#ifndef MAX_HWIFS
#define MAX_HWIFS 6
#endif
@@ -62,7 +64,7 @@
*/
static __inline__ void ide_init_default_hwifs(void)
{
-#ifdef __DO_I_NEED_THIS
+#ifndef CONFIG_BLK_DEV_IDEPCI
hw_regs_t hw;
int index;
@@ -71,7 +73,7 @@
hw.irq = ide_default_irq(ide_default_io_base(index));
ide_register_hw(&hw, NULL);
}
-#endif /* __DO_I_NEED_THIS */
+#endif /* CONFIG_BLK_DEV_IDEPCI */
}
typedef union {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)