version 1.13, 2001/04/25 15:31:09
|
version 1.14, 2001/05/15 12:40:21
|
Line 401 static int ringDMA (struct cvdv_cards *c
|
Line 401 static int ringDMA (struct cvdv_cards *c
|
if (count>=2048) count &=0xfffff800; |
if (count>=2048) count &=0xfffff800; |
count &=0xfffffffc; |
count &=0xfffffffc; |
|
|
if (!size && |
|
!card->DecoderOpen ){ |
|
printk(KERN_ERR LOGNAME |
|
": -- PREPARE IT ALREADY\n"); |
|
Prepare(card); |
|
card->startingV = 1; |
|
card->startingA = 1; |
|
} |
|
|
|
if (count > size) count = size & 0xfffffffc; |
if (count > size) count = size & 0xfffffffc; |
MDEBUG(3,": -- stat: %d length: %d size: %d startV: %d startA: %d\n", |
MDEBUG(3,": -- stat: %d length: %d size: %d startV: %d startA: %d\n", |
stat,count,size, card->startingV, card->startingA); |
stat,count,size, card->startingV, card->startingA); |
Line 500 void MaskByte(struct cvdv_cards *card, i
|
Line 491 void MaskByte(struct cvdv_cards *card, i
|
|
|
|
|
|
|
#define MAXWRITE CHANNELBUFFERSIZE |
#define MAXWRITE CHANNELBUFFERSIZE/2 |
#define MAX_COUNT 10 |
#define MAX_COUNT 40 |
|
|
#ifdef USE_BH |
#ifdef USE_BH |
struct cvdv_cards *bh_card; |
struct cvdv_cards *bh_card; |