Controller Reg Maps

Started by BrandyWine, September 05, 2025, 08:08:11 PM

Previous topic - Next topic
If anyone has register maps or links to them for any pcie device, please list them here.

Intel nic controllers
NVMe SSD's
other

Using pciconf and the reg maps can help diagnose issues.
Ref: https://www.siberoloji.com/how-to-check-hardware-details-with-pciconf-and-usbconfig-on-freebsd/

Mini-pc N150 i226-V

I found what looks like some reg maps (recent work) done by a git user, covers most of the 200 series.
I need to decipher it, but looks good.

https://github.com/zarfld/intel-ethernet-regs/tree/a024f6d8d24b540600914a22c825b2c1980047af

devices --> gen has the h files that holds the register settings.
Mini-pc N150 i226-V

September 22, 2025, 07:21:40 PM #2 Last Edit: September 23, 2025, 05:53:19 AM by BrandyWine
Another step closer for i225/226
https://www.lcsc.com/datasheet/C26159200.pdf

Page 41 of pdf shows the bit value of the word that enables/disables the ASPM capability.
By default it's 0011011100011111 (0x371F) , the lower 5 bits are the capabilities (on or off, etc).

So we turn it off by changing it to 0011011100000000 (0x3700)

In the v2.32 1MB i226-V bin I can find 371F, but I cannot find it in the i225 bin that's in the Intel 30.4.2 download bundle.
I would basically hex edit a bin file and install it to my unused 226-V nic.
This would 100% disable ASPM, no guessing, no trying settings, etc.

Also, the EEE power crud, should be disabled by default, but know that in the kernel driver code someone flipped the logic, dev.igc.0.eee_control: 1 actually means disabled.

/*
 * Manage Energy Efficient Ethernet:
 * Control values:
 *     0/1 - enabled/disabled
 */
Mini-pc N150 i226-V

Hey guys.

First thanks a lot for your efforts von the NVM update and the ASPM issues with the I226.
I and others experiencing same issues in unraid, regarding ASPM, see here: https://github.com/fenrus75/powertop/issues/143

When we activating "PEG ASPM" in BIOS the NIC throughput of the I226-V drops significantly.
So we are currently disabling "PEG ASPM" in BIOS to get arround this issue.

Sure, the drawback is that the cpu does'nt reach higher c-states than C2/C3, or in other words, it draws more power from the wall.

When i got you right, you are trying to disable ASPM on the card all together.
Our goal (with powertop on unraid) is to enable it and the card should/could handle it, to save more energy.

Do you have any infos if that's a silicon issue and maybe is or can be fixed with an NVM update?
Maybe thats possible with disable a portion (L0, L1, ...) off the ASPM features on the card to preserve "some" ASPM feature and save energy.

Would be nice to hear your thought's.