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

Next file: linux/include/asm-ia64/irq.h
Previous file: linux/include/asm-ia64/hw_irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/include/asm-ia64/ide.h linux/include/asm-ia64/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)