patch-2.3.27 linux/drivers/scsi/hosts.c
Next file: linux/drivers/scsi/hosts.h
Previous file: linux/drivers/scsi/gvp11.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Nov 11 16:57:30 1999
- Orig file:
v2.3.26/linux/drivers/scsi/hosts.c
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -107,12 +107,12 @@
#include "atari_scsi.h"
#endif
-#ifdef CONFIG_MAC_SCSI_OLD
+#if defined(CONFIG_MAC_SCSI) || defined(CONFIG_MAC_SCSI_OLD)
#include "mac_scsi.h"
#endif
-#ifdef CONFIG_MAC_SCSI
-#include "mac_scsinew.h"
+#ifdef CONFIG_SUN3_SCSI
+#include "sun3_scsi.h"
#endif
#ifdef CONFIG_SCSI_MAC_ESP
@@ -445,6 +445,10 @@
#endif
#endif
+#ifdef CONFIG_SUN3_SCSI
+ SUN3_NCR5380,
+#endif
+
#ifdef CONFIG_MVME16x_SCSI
MVME16x_SCSI,
#endif
@@ -699,6 +703,8 @@
retval->loaded_as_module = scsi_loadable_module_flag;
retval->host_no = max_scsi_hosts++; /* never reuse host_no (DB) */
next_scsi_host++;
+ /* FIXME: what with overflows? Old code suffered from the same, BTW */
+ sprintf(retval->proc_name, "%d", retval->host_no);
retval->host_queue = NULL;
init_waitqueue_head(&retval->host_wait);
retval->resetting = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)