From bfe26529fc77755dc5dd9e41473ebbe84044c5f3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 19 Sep 2025 17:57:08 -0400 Subject: kern: pci: Add 'class' and 'subclass' to device This commit adds the PCI class and revion (subclass) IDs to the PCI device descriptor provided by L5. Signed-off-by: Ian Moffett --- src/sys/include/io/pci/pci.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sys/include/io/pci/pci.h') diff --git a/src/sys/include/io/pci/pci.h b/src/sys/include/io/pci/pci.h index 91fb02e..bc39647 100644 --- a/src/sys/include/io/pci/pci.h +++ b/src/sys/include/io/pci/pci.h @@ -51,6 +51,8 @@ struct pci_device { uint16_t bus; uint8_t slot; uint8_t func; + uint8_t class; + uint8_t subclass; uint16_t vendor; uint16_t device; TAILQ_ENTRY(pci_device) link; -- cgit v1.2.3