patch-1.3.70 linux/drivers/block/ide.h
Next file: linux/drivers/block/ide_modes.h
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Fri Mar  1 10:38:34 1996
 -  Orig file: 
v1.3.69/linux/drivers/block/ide.h
 -  Orig date: 
Wed Feb 14 14:37:08 1996
 
diff -u --recursive --new-file v1.3.69/linux/drivers/block/ide.h linux/drivers/block/ide.h
@@ -126,7 +126,9 @@
 #define PARTN_BITS	6	/* number of minor dev bits for partitions */
 #define PARTN_MASK	((1<<PARTN_BITS)-1)	/* a useful bit mask */
 #define MAX_DRIVES	2	/* per interface; 2 assumed by lots of code */
+#ifndef MAX_HWIFS
 #define MAX_HWIFS	4	/* an arbitrary, but realistic limit */
+#endif
 #define SECTOR_WORDS	(512 / 4)	/* number of 32bit words per sector */
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this