aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1994-11-29 23:06:54 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1994-11-29 23:06:54 +0000
commitc21818c866f3be5f821b4786501e0170fece4483 (patch)
tree14152c5f75790665218597a5d3999a83c46b8e15 /sys
parentcb0d548bf427e2b05aac7012d537b1ceb15095c3 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/eisa/aic7770.c9
-rw-r--r--sys/i386/isa/aic7770.c9
-rw-r--r--sys/i386/scsi/aic7xxx.c9
3 files changed, 18 insertions, 9 deletions
diff --git a/sys/i386/eisa/aic7770.c b/sys/i386/eisa/aic7770.c
index 9eb29637dec7f..83ce3cd575cee 100644
--- a/sys/i386/eisa/aic7770.c
+++ b/sys/i386/eisa/aic7770.c
@@ -18,7 +18,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aic7770.c,v 1.5 1994/11/18 20:34:30 gibbs Exp $
+ * $Id: aic7770.c,v 1.6 1994/11/25 22:25:15 ats Exp $
*/
/*
* TODO:
@@ -1326,11 +1326,14 @@ ahc_init(unit)
printf("SCSI Id=%d\n", ahc->our_id);
/*
- * Load the Sequencer program and Enable the adapter
+ * Load the Sequencer program and Enable the adapter.
+ * Place the aic7770 in fastmode which makes a big
+ * difference when doing many small block transfers.
*/
printf("ahc%d: Downloading Sequencer Program\n", unit);
ahc_loadseq(port);
+ outb(SEQCTL + port, FASTMODE);
outb(BCTL + port, ENABLE);
/* Reset the SCSI bus. Is this necessary? */
@@ -1640,7 +1643,7 @@ void ahc_loadseq(port)
int port;
{
static unsigned char seqprog[] = {
-# include "../../sys/gnu/misc/aic7770/aic7770_seq.h"
+# include <gnu/misc/aic7770/aic7770_seq.h>
};
outb(SEQCTL + port, PERRORDIS|SEQRESET|LOADRAM);
diff --git a/sys/i386/isa/aic7770.c b/sys/i386/isa/aic7770.c
index 9eb29637dec7f..83ce3cd575cee 100644
--- a/sys/i386/isa/aic7770.c
+++ b/sys/i386/isa/aic7770.c
@@ -18,7 +18,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aic7770.c,v 1.5 1994/11/18 20:34:30 gibbs Exp $
+ * $Id: aic7770.c,v 1.6 1994/11/25 22:25:15 ats Exp $
*/
/*
* TODO:
@@ -1326,11 +1326,14 @@ ahc_init(unit)
printf("SCSI Id=%d\n", ahc->our_id);
/*
- * Load the Sequencer program and Enable the adapter
+ * Load the Sequencer program and Enable the adapter.
+ * Place the aic7770 in fastmode which makes a big
+ * difference when doing many small block transfers.
*/
printf("ahc%d: Downloading Sequencer Program\n", unit);
ahc_loadseq(port);
+ outb(SEQCTL + port, FASTMODE);
outb(BCTL + port, ENABLE);
/* Reset the SCSI bus. Is this necessary? */
@@ -1640,7 +1643,7 @@ void ahc_loadseq(port)
int port;
{
static unsigned char seqprog[] = {
-# include "../../sys/gnu/misc/aic7770/aic7770_seq.h"
+# include <gnu/misc/aic7770/aic7770_seq.h>
};
outb(SEQCTL + port, PERRORDIS|SEQRESET|LOADRAM);
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c
index 9eb29637dec7f..83ce3cd575cee 100644
--- a/sys/i386/scsi/aic7xxx.c
+++ b/sys/i386/scsi/aic7xxx.c
@@ -18,7 +18,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aic7770.c,v 1.5 1994/11/18 20:34:30 gibbs Exp $
+ * $Id: aic7770.c,v 1.6 1994/11/25 22:25:15 ats Exp $
*/
/*
* TODO:
@@ -1326,11 +1326,14 @@ ahc_init(unit)
printf("SCSI Id=%d\n", ahc->our_id);
/*
- * Load the Sequencer program and Enable the adapter
+ * Load the Sequencer program and Enable the adapter.
+ * Place the aic7770 in fastmode which makes a big
+ * difference when doing many small block transfers.
*/
printf("ahc%d: Downloading Sequencer Program\n", unit);
ahc_loadseq(port);
+ outb(SEQCTL + port, FASTMODE);
outb(BCTL + port, ENABLE);
/* Reset the SCSI bus. Is this necessary? */
@@ -1640,7 +1643,7 @@ void ahc_loadseq(port)
int port;
{
static unsigned char seqprog[] = {
-# include "../../sys/gnu/misc/aic7770/aic7770_seq.h"
+# include <gnu/misc/aic7770/aic7770_seq.h>
};
outb(SEQCTL + port, PERRORDIS|SEQRESET|LOADRAM);