- if (get_conf_word(d, PCI_DEVICE_ID) >= 0x1000 &&
- get_conf_word(d, PCI_DEVICE_ID) <= 0x107f)
- show_vendor_caps_virtio(d, where, cap);
- break;
- default:
- printf("Vendor Specific Information: Len=%02x <?>\n", BITS(cap, 0, 8));
+ if (d->dev->device_id >= 0x1000 &&
+ d->dev->device_id <= 0x107f)
+ return show_vendor_caps_virtio(d, where, cap);