Driver For Pci Device Link
What were these? They weren't in the standard PCI header. They were device-specific cruft, buried in a Realtek engineering datasheet that cost three thousand dollars and a signed NDA. The driver writer had reverse-engineered it.
The terminal blinked, patient and green on black. Elara typed the incantation:
lspci -vvv -s 04:00.0
Elara looked closer. The driver had a quirk table. An array of { PCI_DEVICE(0x10EC, 0x8168), .driver_data = RTL_CFG_1 } . She saw a newer entry for her exact chip revision: RTL_GIGA_MAC_VER_52 . And next to it, a flag: RTL_FLAG_NO_ASP .
The system exhaled a stream of hex and status flags. There it was: "Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411." But Elara didn't trust the name. Names were for users. She was after the soul of the thing. driver for pci device
She looked one more time at the output of lspci . The device was still just a line of hexadecimal. But now, she had looked inside. And it made sense.
"Of course," she whispered.
Her fingers danced again. cat /sys/bus/pci/devices/0000:04:00.0/uevent . The kernel spat back the raw truth: DRIVER=r8169 . The generic driver. The workhorse.