Skip to content

Commit

Permalink
core/msi/LitePCIeMSIX: Mask all MSI-X by default and let the driver u…
Browse files Browse the repository at this point in the history
…n-mask them.
  • Loading branch information
enjoy-digital committed Feb 12, 2024
1 parent 8354a26 commit a876564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litepcie/core/msi.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(self, endpoint, width=32, default_enable=0):
self.pba = CSRStatus(width, description="""MSI-X PBA Table.""")
if width <= 32:
self.reserved1 = CSRStorage() # For 64-bit alignment.
self.specials.table = Memory(4*32, width) # MSI-X Table.
self.specials.table = Memory(4*32, width, init=[0b1 for _ in range(width)]) # MSI-X Table / Masked by default.

# # #

Expand Down

0 comments on commit a876564

Please sign in to comment.