- use my standart copyrigth notice
- After reselect, don't clear ack after the IDENTIFY message, this breaks when the reselecting target has different sync parameters than the previous one.
This commit is contained in:
parent
8a71a7a50f
commit
06d4aa45eb
|
@ -1,4 +1,4 @@
|
|||
; $NetBSD: siop.ss,v 1.4 2000/05/04 15:42:42 bouyer Exp $
|
||||
; $NetBSD: siop.ss,v 1.5 2000/05/15 07:43:45 bouyer Exp $
|
||||
|
||||
;
|
||||
; Copyright (c) 2000 Manuel Bouyer.
|
||||
|
@ -17,17 +17,16 @@
|
|||
; 4. The name of the author may not be used to endorse or promote products
|
||||
; derived from this software without specific prior written permission.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
; AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
||||
; OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
; POSSIBILITY OF SUCH DAMAGE.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
; OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
; IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
; NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
ARCH 720
|
||||
|
||||
|
@ -36,7 +35,7 @@ ABSOLUTE t_id = 24;
|
|||
ABSOLUTE t_msg_in = 32;
|
||||
ABSOLUTE t_ext_msg_in = 40;
|
||||
ABSOLUTE t_ext_msg_data = 48;
|
||||
ABSOLUTE t_ext_msg_tag = 56;
|
||||
ABSOLUTE t_msg_tag = 56;
|
||||
ABSOLUTE t_msg_out = 64;
|
||||
ABSOLUTE t_cmd = 72;
|
||||
ABSOLUTE t_status = 80;
|
||||
|
@ -94,6 +93,7 @@ selected:
|
|||
; starting a new session, init 'local variables'
|
||||
MOVE 0 to SCRATCHA0 ; flags
|
||||
MOVE 0 to SCRATCHA1 ; DSA offset (for S/G save data pointer)
|
||||
CLEAR ACK;
|
||||
waitphase:
|
||||
JUMP REL(msgout), WHEN MSG_OUT;
|
||||
JUMP REL(msgin), WHEN MSG_IN;
|
||||
|
@ -110,7 +110,6 @@ reselect:
|
|||
MOVE SFBR to SCRATCHA0 ; save reselect ID
|
||||
INT int_err, WHEN NOT MSG_IN;
|
||||
MOVE FROM t_msg_in, WHEN MSG_IN;
|
||||
CLEAR ACK;
|
||||
INT int_resel;
|
||||
|
||||
reselect_fail:
|
||||
|
|
Loading…
Reference in New Issue