Skip to content

Commit

Permalink
pci: typo in PCI enumeration conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 19, 2024
1 parent 6534e45 commit b130b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/pci/src/enumerate.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void pciEnumerate() {
luxLogf(KPRINT_LEVEL_DEBUG, "%02x.%02x.%02x: unimplemented device - %02x%02x%02x (%04X:%04X):\n", bus, slot, function, class, subclass, progif, vendor, device);
}

switch(header & PCI_HAS_FUNCTIONS) {
switch(header & 3) {
case PCI_GENERAL_DEVICE: pciDumpGeneral(bus, slot, function); break;
}

Expand Down

0 comments on commit b130b7c

Please sign in to comment.