Oliver Smith
1bf48da7a8
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 device. Fixes: SYS#5956 |
||
---|---|---|
debian | ||
.gitignore | ||
COPYING | ||
Makefile | ||
README | ||
rtl8168-eeprom.c |
README
rtl8168-mac-eeprom utility Usage: ./rtl8168_mac_eeprom will generate an EEPROM backup file for all supported cards ./rtl8168_mac_eeprom -s 1:0 will generate an EEPROM backup file for PCI slot 1:0 ./rtl8168_mac_eeprom -s 1:0 -m 01:02:03:04:05:06 will set the new mac address 01:02:03:04:05:06 to PCI slot 1:0