Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/microcode/siop Bump the number of slots in the comma...



details:   https://anonhg.NetBSD.org/src/rev/d09ee5f64a0e
branches:  trunk
changeset: 526047:d09ee5f64a0e
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Apr 24 08:00:08 2002 +0000

description:
Bump the number of slots in the command ring to 256.

diffstat:

 sys/dev/microcode/siop/esiop.ss |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 2767e05a039c -r d09ee5f64a0e sys/dev/microcode/siop/esiop.ss
--- a/sys/dev/microcode/siop/esiop.ss   Wed Apr 24 01:48:04 2002 +0000
+++ b/sys/dev/microcode/siop/esiop.ss   Wed Apr 24 08:00:08 2002 +0000
@@ -1,4 +1,4 @@
-;      $NetBSD: esiop.ss,v 1.7 2002/04/23 20:41:16 bouyer Exp $
+;      $NetBSD: esiop.ss,v 1.8 2002/04/24 08:00:08 bouyer Exp $
 
 ;
 ; Copyright (c) 2002 Manuel Bouyer.
@@ -74,7 +74,8 @@
 
 ; scratchD: current DSA in start cmd ring
 ; scratchE0: index in start cmd ring
-ABSOLUTE ncmd_slots    = 64 ; number of slots in CMD ring
+ABSOLUTE ncmd_slots    = 256 ; number of slots in CMD ring
+ABSOLUTE ncmd_slots_last = 0 ; == ncmd_slots in a 8bit counter
 ; flags in a cmd slot
 ABSOLUTE f_cmd_free    = 0x01 ; this slot is free
 ABSOLUTE f_cmd_ignore  = 0x02 ; this slot is not free but don't start it
@@ -210,7 +211,7 @@
        MOVE SCRATCHD2 + 0 to SCRATCHD2 WITH CARRY;
        MOVE SCRATCHD3 + 0 to SCRATCHD3 WITH CARRY;
        MOVE SCRATCHE0 TO SFBR;
-       JUMP REL(handle_cmd), IF  NOT ncmd_slots;
+       JUMP REL(handle_cmd), IF  NOT ncmd_slots_last;
 ; reset pointers to beggining of area
 cmdr0:
        MOVE 0xff to SCRATCHD0; correct value will be patched by driver



Home | Main Index | Thread Index | Old Index