mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Reorder capability registrations
This commit is contained in:
parent
1480be2173
commit
f92c1ea980
@ -650,10 +650,10 @@ class UltrascalePCIeFunction(Endpoint, MSICapability, MSIXCapability):
|
||||
self.msi_64bit_address_capable = 1
|
||||
self.msi_per_vector_mask_capable = 0
|
||||
|
||||
self.register_capability(PCIE_CAP_ID, offset=48)
|
||||
self.register_capability(MSIX_CAP_ID, offset=44)
|
||||
self.register_capability(PM_CAP_ID, offset=32)
|
||||
self.register_capability(MSI_CAP_ID, offset=36)
|
||||
self.register_capability(PM_CAP_ID, offset=0x20)
|
||||
self.register_capability(MSI_CAP_ID, offset=0x24)
|
||||
self.register_capability(MSIX_CAP_ID, offset=0x2c)
|
||||
self.register_capability(PCIE_CAP_ID, offset=0x30)
|
||||
|
||||
|
||||
class UltrascalePCIe(Device):
|
||||
|
Loading…
x
Reference in New Issue
Block a user