Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 1996 16:40:22 -0700
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        George Simunovich <george@cia-g.com>
Cc:        freebsd-stable@FreeBSD.org, gmarco@masternet.it
Subject:   Re: Problem with Adaptec 2940UW. 
Message-ID:  <199605272340.QAA09115@freefall.freebsd.org>
In-Reply-To: Your message of "Mon, 27 May 1996 14:37:05 MDT." <199605272037.OAA27618@gallup.cia-g.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Ooops, forgot the patch.

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================
Index: aic7xxx.seq
===================================================================
RCS file: /usr/cvs/src/sys/dev/aic7xxx/aic7xxx.seq,v
retrieving revision 1.34
diff -c -r1.34 aic7xxx.seq
*** aic7xxx.seq	1996/05/10 16:11:01	1.34
--- aic7xxx.seq	1996/05/27 22:50:48
***************
*** 478,488 ****
   * a MESSAGE REJECT.
   */
  p_mesgout_loop:
- 	test	SSTAT1,PHASEMIS	jnz p_mesgout_phasemis
  	test	SSTAT0,SPIORDY	jz p_mesgout_loop
  	cmp	DINDEX,1	jne p_mesgout_outb	/* last byte? */
  	mvi	CLRSINT1,CLRATNO			/* drop ATN */
  p_mesgout_outb:
  	dec	DINDEX
  	or	CLRSINT0, CLRSPIORDY
  	mov	SCSIDATL,SINDIR
--- 478,488 ----
   * a MESSAGE REJECT.
   */
  p_mesgout_loop:
  	test	SSTAT0,SPIORDY	jz p_mesgout_loop
  	cmp	DINDEX,1	jne p_mesgout_outb	/* last byte? */
  	mvi	CLRSINT1,CLRATNO			/* drop ATN */
  p_mesgout_outb:
+ 	test	SSTAT1,PHASEMIS	jnz p_mesgout_phasemis
  	dec	DINDEX
  	or	CLRSINT0, CLRSPIORDY
  	mov	SCSIDATL,SINDIR
***************
*** 845,852 ****
  	or	CLRSINT0, CLRSPIORDY
  	mov	NONE,SCSIDATL			/*dummy read from latch to ACK*/
  inb_next_wait:
- 	test	SSTAT1,PHASEMIS	jnz mesgin_phasemis
  	test	SSTAT0,SPIORDY	jz inb_next_wait /* wait for next byte */
  inb_first:
  	mov	DINDEX,SINDEX
  	mov	DINDIR,SCSIBUSL	ret		/*read byte directly from bus*/
--- 845,852 ----
  	or	CLRSINT0, CLRSPIORDY
  	mov	NONE,SCSIDATL			/*dummy read from latch to ACK*/
  inb_next_wait:
  	test	SSTAT0,SPIORDY	jz inb_next_wait /* wait for next byte */
+ 	test	SSTAT1,PHASEMIS	jnz mesgin_phasemis
  inb_first:
  	mov	DINDEX,SINDEX
  	mov	DINDIR,SCSIBUSL	ret		/*read byte directly from bus*/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605272340.QAA09115>