PCI_DEVICE_SUB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so welcome to PCI_DEVICE_SUB(9) from the Kernel API Manual β€” this is the macro used to describe a specific PCI device with subsystem info. It's giving β€œdevice match, but make it extra specific,” and honestly? iconic. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

PCI_DEVICE_SUB (vend , dev , subvend , subdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • vend β€” the 16 bit PCI Vendor ID. yes bestie, 16 whole bits. ✨
  • dev β€” the 16 bit PCI Device ID. another iconic 16 bit moment. πŸ’…
  • subvend β€” the 16 bit PCI Subvendor ID. subsystem info has entered the chat. πŸ¦‹
  • subdev β€” the 16 bit PCI Subdevice ID. the final little 16 bit detail. πŸŽ€

πŸ’… DESCRIPTION πŸ’…

This macro is used to create a struct pci_device_id that matches a specific device with subsystem information. That's the whole vibe: specific device, plus subsystem info, wrapped up in one macro. no cap. 🫢

🌈 SEE ALSO 🌈

bestie, there is a lot of related lore here β€” go read these too:


made with love in ./include/linux Β· October 2026 Β· and this page is literally PCI_DEVICE_SUB(9) β€” periodt. πŸ§šπŸ’œ

πŸ“¦ where this page comes from