/*		flexcop_dma_config_packet_count(fc,FC_DMA_1,0xc0); flexcop_dma_control_packet_irq(fc,FC_DMA_1,1); */ 
flexcop_dma_xfer_control(fc,FC_DMA_1,FC_DMA_SUBADDR_0 | FC_DMA_SUBADDR_1,1); deb_irq("DMA xfer enabled\n"); 
static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff){	struct flexcop_pci *fc_pci = fc->bus_specific;	if (onoff) {		flexcop_dma_config(fc,&fc_pci->dma[0],FC_DMA_1,FC_DMA_SUBADDR_0 | FC_DMA_SUBADDR_1);		flexcop_dma_config(fc,&fc_pci->dma[1],FC_DMA_2,FC_DMA_SUBADDR_0 | FC_DMA_SUBADDR_1);		flexcop_dma_config_timer(fc,FC_DMA_1,1);		if (fc_pci->fc_dev->pid_filtering) {			fc_pci->last_dma1_cur_pos = 0;			flexcop_dma_control_timer_irq(fc,FC_DMA_1,1);		} else {			fc_pci->active_dma1_addr = 0;			flexcop_dma_control_size_irq(fc,FC_DMA_1,1);		}/*		flexcop_dma_config_packet_count(fc,FC_DMA_1,0xc0);		flexcop_dma_control_packet_irq(fc,FC_DMA_1,1); */		deb_irq("irqs enabled\n");	} else {		if (fc_pci->fc_dev->pid_filtering)			flexcop_dma_control_timer_irq(fc,FC_DMA_1,0);		else			flexcop_dma_control_size_irq(fc,FC_DMA_1,0);//		flexcop_dma_control_packet_irq(fc,FC_DMA_1,0);		deb_irq("irqs disabled\n");	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/64221be7b9006338e4a45228f013e467ee4bf045/flexcop-pci.c/buggy/drivers/media/dvb/b2c2/flexcop-pci.c