*** bktr_core.c.orig Sat Nov 23 17:39:20 2002 --- bktr_core.c Sat Nov 23 21:22:59 2002 *************** *** 806,812 **** } - /* * Register the completed field * (For dual-field mode, require fields from the same frame) --- 806,811 ---- *************** *** 3080,3086 **** /* contruct sync : for video packet format */ /* sync, mode indicator packed data */ ! *dma_prog++ = OP_SYNC | 1 << 15 | BKTR_FM1; *dma_prog++ = 0; /* NULL WORD */ b = cols; --- 3079,3085 ---- /* contruct sync : for video packet format */ /* sync, mode indicator packed data */ ! *dma_prog++ = OP_SYNC | BKTR_RESYNC | BKTR_FM1; *dma_prog++ = 0; /* NULL WORD */ b = cols; *************** *** 3096,3102 **** switch (i_flag) { case 1: /* sync vre */ ! *dma_prog++ = OP_SYNC | 1 << 24 | BKTR_VRE; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP; --- 3095,3101 ---- switch (i_flag) { case 1: /* sync vre */ ! *dma_prog++ = OP_SYNC | BKTR_GEN_IRQ | BKTR_VRE; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP; *************** *** 3105,3111 **** case 2: /* sync vro */ ! *dma_prog++ = OP_SYNC | 1 << 24 | BKTR_VRO; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP; *dma_prog++ = (u_long ) vtophys(bktr->dma_prog); --- 3104,3110 ---- case 2: /* sync vro */ ! *dma_prog++ = OP_SYNC | BKTR_GEN_IRQ | BKTR_VRO; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP; *dma_prog++ = (u_long ) vtophys(bktr->dma_prog); *************** *** 3113,3119 **** case 3: /* sync vro */ ! *dma_prog++ = OP_SYNC | 1 << 24 | 1 << 15 | BKTR_VRO; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP ; *dma_prog = (u_long ) vtophys(bktr->odd_dma_prog); --- 3112,3118 ---- case 3: /* sync vro */ ! *dma_prog++ = OP_SYNC | BKTR_GEN_IRQ | BKTR_RESYNC | BKTR_VRO; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP ; *dma_prog = (u_long ) vtophys(bktr->odd_dma_prog); *************** *** 3127,3133 **** dma_prog = (u_long * ) bktr->odd_dma_prog; /* sync vre */ ! *dma_prog++ = OP_SYNC | 1 << 24 | 1 << 15 | BKTR_FM1; *dma_prog++ = 0; /* NULL WORD */ for (i = 0; i < (rows/interlace) ; i++) { --- 3126,3132 ---- dma_prog = (u_long * ) bktr->odd_dma_prog; /* sync vre */ ! *dma_prog++ = OP_SYNC | BKTR_RESYNC | BKTR_FM1; *dma_prog++ = 0; /* NULL WORD */ for (i = 0; i < (rows/interlace) ; i++) { *************** *** 3140,3146 **** } /* sync vro IRQ bit */ ! *dma_prog++ = OP_SYNC | 1 << 24 | 1 << 15 | BKTR_VRE; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP ; *dma_prog++ = (u_long ) vtophys(bktr->dma_prog); --- 3139,3145 ---- } /* sync vro IRQ bit */ ! *dma_prog++ = OP_SYNC | BKTR_GEN_IRQ | BKTR_RESYNC | BKTR_VRE; *dma_prog++ = 0; /* NULL WORD */ *dma_prog++ = OP_JUMP ; *dma_prog++ = (u_long ) vtophys(bktr->dma_prog);