Re: [PATCH 2.6.9-rc2-mm4 zr36120.c][5/8] Convert pci_find_device to pci_dev_present

From: Gerd Knorr
Date: Fri Oct 01 2004 - 03:04:39 EST


> Thanks a lot for your help. Is this what you were thinking?

> +++ linux-2.6.9-rc2-mm4patch/drivers/media/video/zr36120.c 2004-09-30 15:17:56.201723784 -0700

> - while ((dev = pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82437, dev)))
> - {
> + if (pci_pci_problems & PCIPCI_TRITON) {
> printk(KERN_INFO "zoran: Host bridge 82437FX Triton PIIX\n");
> triton1 = ZORAN_VDC_TRICOM;

Looks fine to me.

Gerd

--
return -ENOSIG;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/