From: Aivils <ai...@un...> - 2004-06-11 06:19:44
|
Hi All! Linux-kernel support only one pci_driver per each pci_dev. If we load tdfxfb , then voodoo3 device is claimed and disagree registering of i2c-voodoo3. In this case we should use "dirty hack of Perrye". I add normal i2c-voodoo3 init without tdfxfb. In this case we cannot use tdfxfb driver, but i2c-voodoo3 found all voodoo3 devices, which i have 2 on my box (AGP and PCI). Unfortunately i do not know what i should do with i2c of Voodoo3 PCI :) Of course fbtv will not work :( Aivils --- linux-2.6.6/drivers/i2c/busses/i2c-voodoo3.c 2004-05-10 05:32:29.000000000 +0300 +++ linux-2.6.6/drivers/i2c/busses/i2c-voodoo3.c~ 2004-06-11 09:55:06.000000000 +0300 @@ -199,6 +199,11 @@ static int __devinit voodoo3_probe(struc { int retval; + if ((retval = pci_enable_device(dev))) { + printk(KERN_WARNING "i2c-voodoo3: Can't enable dev: %d\n", retval); + return retval; + } + retval = config_v3(dev); if (retval) return retval; |