Before reading vendor_id or device_id from struct pci_dev, one must call
pci_fill_info() first. It looks like this had worked with previous
libpci versions, but with libpci 3.7.0 on debian 11 this patch is needed
or else the tool stops at 'starting bus iteration' without finding the
The previous fix for missing pci_fill_info() was incomplete, it caused
the device to be found but changing the mac did not succeed. Fix it up
as separate commit, as the other commit is already packaged.