pci_read_config_byte(dev->pci, PCI_LATENCY_TIMER,  &dev->pci_lat); printk(KERN_INFO "%s/2: found at %s, rev: %d, irq: %d, " 
pci_read_config_byte(dev->pci, PCI_LATENCY_TIMER,  &dev->pci_lat); printk(KERN_INFO "%s/2: found at %s, rev: %d, irq: %d, " 
int cx8802_init_common(struct cx8802_dev *dev){	struct cx88_core *core = dev->core;	int err;	/* pci init */	if (pci_enable_device(dev->pci))		return -EIO;	pci_set_master(dev->pci);	if (!pci_dma_supported(dev->pci,0xffffffff)) {		printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name);		return -EIO;	}	pci_read_config_byte(dev->pci, PCI_CLASS_REVISION, &dev->pci_rev);        pci_read_config_byte(dev->pci, PCI_LATENCY_TIMER,  &dev->pci_lat);        printk(KERN_INFO "%s/2: found at %s, rev: %d, irq: %d, "	       "latency: %d, mmio: 0x%lx\n", dev->core->name,	       pci_name(dev->pci), dev->pci_rev, dev->pci->irq,	       dev->pci_lat,pci_resource_start(dev->pci,0));	/* initialize driver struct */	spin_lock_init(&dev->slock);	/* init dma queue */	INIT_LIST_HEAD(&dev->mpegq.active);	INIT_LIST_HEAD(&dev->mpegq.queued);	dev->mpegq.timeout.function = cx8802_timeout;	dev->mpegq.timeout.data     = (unsigned long)dev;	init_timer(&dev->mpegq.timeout);	cx88_risc_stopper(dev->pci,&dev->mpegq.stopper,			  MO_TS_DMACNTRL,0x11,0x00);	/* get irq */	err = request_irq(dev->pci->irq, cx8802_irq,			  SA_SHIRQ | SA_INTERRUPT, dev->core->name, dev);	if (err < 0) {		printk(KERN_ERR "%s: can't get IRQ %d\n",		       dev->core->name, dev->pci->irq);		return err;	}	cx_set(MO_PCI_INTMSK, core->pci_irqmask);	/* everything worked */	pci_set_drvdata(dev->pci,dev);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4ac97914c6c35f6bf132071c718e034d0846b9f5/cx88-mpeg.c/buggy/drivers/media/video/cx88/cx88-mpeg.c