Skip to content

Commit e93aad1

Browse files
committed
pci: fix: use correct offset for I/O bridge window
1 parent 04288e9 commit e93aad1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/pci.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
#define PCI_PREFETCH_LIMIT_OFF 0x26
5151
#define PCI_MMIO_BASE_OFF 0x20
5252
#define PCI_MMIO_LIMIT_OFF 0x22
53-
#define PCI_IO_BASE_OFF 0x30
54-
#define PCI_IO_LIMIT_OFF 0x32
53+
#define PCI_IO_BASE_OFF 0x1C
54+
#define PCI_IO_LIMIT_OFF 0x1D
5555
#define PCI_PWR_MGMT_CTRL_STATUS 0x84
5656
#define PCI_POWER_STATE_MASK 0x3
5757
/* Shifts & masks for CONFIG_ADDRESS register */

0 commit comments

Comments
 (0)