PCI_DEVICE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME β€” PCI_DEVICE_DATA(9) 🌸

okay so this is the PCI_DEVICE_DATA(9) page from the Kernel API Manual, and it’s literally about a macro used to describe a specific PCI device in very short form. Bestie, it’s tiny, it’s useful, it’s giving β€œone-line icon” energy πŸ’…βœ¨


✨ SYNOPSIS ✨

Here’s the whole vibe, no cap:

PCI_DEVICE_DATA (vend , dev , data );

πŸŽ€ ARGUMENTS πŸŽ€

  • vend β€” the vendor name, without the PCI_VENDOR_ID_ prefix πŸ‘‘
  • dev β€” the device name, without the PCI_DEVICE_ID_<vend>_ prefix πŸ¦‹
  • data β€” the driver data to be filled πŸ’–

🧚 DESCRIPTION 🧚

So what does this macro actually do? It creates a struct pci_device_id that matches a specific PCI device. The subvendor, and subdevice fields will be set to PCI_ANY_ID. That’s the whole assignment, and it ate. Periodt. πŸ’…πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./include/linux/pci.h

The whole crew, bestie:


okay that’s the page, bestie! Source/version: ./include/linux; date: October 2026; manual: PCI_DEVICE_DATA(9). Mwah πŸ’‹βœ¨πŸ«Ά

πŸ“¦ where this page comes from