summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Pci.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/Pci.py')
-rw-r--r--src/python/m5/objects/Pci.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/objects/Pci.py b/src/python/m5/objects/Pci.py
index 7c239d069..9872532ab 100644
--- a/src/python/m5/objects/Pci.py
+++ b/src/python/m5/objects/Pci.py
@@ -50,7 +50,7 @@ class PciConfigAll(PioDevice):
class PciDevice(DmaDevice):
type = 'PciDevice'
abstract = True
- config = Port("PCI configuration space port")
+ config = Port(Self.pio.peerObj.port, "PCI configuration space port")
pci_bus = Param.Int("PCI bus")
pci_dev = Param.Int("PCI device number")
pci_func = Param.Int("PCI function code")