SMBusPawnIO: Extract helper method and clean up code#5
SMBusPawnIO: Extract helper method and clean up code#5jerrylzy wants to merge 2 commits intoBlacktempel:masterfrom
Conversation
jerrylzy
commented
Sep 22, 2025
- Extract LoadModuleAndAddSMBus helper method to reduce duplication
- Simplify SMBus detection logic with consistent pattern for all types
- Replace unused out parameters with discard pattern (_)
- Convert nested using statements to simplified using declarations
* Extract LoadModuleAndAddSMBus helper method to reduce duplication * Simplify SMBus detection logic with consistent pattern for all types * Replace unused out parameters with discard pattern (_) * Convert nested using statements to simplified using declarations
|
Thank you, I will check this later. |
|
Regarding mutexes I'd like to keep them nested for special debugging purposes. |
The changes I made are functionally equivalent to existing code. The And why would it prevent piix4 at port 1 from being loaded? It returns true as long as
|
|
I'll re-check in a bit. Maybe I mis-read/interpreted the logic. |
|
Sorry for the delay, I have a lot on my table at the moment. Can take a couple of days longer. |
No worries. My PR doesn't have any functional changes; it's just something I saw when I was debugging this area. |

