[PATCH] PCI/VPD: Add Realtek 8126 to VPD blacklist

From: Hans Zhang

Date: Fri May 22 2026 - 07:54:10 EST


The Realtek 8126 Ethernet controller advertises VPD capability but
returns invalid data when VPD is read, leading to kernel messages
like:

r8169 ... invalid VPD tag 0x00 (size 0) at offset 0; assume
missing optional EEPROM

and pcilib reporting "sysfs_read_vpd: read failed: No such device".

Add the device to the VPD blacklist to suppress these errors.

Signed-off-by: Hans Zhang <18255117159@xxxxxxx>
---
drivers/pci/vpd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pci/vpd.c b/drivers/pci/vpd.c
index 153394a652d3..fbc34cd842ac 100644
--- a/drivers/pci/vpd.c
+++ b/drivers/pci/vpd.c
@@ -590,6 +590,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x002f, quirk_blacklist_vpd);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x005d, quirk_blacklist_vpd);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x005f, quirk_blacklist_vpd);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATTANSIC, PCI_ANY_ID, quirk_blacklist_vpd);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_REALTEK, 0x8126, quirk_blacklist_vpd);
/*
* The Amazon Annapurna Labs 0x0031 device id is reused for other non Root Port
* device types, so the quirk is registered for the PCI_CLASS_BRIDGE_PCI class.
--
2.43.0