summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdk8/incoherent_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdk8/incoherent_ht.c b/src/northbridge/amd/amdk8/incoherent_ht.c
index d947ea3d4d..2dc3043932 100644
--- a/src/northbridge/amd/amdk8/incoherent_ht.c
+++ b/src/northbridge/amd/amdk8/incoherent_ht.c
@@ -302,7 +302,7 @@ static int ht_setup_chainx(device_t udev, unsigned upos, unsigned bus)
pci_write_config16(dev, pos + PCI_CAP_FLAGS, flags);
/* Remeber the location of the last device */
- udev = PCI_DEV(0, next_unitid, 0);
+ udev = PCI_DEV(bus, next_unitid, 0);
upos = pos;
uoffs = PCI_HT_SLAVE1_OFFS;