summaryrefslogtreecommitdiff
path: root/i386/i386at/gpl/linux/scsi
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-03-24 21:53:03 +0000
committerThomas Bushnell <thomas@gnu.org>1997-03-24 21:53:03 +0000
commit30b32d2ccbf95436b642e6208d6829dcf68981fa (patch)
tree481af37a46b22473db7cadf280a6b5466136d726 /i386/i386at/gpl/linux/scsi
parent455c9e455d124e3359d8f9e16ffe111178589e6f (diff)
prerelease work
Diffstat (limited to 'i386/i386at/gpl/linux/scsi')
-rw-r--r--i386/i386at/gpl/linux/scsi/aha1740.c7
-rw-r--r--i386/i386at/gpl/linux/scsi/hosts.c8
-rw-r--r--i386/i386at/gpl/linux/scsi/scsi.c4
3 files changed, 14 insertions, 5 deletions
diff --git a/i386/i386at/gpl/linux/scsi/aha1740.c b/i386/i386at/gpl/linux/scsi/aha1740.c
index e3b8f1d..250aa1b 100644
--- a/i386/i386at/gpl/linux/scsi/aha1740.c
+++ b/i386/i386at/gpl/linux/scsi/aha1740.c
@@ -1,4 +1,4 @@
-/* $Id: aha1740.c,v 1.1.1.1 1997/02/25 21:27:46 thomas Exp $
+/* $Id: aha1740.c,v 1.2 1997/03/24 21:51:17 thomas Exp $
* 1993/03/31
* linux/kernel/aha1740.c
*
@@ -56,7 +56,7 @@ struct proc_dir_entry proc_scsi_aha1740 = {
#endif
/*
-static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/aha1740.c,v 1.1.1.1 1997/02/25 21:27:46 thomas Exp $";
+static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/aha1740.c,v 1.2 1997/03/24 21:51:17 thomas Exp $";
*/
static unsigned int slot, base;
@@ -166,6 +166,9 @@ int aha1740_test_port(void)
return 0;
}
+ /* Try and turn on enhanced mode */
+ tmp = inb (PORTADR);
+ outb (PORTADR, tmp | PORTADDR_ENH);
if ( inb(PORTADR) & PORTADDR_ENH )
return 1; /* Okay, we're all set */
diff --git a/i386/i386at/gpl/linux/scsi/hosts.c b/i386/i386at/gpl/linux/scsi/hosts.c
index cb0163b..72ae0cb 100644
--- a/i386/i386at/gpl/linux/scsi/hosts.c
+++ b/i386/i386at/gpl/linux/scsi/hosts.c
@@ -134,7 +134,7 @@
#endif
/*
-static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/hosts.c,v 1.1.1.1 1997/02/25 21:27:49 thomas Exp $";
+static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/hosts.c,v 1.2 1997/03/24 21:51:24 thomas Exp $";
*/
/*
@@ -387,12 +387,16 @@ unsigned int scsi_init()
name = shpnt->hostt->info(shpnt);
else
name = shpnt->hostt->name;
+#if 0
printk ("scsi%d : %s\n", /* And print a little message */
shpnt->host_no, name);
+#endif
}
-
+
+#if 0
printk ("scsi : %d host%s.\n", next_scsi_host,
(next_scsi_host == 1) ? "" : "s");
+#endif
scsi_make_blocked_list();
diff --git a/i386/i386at/gpl/linux/scsi/scsi.c b/i386/i386at/gpl/linux/scsi/scsi.c
index 85d234e..7b29168 100644
--- a/i386/i386at/gpl/linux/scsi/scsi.c
+++ b/i386/i386at/gpl/linux/scsi/scsi.c
@@ -49,7 +49,7 @@
#undef USE_STATIC_SCSI_MEMORY
/*
-static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/scsi.c,v 1.1.1.1 1997/02/25 21:27:50 thomas Exp $";
+static const char RCSid[] = "$Header: cvs/gnumach/i386/i386at/gpl/linux/scsi/Attic/scsi.c,v 1.2 1997/03/24 21:51:33 thomas Exp $";
*/
@@ -2352,12 +2352,14 @@ int scsi_dev_init(void)
for (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
scan_scsis(shpnt,0,0,0,0); /* scan for scsi devices */
+#if 0
printk("scsi : detected ");
for (sdtpnt = scsi_devicelist; sdtpnt; sdtpnt = sdtpnt->next)
if (sdtpnt->dev_noticed && sdtpnt->name)
printk("%d SCSI %s%s ", sdtpnt->dev_noticed, sdtpnt->name,
(sdtpnt->dev_noticed != 1) ? "s" : "");
printk("total.\n");
+#endif
for(sdtpnt = scsi_devicelist; sdtpnt; sdtpnt = sdtpnt->next)
if(sdtpnt->init && sdtpnt->dev_noticed) (*sdtpnt->init)();