patch-1.3.48 linux/drivers/scsi/g_NCR5380.h

Next file: linux/drivers/scsi/pas16.c
Previous file: linux/drivers/scsi/g_NCR5380.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.47/linux/drivers/scsi/g_NCR5380.h linux/drivers/scsi/g_NCR5380.h
@@ -51,8 +51,7 @@
 #define CAN_QUEUE 16
 #endif
 
-#ifdef HOSTS_C
-
+#if defined(HOSTS_C) || defined(MODULE)
 
 #define GENERIC_NCR5380 {NULL, NULL, NULL, NULL, \
 	"Trantor T128/T128F/T228", 		\
@@ -62,7 +61,10 @@
 	NULL, /* can queue */ CAN_QUEUE, /* id */ 7, SG_ALL,		\
 	/* cmd per lun */ CMD_PER_LUN , 0, 0, DISABLE_CLUSTERING}
 
-#else
+#endif
+
+#ifndef HOSTS_C
+
 #define NCR5380_implementation_fields \
     int port
 

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