summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/aic7xxx_reg.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-11-11 05:16:41 +0000
committergibbs <gibbs@FreeBSD.org>1996-11-11 05:16:41 +0000
commit73aa471bccd6d07b3ba7ede3285861195fde9928 (patch)
treec311939b5b9c317aa98dc9edd83007c85bd4ad1c /sys/dev/aic7xxx/aic7xxx_reg.h
parent51fa6f0e6c383037d81db2731606bf56378e1128 (diff)
downloadFreeBSD-src-73aa471bccd6d07b3ba7ede3285861195fde9928.zip
FreeBSD-src-73aa471bccd6d07b3ba7ede3285861195fde9928.tar.gz
Fix two problems with SCB Paging.
1) get_free_or_disc_scb was not being passed its argument correctly in one case 2) Add protection in the form of the QOUTQCNT variable to prevent overflowing the QOUTFIFO. This should make SCB Paging work. Really, I mean it now. 8-)
Diffstat (limited to 'sys/dev/aic7xxx/aic7xxx_reg.h')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_reg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_reg.h b/sys/dev/aic7xxx/aic7xxx_reg.h
index cd91c9e..bb03989 100644
--- a/sys/dev/aic7xxx/aic7xxx_reg.h
+++ b/sys/dev/aic7xxx/aic7xxx_reg.h
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx_reg.h,v 1.14 1996/10/25 06:34:59 gibbs Exp $
+ * $Id: aic7xxx_reg.h,v 1.15 1996/10/28 06:01:08 gibbs Exp $
*/
/*
@@ -653,7 +653,11 @@
* we can see what is getting thrown away.
*/
#define REJBYTE 0x030
-#define TARGID_MASK 0x031
+/*
+ * Since the sequencer cannot read QOUTCNT, we use this memory location
+ * to make sure that we don't overflow the QOUTFIFO when doing SCB Paging.
+ */
+#define QOUTQCNT 0x031
/*
* Bit vector of targets that have disconnection disabled.
OpenPOWER on IntegriCloud