home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / kernel-s / v1.1 / scsi / 274x / pre-alph.000 < prev    next >
Text File  |  1995-10-10  |  2KB  |  67 lines

  1. THIS IS PRE-PRE-RELEASE SOFTWARE - USE AT YOUR OWN RISK!
  2.  
  3. I think this should fix the problems with devices that want asynchronous
  4. transfers.  So hopefully all the tape drives and removable media that
  5. people have will work now..
  6.  
  7. ### ONCE THIS IS APPLIED, YOU _MUST_ REASSEMBLE THE SEQUENCER CODE ###
  8. ### INTO aha274x_seq.h BEFORE REBUILDING THE KERNEL, OR THIS PATCH ###
  9. ### WILL NOT WORK!                                                 ###
  10. :ja
  11.  
  12. *** aha274x.seq-rel5    Mon Sep 19 09:23:04 1994
  13. --- aha274x.seq    Mon Sep 19 09:22:30 1994
  14. ***************
  15. *** 1,4 ****
  16. ! # @(#)aha274x.seq 1.26 94/09/06 jda
  17.   #
  18.   # Adaptec 274x device driver for Linux.
  19.   # Copyright (c) 1994 The University of Calgary Department of Computer Science.
  20. --- 1,4 ----
  21. ! # @(#)aha274x.seq 1.27 94/09/19 jda
  22.   #
  23.   # Adaptec 274x device driver for Linux.
  24.   # Copyright (c) 1994 The University of Calgary Department of Computer Science.
  25. ***************
  26. *** 17,23 ****
  27.   # along with this program; if not, write to the Free Software
  28.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  29.   
  30. ! VERSION AHA274X_SEQ_VERSION 1.26
  31.   
  32.   MAXSCB        = 4
  33.   
  34. --- 17,23 ----
  35.   # along with this program; if not, write to the Free Software
  36.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  37.   
  38. ! VERSION AHA274X_SEQ_VERSION 1.27
  39.   
  40.   MAXSCB        = 4
  41.   
  42. ***************
  43. *** 374,381 ****
  44. --- 374,385 ----
  45.   #  the message.  Otherwise, keep going until the message is exhausted.
  46.   #  (We can't use outb for this since it wants the input in SINDEX.)
  47.   #
  48. + #  Keep an eye out for a phase change, in case the target issues
  49. + #  a MESSAGE REJECT.
  50. + #
  51.   p_mesgout2:
  52.       test    SSTAT0,0x2    jz p_mesgout2    # SPIORDY
  53. +     test    SSTAT1,0x10    jnz p_mesgout6    # PHASEMIS
  54.   
  55.       cmp    DINDEX,1    jne p_mesgout3    # last byte?
  56.       mvi    CLRSINT1,0x40            # CLRATNO - drop ATN
  57. ***************
  58. *** 420,425 ****
  59. --- 424,430 ----
  60.       jmp    ITloop
  61.   
  62.   p_mesgout6:
  63. +     mvi    CLRSINT1,0x40            # CLRATNO - in case of PHASEMIS
  64.       clr    MSG_FLAGS            # no active msg
  65.       jmp    ITloop
  66.   
  67.