[BACK]Return to ncr5380.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / mac68k / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/mac68k/dev/ncr5380.c between version 1.64.10.2 and 1.65

version 1.64.10.2, 2014/05/22 11:39:56 version 1.65, 2012/10/27 17:17:59
Line 262  ncr5380_scsi_request(struct scsipi_chann
Line 262  ncr5380_scsi_request(struct scsipi_chann
     void *arg)      void *arg)
 {  {
         struct scsipi_xfer *xs;          struct scsipi_xfer *xs;
           struct scsipi_periph *periph;
         struct ncr_softc *sc = device_private(chan->chan_adapter->adapt_dev);          struct ncr_softc *sc = device_private(chan->chan_adapter->adapt_dev);
         int     sps, flags;          int     sps, flags;
         SC_REQ  *reqp, *link, *tmp;          SC_REQ  *reqp, *link, *tmp;
Line 270  ncr5380_scsi_request(struct scsipi_chann
Line 271  ncr5380_scsi_request(struct scsipi_chann
         case ADAPTER_REQ_RUN_XFER:          case ADAPTER_REQ_RUN_XFER:
                 xs = arg;                  xs = arg;
                 flags = xs->xs_control;                  flags = xs->xs_control;
                   periph = xs->xs_periph;
   
                 /*                  /*
                  * We do not queue RESET commands                   * We do not queue RESET commands
Line 1627  static int
Line 1629  static int
 reach_msg_out(struct ncr_softc *sc, u_long len)  reach_msg_out(struct ncr_softc *sc, u_long len)
 {  {
         u_char  phase;          u_char  phase;
           u_char  data;
         u_long  n = len;          u_long  n = len;
   
         ncr_aprint(sc, "Trying to reach Message-out phase\n");          ncr_aprint(sc, "Trying to reach Message-out phase\n");
Line 1645  reach_msg_out(struct ncr_softc *sc, u_lo
Line 1648  reach_msg_out(struct ncr_softc *sc, u_lo
                 if (((GET_5380_REG(NCR5380_IDSTAT) >> 2) & 7) != phase)                  if (((GET_5380_REG(NCR5380_IDSTAT) >> 2) & 7) != phase)
                         break;                          break;
                 if (PH_IN(phase)) {                  if (PH_IN(phase)) {
                         GET_5380_REG(NCR5380_DATA);                          data = GET_5380_REG(NCR5380_DATA);
                         SET_5380_REG(NCR5380_ICOM, SC_A_ACK | SC_A_ATN);                          SET_5380_REG(NCR5380_ICOM, SC_A_ACK | SC_A_ATN);
                 }                  }
                 else {                  else {

Legend:
Removed from v.1.64.10.2  
changed lines
  Added in v.1.65

CVSweb <webmaster@jp.NetBSD.org>