diff options
author | Liav A <liavalb@gmail.com> | 2021-09-23 09:14:51 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-29 11:24:33 +0200 |
commit | da327746a2702bd40ae6fa79017850ed357f5c1f (patch) | |
tree | 2c270fd138684e6713105c9c1eb93941cea256ec /Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp | |
parent | 82bb08a15cbe447b5b0deeac16cccc22bf1c1c57 (diff) | |
download | serenity-da327746a2702bd40ae6fa79017850ed357f5c1f.zip |
Kernel: Rename two PCI components
Rename ID => HardwareID, and PhysicalID => DeviceIdentifier.
This change merely does that to clarify what these objects really are.
Diffstat (limited to 'Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp')
-rw-r--r-- | Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp index e7e29a6d25..0ed5f32eb2 100644 --- a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp +++ b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp @@ -43,7 +43,7 @@ static bool is_supported_model(u16 device_id) RefPtr<IntelNativeGraphicsAdapter> IntelNativeGraphicsAdapter::initialize(PCI::Address address) { - auto id = PCI::get_id(address); + auto id = PCI::get_hardware_id(address); VERIFY(id.vendor_id == 0x8086); if (!is_supported_model(id.device_id)) return {}; |