Revision 0d50d616

b/hw/xilinx_axidma.c
134 134
static void stream_reset(struct AXIStream *s)
135 135
{
136 136
    s->regs[R_DMASR] = DMASR_HALTED;  /* starts up halted.  */
137
    s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshhold.  */
137
    s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshold.  */
138 138
}
139 139

  
140
/* Mapp an offset addr into a channel index.  */
140
/* Map an offset addr into a channel index.  */
141 141
static inline int streamid_from_addr(target_phys_addr_t addr)
142 142
{
143 143
    int sid;

Also available in: Unified diff