1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

Kernel: Add PCI::get_programming_interface(PCI::Address)

This returns the programming interface at a given PCI address.
This is sometimes referred to as "prog-if" on other systems.
This commit is contained in:
Andreas Kling 2020-09-03 20:59:58 +02:00
parent 9b9c752dbe
commit 2e01f1f9b9
2 changed files with 6 additions and 0 deletions

View file

@ -208,6 +208,7 @@ u32 get_BAR3(Address);
u32 get_BAR4(Address);
u32 get_BAR5(Address);
u8 get_revision_id(Address);
u8 get_programming_interface(Address);
u8 get_subclass(Address);
u8 get_class(Address);
u16 get_subsystem_id(Address);