patch-2.3.51 linux/include/asm-i386/ide.h

Next file: linux/include/asm-i386/system.h
Previous file: linux/fs/vfat/vfatfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/include/asm-i386/ide.h linux/include/asm-i386/ide.h
@@ -16,7 +16,11 @@
 #include <linux/config.h>
 
 #ifndef MAX_HWIFS
+# ifdef CONFIG_BLK_DEV_IDEPCI
 #define MAX_HWIFS	10
+# else
+#define MAX_HWIFS	6
+# endif
 #endif
 
 #define ide__sti()	__sti()

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)