mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
Kernel: Add some more PCI [Sub]Class IDs
This commit is contained in:
parent
66647b58d4
commit
693f3ad33e
3 changed files with 78 additions and 11 deletions
|
@ -20,7 +20,7 @@ namespace Kernel::Audio::IntelHDA {
|
|||
UNMAP_AFTER_INIT ErrorOr<bool> Controller::probe(PCI::DeviceIdentifier const& device_identifier)
|
||||
{
|
||||
VERIFY(device_identifier.class_code() == PCI::ClassID::Multimedia);
|
||||
return device_identifier.subclass_code() == PCI::Multimedia::SubclassID::HDACompatibleController;
|
||||
return device_identifier.subclass_code() == PCI::Multimedia::SubclassID::HDACompatible;
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT ErrorOr<NonnullRefPtr<AudioController>> Controller::create(PCI::DeviceIdentifier const& pci_device_identifier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue