Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct offset missing when reading INGRESS_CONTROL register with IngressNum != 0 #322

Open
Maaxim opened this issue Nov 5, 2024 · 0 comments

Comments

@Maaxim
Copy link

Maaxim commented Nov 5, 2024

Val = XPciePsu_ReadReg(PciePsuPtr->Config.BrigReg, INGRESS0_CONTROL);

This might be a bug here. Shouldn't it be (INGRESS0_CONTROL + (IngressNum * INGRESS_SIZE))
instead of INGRESS0_CONTROL when reading ingress control register?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant