summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-20 21:53:05 -0400
committerIan Moffett <ian@osmora.org>2024-03-20 21:53:05 -0400
commit197bdf24748b03eff9710998b9023376a40971e7 (patch)
tree173b7e5738c5de98e56e8521818a5b45b843c0ca /sys/dev
parentf3af6f252b09c952b3a4b703eeb8a1b27ab0b61d (diff)
kernel: pci: Fix comment
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 6f27200..f681431 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -193,7 +193,7 @@ pci_get_device(struct pci_lookup lookup, uint16_t lookup_type)
}
if (__TEST(lookup_type, PCI_SUBCLASS)) {
- /* Check PCI class */
+ /* Check PCI subclass */
if (lookup.pci_subclass == dev->pci_subclass)
lookup_matches |= PCI_SUBCLASS;
}