Kernel: Rename two PCI components

Rename ID => HardwareID, and PhysicalID => DeviceIdentifier.
This change merely does that to clarify what these objects really are.
This commit is contained in:
Liav A 2021-09-23 09:14:51 +03:00 committed by Andreas Kling
commit da327746a2
Notes: sideshowbarker 2024-07-18 03:21:17 +09:00
26 changed files with 97 additions and 97 deletions

View file

@ -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 {};