Subject: Re: new snapshot
To: Chris Hopps <chopps@emunix.emich.edu>
From: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
List: amiga-dev
Date: 06/19/1994 10:13:25
The following patch fixes problems with Quantum drives disconnecting 
unexpectedly.  

=========================================================================
Eduardo Horvath				eeh@btr.com
					..!{decwrl,mips,fernwood}!btr!eeh
	"Trust me, I am cognizant of what I am doing." - Hammeroid

*** /sys/arch/amiga/dev/sbic.c	Sun Jun 19 09:00:22 1994
--- /sys/arch/amiga/dev/sbic.c.orig	Sun Jun 19 08:59:30 1994
***************
*** 111,117 ****
   * was broken before.. now if you want this you get it for all drives
   * on sbic controllers.
   */
! int sbic_inhibit_sync = 0;
  int sbic_clock_override = 0;
  int sbic_no_dma = 0;
  
--- 111,117 ----
   * was broken before.. now if you want this you get it for all drives
   * on sbic controllers.
   */
! int sbic_inhibit_sync = 1;
  int sbic_clock_override = 0;
  int sbic_no_dma = 0;
  
***************
*** 923,930 ****
  			SET_SBIC_cmd(regs, SBIC_CMD_CLR_ACK);
  			WAIT_CIP(regs);
  			phase = CMD_PHASE;  /* or whatever */
! 		} else if (dev->sc_msg[0] == MSG_CMD_COMPLETE
! 			|| dev->sc_msg[0] == 0xff) {
  			/* !! KLUDGE ALERT !! quite a few drives don't seem to 
  			 * really like the current way of sending the
  			 * sync-handshake together with the ident-message, and 
--- 923,929 ----
  			SET_SBIC_cmd(regs, SBIC_CMD_CLR_ACK);
  			WAIT_CIP(regs);
  			phase = CMD_PHASE;  /* or whatever */
! 		} else if (dev->sc_msg[0] == MSG_CMD_COMPLETE) {
  			/* !! KLUDGE ALERT !! quite a few drives don't seem to 
  			 * really like the current way of sending the
  			 * sync-handshake together with the ident-message, and 

------------------------------------------------------------------------------