Skip to main content

BY_CLASS

Constant BY_CLASS 

Source
pub const BY_CLASS: u8 = 3;
Expand description

hw-enumerator’s which-device question: [BY_CLASS, class (3 bytes LE), PREFER_OWN], answered [bdf u32, class u32]. The supervisor asks it to choose a PCI driver’s device, which the kernel then grants by that BDF; hardware asks it again to say which device that driver holds. One definition, so the two cannot disagree. PREFER_OWN: the first device of the class that is not a display’s companion function, if there is one (the T630’s HDMI audio, docs/audio.md).