I stuck my pvr 250 in my dual opteron box and the ivtv driver was unable
to properly initialize.  A little digging and a small change fixed
things for me.  I have no idea if it is correct but I thought I'd pass
it along, the patch is against 0.3.6r but the change appears to still be
needed in 0.3.7a.

--Larry
--- ivtv-0.3.6r-larry/driver/ivtv-driver.c	2005-06-27 00:40:57.000000000 -0500
+++ ivtv-0.3.6r/driver/ivtv-driver.c	2005-06-24 09:11:58.000000000 -0500
@@ -853,7 +853,7 @@
 		   "     irq: %d, latency: %d, memory: 0x%lx\n",
 		   itv->dev->irq, pci_latency, (unsigned long)itv->base_addr);
 
-	pci_bus = pci_find_slot(dev->bus->number, dev->devfn);
+	pci_bus = pci_find_slot(0, PCI_DEVFN(0, 0));
 
 	if (pci_bus == NULL) {
 		IVTV_KERN_ERR("Error finding PCI Slot\n");

Reply via email to