Displaying 1 result from an estimated 1 matches for "our_vendor_id".
2019 Apr 10
0
pci resource address
...dn't find PCI Domain\n");
return -1;
}
for_each_pci_func3(dev, domain, addr) {
/* TODO: should we do more checks on the device? Like class? */
if (dev->vendor == OUR_VENDOR_ID) {
DBGPRINT("PCI: Found Sigmatek device = %x\n", dev->product);
fpga_addr = pci_get_bar0(addr);
rval = eeprom_init(fpga_addr, buf, size);
Now...