search for: pci_find_device

Displaying 4 results from an estimated 4 matches for "pci_find_device".

2004 Dec 21
1
two avm usb isdn fritz v2.0 cards
...two avm fritz cards on one asterisk machine. I am using fcusb2 driver. 1 card works perfectly. I tried to recompile driver like it is described on this page but with no success. http://www.quiss.org/caiviar/Two-Fritzcards-HOWTO I think the problem is that i can not find this part of code. dev = pci_find_device (AVM_VENDOR_ID, AVM_DEVICE_ID, dev); if (NULL == dev) { dev = pci_find_device (AVM_VENDOR_ID, AVM_DEVICE_ID2, dev); if (NULL == dev) { return PCI_NO_CARD; } } by dev = pci_find_device (AVM_VENDOR_ID, AVM...
2005 Feb 06
0
Intel 537EP is NOT the MD3200 aka X100P [Re: Intel 537EP chipset, revisited]
...***** *** 1000,1005 **** --- 1001,1048 ---- { int res; int x; + + + struct pci_dev *pdev; + int i; + + /* workaround for serial driver falsely claiming to handle our devices. */ + for(i=0; wcfxo_pci_tbl[i].vendor; i++) { + pdev = NULL; + while( (pdev = pci_find_device(wcfxo_pci_tbl[i].vendor, wcfxo_pci_tbl[i].device, pdev)) ) { + if ((((pdev->class >> 8) != PCI_CLASS_COMMUNICATION_SERIAL) && + ((pdev->class >> 8) != PCI_CLASS_COMMUNICATION_MODEM)) || + (pdev->class & 0xff) >...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...*pci_dev = PCI_DEVICE(dev); + PCIDeviceClass *pc = PCI_DEVICE_GET_CLASS(pci_dev); int ret = 0; - if (info->exit) - ret = info->exit(pci_dev); + if (pc->exit) + ret = pc->exit(pci_dev); if (ret) return ret; @@ -1477,28 +1456,27 @@ PCIDevice *pci_find_device(PCIBus *bus, int bus_num, uint8_t devfn) static int pci_qdev_init(DeviceState *qdev, DeviceInfo *base) { PCIDevice *pci_dev = (PCIDevice *)qdev; - PCIDeviceInfo *info = container_of(base, PCIDeviceInfo, qdev); + PCIDeviceClass *pc = PCI_DEVICE_GET_CLASS(pci_dev); PCIBus *bus;...
2009 Jul 22
109
Unable to Configure Xen Dom 0 in Jeremy''s PVOPS Kernel
Hi All, I followed the instructions here at http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ However, when I do a "make menuconfig", I cannot see any XEN related configuration options. What am I missing? Thank you. Mr. Teo En Ming Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)