pci: Make Python wrapper cast to the right type
The PCI base class is PciDev and not PciDevice, which is used by the Python world. Make sure this is reflected in the wrapper code.
This commit is contained in:
parent
249e318212
commit
044a652587
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ class PciConfigAll(PioDevice):
|
|||
|
||||
class PciDevice(DmaDevice):
|
||||
type = 'PciDevice'
|
||||
cxx_class = 'PciDev'
|
||||
abstract = True
|
||||
platform = Param.Platform(Parent.any, "Platform this device is part of.")
|
||||
config = SlavePort("PCI configuration space port")
|
||||
|
|
Loading…
Reference in a new issue