[BACK]Return to zs.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / macppc / 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/macppc/dev/zs.c between version 1.49 and 1.50

version 1.49, 2009/10/27 03:45:32 version 1.50, 2011/06/30 00:52:57
Line 218  zsc_attach(device_t parent, device_t sel
Line 218  zsc_attach(device_t parent, device_t sel
   
         chip = 0;          chip = 0;
         ca->ca_reg[0] += ca->ca_baseaddr;          ca->ca_reg[0] += ca->ca_baseaddr;
         zsd = mapiodev(ca->ca_reg[0], ca->ca_reg[1]);          zsd = mapiodev(ca->ca_reg[0], ca->ca_reg[1], false);
   
         node = OF_child(ca->ca_node);   /* ch-a */          node = OF_child(ca->ca_node);   /* ch-a */
   
Line 238  zsc_attach(device_t parent, device_t sel
Line 238  zsc_attach(device_t parent, device_t sel
                 regs[2] += ca->ca_baseaddr;                  regs[2] += ca->ca_baseaddr;
                 regs[4] += ca->ca_baseaddr;                  regs[4] += ca->ca_baseaddr;
 #ifdef ZS_TXDMA  #ifdef ZS_TXDMA
                 zsc->zsc_txdmareg[channel] = mapiodev(regs[2], regs[3]);                  zsc->zsc_txdmareg[channel] = mapiodev(regs[2], regs[3], false);
                 zsc->zsc_txdmacmd[channel] =                  zsc->zsc_txdmacmd[channel] =
                         dbdma_alloc(sizeof(dbdma_command_t) * 3);                          dbdma_alloc(sizeof(dbdma_command_t) * 3);
                 memset(zsc->zsc_txdmacmd[channel], 0,                  memset(zsc->zsc_txdmacmd[channel], 0,

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

CVSweb <webmaster@jp.NetBSD.org>