Some patches for pci_find_device()/pci_get_device() conversion. Regards, Angelo --- linux-2.6.0-test5/drivers/net/tg3.c.old 2003-09-19 18:49:51.000000000 +0200 +++ linux-2.6.0-test5/drivers/net/tg3.c 2003-09-19 18:51:10.000000000 +0200 @@ -6726,15 +6726,15 @@ * every mailbox register write to force the writes to be * posted to the chip in order. */ - if (pci_find_device(PCI_VENDOR_ID_INTEL, + if (pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AA_8, NULL) || - pci_find_device(PCI_VENDOR_ID_INTEL, + pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AB_8, NULL) || - pci_find_device(PCI_VENDOR_ID_INTEL, + pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_11, NULL) || - pci_find_device(PCI_VENDOR_ID_INTEL, + pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_6, NULL) || - pci_find_device(PCI_VENDOR_ID_AMD, + pci_get_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_FE_GATE_700C, NULL)) tp->tg3_flags |= TG3_FLAG_MBOX_WRITE_REORDER; - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html