[BACK]Return to asc_pmaz.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / pmax / tc

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

Diff for /src/sys/arch/pmax/tc/Attic/asc_pmaz.c between version 1.5 and 1.6

version 1.5, 2000/03/06 03:09:43 version 1.6, 2000/06/05 07:59:53
Line 80  struct cfattach xasc_pmaz_ca = {
Line 80  struct cfattach xasc_pmaz_ca = {
         sizeof(struct asc_softc), asc_pmaz_match, asc_pmaz_attach          sizeof(struct asc_softc), asc_pmaz_match, asc_pmaz_attach
 };  };
   
 static struct scsipi_device asc_pmaz_dev = {  
         NULL,                   /* Use default error handler */  
         NULL,                   /* have a queue, served by this */  
         NULL,                   /* have no async handler */  
         NULL,                   /* Use default 'done' routine */  
 };  
   
 static u_char   asc_read_reg __P((struct ncr53c9x_softc *, int));  static u_char   asc_read_reg __P((struct ncr53c9x_softc *, int));
 static void     asc_write_reg __P((struct ncr53c9x_softc *, int, u_char));  static void     asc_write_reg __P((struct ncr53c9x_softc *, int, u_char));
 static int      asc_dma_isintr __P((struct ncr53c9x_softc *));  static int      asc_dma_isintr __P((struct ncr53c9x_softc *));
Line 163  asc_pmaz_attach(parent, self, aux)
Line 156  asc_pmaz_attach(parent, self, aux)
         }          }
         asc->sc_base = (caddr_t)ta->ta_addr;    /* XXX XXX XXX */          asc->sc_base = (caddr_t)ta->ta_addr;    /* XXX XXX XXX */
   
         tc_intr_establish(parent, ta->ta_cookie, IPL_BIO,          tc_intr_establish(parent, ta->ta_cookie, IPL_BIO, ncr53c9x_intr, sc);
                 (int (*)(void *))ncr53c9x_intr, sc);  
   
         sc->sc_id = 7;          sc->sc_id = 7;
         sc->sc_freq = (ta->ta_busspeed) ? 25000000 : 12500000;          sc->sc_freq = (ta->ta_busspeed) ? 25000000 : 12500000;
Line 206  asc_pmaz_attach(parent, self, aux)
Line 198  asc_pmaz_attach(parent, self, aux)
         sc->sc_maxxfer = 64 * 1024;          sc->sc_maxxfer = 64 * 1024;
   
         /* Do the common parts of attachment. */          /* Do the common parts of attachment. */
         sc->sc_adapter.scsipi_cmd = ncr53c9x_scsi_cmd;          ncr53c9x_attach(sc, NULL, NULL);
         sc->sc_adapter.scsipi_minphys = minphys;  
         ncr53c9x_attach(sc, &asc_pmaz_dev);  
 }  }
   
 static void  static void

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>