mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel/PCI: Fix offset error of the PCI_SUBSYSTEM values
Apparently both PCI_SUBSYSTEM_ID and PCI_SUBSYSTEM_VENDOR_ID offsets should be swapped from one to another to be correct.
This commit is contained in:
parent
b596af363c
commit
5a0aa66b73
Notes:
sideshowbarker
2024-07-18 05:00:04 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/5a0aa66b737 Pull-request: https://github.com/SerenityOS/serenity/pull/9631 Reviewed-by: https://github.com/IdanHo Reviewed-by: https://github.com/ccapitalK ✅
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ namespace Kernel {
|
|||
#define PCI_BAR3 0x1C // u32
|
||||
#define PCI_BAR4 0x20 // u32
|
||||
#define PCI_BAR5 0x24 // u32
|
||||
#define PCI_SUBSYSTEM_ID 0x2C // u16
|
||||
#define PCI_SUBSYSTEM_VENDOR_ID 0x2E // u16
|
||||
#define PCI_SUBSYSTEM_VENDOR_ID 0x2C // u16
|
||||
#define PCI_SUBSYSTEM_ID 0x2E // u16
|
||||
#define PCI_CAPABILITIES_POINTER 0x34 // u8
|
||||
#define PCI_INTERRUPT_LINE 0x3C // byte
|
||||
#define PCI_SECONDARY_BUS 0x19 // byte
|
||||
|
|
Loading…
Reference in a new issue