driver_manager: whitespace fixes

This commit is contained in:
Norman Feske
2022-10-04 14:55:54 +02:00
committed by Christian Helmuth
parent b88959f60c
commit ccb8fe908a

View File

@@ -471,21 +471,21 @@ void Driver_manager::Main::_handle_pci_devices_update()
uint16_t const class_code = (uint16_t)(pci.attribute_value("class", 0U) >> 8); uint16_t const class_code = (uint16_t)(pci.attribute_value("class", 0U) >> 8);
enum { enum {
VENDOR_VBOX = 0x80EEU, VENDOR_VBOX = 0x80EEU,
VENDOR_INTEL = 0x8086U, VENDOR_INTEL = 0x8086U,
CLASS_VGA = 0x300U, CLASS_VGA = 0x300U,
CLASS_AHCI = 0x106U, CLASS_AHCI = 0x106U,
CLASS_NVME = 0x108U, CLASS_NVME = 0x108U,
}; };
if (class_code == CLASS_VGA) if (class_code == CLASS_VGA)
has_vga = true; has_vga = true;
if (vendor_id == VENDOR_INTEL && class_code == CLASS_VGA) if (vendor_id == VENDOR_INTEL && class_code == CLASS_VGA)
has_intel_graphics = true; has_intel_graphics = true;
if (vendor_id == VENDOR_INTEL && class_code == CLASS_AHCI) if (vendor_id == VENDOR_INTEL && class_code == CLASS_AHCI)
has_ahci = true; has_ahci = true;
if (vendor_id == VENDOR_VBOX) if (vendor_id == VENDOR_VBOX)
_use_ohci = false; _use_ohci = false;