[BACK]Return to ncr53c9x.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ic

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

Diff for /src/sys/dev/ic/ncr53c9x.c between version 1.125 and 1.126

version 1.125, 2007/01/09 12:53:12 version 1.126, 2007/03/04 06:01:59
Line 124  int ncr53c9x_notag = 0;
Line 124  int ncr53c9x_notag = 0;
 /*static*/ void ncr53c9x_dequeue(struct ncr53c9x_softc *,  /*static*/ void ncr53c9x_dequeue(struct ncr53c9x_softc *,
                                 struct ncr53c9x_ecb *);                                  struct ncr53c9x_ecb *);
 /*static*/ int  ncr53c9x_ioctl(struct scsipi_channel *, u_long,  /*static*/ int  ncr53c9x_ioctl(struct scsipi_channel *, u_long,
                                caddr_t, int, struct proc *);                                 void *, int, struct proc *);
   
 void ncr53c9x_sense(struct ncr53c9x_softc *, struct ncr53c9x_ecb *);  void ncr53c9x_sense(struct ncr53c9x_softc *, struct ncr53c9x_ecb *);
 void ncr53c9x_free_ecb(struct ncr53c9x_softc *, struct ncr53c9x_ecb *);  void ncr53c9x_free_ecb(struct ncr53c9x_softc *, struct ncr53c9x_ecb *);
Line 726  ncr53c9x_select(sc, ecb)
Line 726  ncr53c9x_select(sc, ecb)
                         /* setup DMA transfer for command */                          /* setup DMA transfer for command */
                         dmasize = clen = ecb->clen;                          dmasize = clen = ecb->clen;
                         sc->sc_cmdlen = clen;                          sc->sc_cmdlen = clen;
                         sc->sc_cmdp = (caddr_t)&ecb->cmd.cmd;                          sc->sc_cmdp = (void *)&ecb->cmd.cmd;
   
                         NCRDMA_SETUP(sc, &sc->sc_cmdp, &sc->sc_cmdlen, 0,                          NCRDMA_SETUP(sc, &sc->sc_cmdp, &sc->sc_cmdlen, 0,
                             &dmasize);                              &dmasize);
Line 1052  ncr53c9x_poll(sc, xs, count)
Line 1052  ncr53c9x_poll(sc, xs, count)
 }  }
   
 int  int
 ncr53c9x_ioctl(struct scsipi_channel *chan, u_long cmd, caddr_t arg,  ncr53c9x_ioctl(struct scsipi_channel *chan, u_long cmd, void *arg,
     int flag, struct proc *p)      int flag, struct proc *p)
 {  {
         struct ncr53c9x_softc *sc = (void *)chan->chan_adapter->adapt_dev;          struct ncr53c9x_softc *sc = (void *)chan->chan_adapter->adapt_dev;
Line 2757  msgin:
Line 2757  msgin:
                         /* setup DMA transfer for command */                          /* setup DMA transfer for command */
                         size = ecb->clen;                          size = ecb->clen;
                         sc->sc_cmdlen = size;                          sc->sc_cmdlen = size;
                         sc->sc_cmdp = (caddr_t)&ecb->cmd.cmd;                          sc->sc_cmdp = (void *)&ecb->cmd.cmd;
                         NCRDMA_SETUP(sc, &sc->sc_cmdp, &sc->sc_cmdlen,                          NCRDMA_SETUP(sc, &sc->sc_cmdp, &sc->sc_cmdlen,
                             0, &size);                              0, &size);
                         /* Program the SCSI counter */                          /* Program the SCSI counter */

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126

CVSweb <webmaster@jp.NetBSD.org>