Compare commits

...

2 Commits

Author SHA1 Message Date
Oliver Smith 630734375f d/changelog: add 1.0.2 2022-05-16 14:05:28 +02:00
Oliver Smith 4efcedfeca Query PCI_FILL_{BASES,SIZES} in pci_fill_info too
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.
2022-05-16 14:03:10 +02:00
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
rtl8168-eeprom (1.0.2) unstable; urgency=medium
* Query PCI_FILL_{BASES,SIZES} in pci_fill_info too
-- Oliver Smith <osmith@sysmocom.de> Mon, 16 May 2022 14:05:15 +0200
rtl8168-eeprom (1.0.1) unstable; urgency=medium
* Fix missing pci_fill_info()

View File

@ -466,7 +466,7 @@ static void iterate_devices(struct pci_access *pa, char *filter_id, char *filter
continue;
/* our own clumsy implementation of filtering */
pci_fill_info(p, PCI_FILL_IDENT);
pci_fill_info(p, PCI_FILL_IDENT | PCI_FILL_BASES | PCI_FILL_SIZES);
if (p->vendor_id != 0x10ec || p->device_id != 0x8168)
continue;