Subject: That SCSI thang...
To: None <port-mac68k@NetBSD.ORG>
From: Allen Briggs <briggs@puma.bevd.blacksburg.va.us>
List: port-mac68k
Date: 09/01/1995 23:20:40
OK.  Version 1.1 of mac68k5380.c is broken.  It appears to work, but
it's broken.  The version that can be supped tonight is mucho better.

If you want to play with this new scsi driver, be my guest, but realize
that you might be burned...

Peace,
-allen

PS.  Version 1.2 of mac68k5380.c requires the following patch to
version 1.6 of sys/arch/atari/dev/ncr5380.c:

Index: ncr5380.c
===================================================================
RCS file: /a/cvsroot/src/sys/arch/atari/dev/ncr5380.c,v
retrieving revision 1.6
diff -c -r1.6 ncr5380.c
*** ncr5380.c	1995/08/19 12:36:26	1.6
--- ncr5380.c	1995/09/02 03:20:18
***************
*** 956,962 ****
  			PID("info_transf3");
  			len = reqp->xdata_len;
  #ifdef USE_PDMA
! 			transfer_pdma(&phase, reqp->xdata_ptr, &len);
  #else
  			transfer_pio(&phase, reqp->xdata_ptr, &len);
  #endif
--- 956,963 ----
  			PID("info_transf3");
  			len = reqp->xdata_len;
  #ifdef USE_PDMA
! 			if (transfer_pdma(&phase, reqp->xdata_ptr, &len) == 0)
! 				return 0;
  #else
  			transfer_pio(&phase, reqp->xdata_ptr, &len);
  #endif