@@ -36,6 +36,7 @@ public SuperIOHardware(Motherboard motherboard, ISuperIO superIO, Manufacturer m
3636 GetBoardSpecificConfiguration ( superIO ,
3737 manufacturer ,
3838 model ,
39+ index ,
3940 out IList < Voltage > v ,
4041 out IList < Temperature > t ,
4142 out IList < Fan > f ,
@@ -181,6 +182,7 @@ private static void GetBoardSpecificConfiguration
181182 ISuperIO superIO ,
182183 Manufacturer manufacturer ,
183184 Model model ,
185+ int superIOIndex ,
184186 out IList < Voltage > v ,
185187 out IList < Temperature > t ,
186188 out IList < Fan > f ,
@@ -353,7 +355,7 @@ private static void GetBoardSpecificConfiguration
353355 case Chip . NCT6798D :
354356 case Chip . NCT6799D :
355357 case Chip . NCT6683D :
356- GetNuvotonConfigurationD ( superIO , manufacturer , model , v , t , f , c ) ;
358+ GetNuvotonConfigurationD ( superIO , manufacturer , model , superIOIndex , v , t , f , c ) ;
357359 break ;
358360
359361 case Chip . NCT6686D :
@@ -2932,7 +2934,7 @@ private static void GetNuvotonConfigurationF(ISuperIO superIO, Manufacturer manu
29322934 }
29332935 }
29342936
2935- private static void GetNuvotonConfigurationD ( ISuperIO superIO , Manufacturer manufacturer , Model model , IList < Voltage > v , IList < Temperature > t , IList < Fan > f , IList < Control > c )
2937+ private static void GetNuvotonConfigurationD ( ISuperIO superIO , Manufacturer manufacturer , Model model , int index , IList < Voltage > v , IList < Temperature > t , IList < Fan > f , IList < Control > c )
29362938 {
29372939 switch ( manufacturer )
29382940 {
@@ -3312,6 +3314,55 @@ private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manu
33123314 c . Add ( new Control ( "Chassis Fan #3" , 6 ) ) ;
33133315 break ;
33143316
3317+ case Model . Z790_Nova_WiFi :
3318+ if ( index != 0 )
3319+ {
3320+ // second SIO
3321+ v . Add ( new Voltage ( "1.05V CPU" , 0 ) ) ;
3322+ v . Add ( new Voltage ( "CPU I/O" , 1 ) ) ;
3323+ v . Add ( new Voltage ( "0.82V Chipset" , 4 ) ) ;
3324+ v . Add ( new Voltage ( "1.05V Chipset" , 12 , 5 , 100 ) ) ;
3325+
3326+ f . Add ( new Fan ( "VRM" , 0 ) ) ;
3327+ f . Add ( new Fan ( "MOS" , 1 ) ) ;
3328+
3329+ c . Add ( new Control ( "VRM" , 0 ) ) ;
3330+ c . Add ( new Control ( "MOS" , 1 ) ) ;
3331+ }
3332+ else
3333+ {
3334+ v . Add ( new Voltage ( "Vcore" , 0 ) ) ;
3335+ v . Add ( new Voltage ( "+5V" , 1 , 20 , 10 ) ) ;
3336+ v . Add ( new Voltage ( "+3.3V" , 3 , 34 , 34 ) ) ;
3337+ v . Add ( new Voltage ( "+12V" , 4 , 110 , 10 ) ) ;
3338+ v . Add ( new Voltage ( "CPU Input Auxiliary" , 5 , 1 , 1 ) ) ;
3339+ v . Add ( new Voltage ( "CPU System Agent" , 13 , 1 , 1 ) ) ;
3340+ v . Add ( new Voltage ( "+5V Standby" , 14 , 235 , 100 ) ) ;
3341+
3342+ f . Add ( new Fan ( "Chassis #3" , 0 ) ) ;
3343+ f . Add ( new Fan ( "CPU #1" , 1 ) ) ;
3344+ f . Add ( new Fan ( "CPU #2" , 2 ) ) ;
3345+ f . Add ( new Fan ( "Chassis #1" , 3 ) ) ;
3346+ f . Add ( new Fan ( "Chassis #2" , 4 ) ) ;
3347+ f . Add ( new Fan ( "Chassis #4" , 5 ) ) ;
3348+ f . Add ( new Fan ( "Chassis #5" , 6 ) ) ;
3349+
3350+ c . Add ( new Control ( "Chassis #3" , 0 ) ) ;
3351+ c . Add ( new Control ( "CPU #1" , 1 ) ) ;
3352+ c . Add ( new Control ( "CPU #2" , 2 ) ) ;
3353+ c . Add ( new Control ( "Chassis #1" , 3 ) ) ;
3354+ c . Add ( new Control ( "Chassis #2" , 4 ) ) ;
3355+ c . Add ( new Control ( "Chassis #4" , 5 ) ) ;
3356+ c . Add ( new Control ( "Chassis #5" , 6 ) ) ;
3357+
3358+ t . Add ( new Temperature ( "CPU Core" , 0 ) ) ;
3359+ t . Add ( new Temperature ( "Motherboard" , 2 ) ) ;
3360+ t . Add ( new Temperature ( "External #1" , 3 ) ) ;
3361+ t . Add ( new Temperature ( "External #2" , 4 ) ) ;
3362+ t . Add ( new Temperature ( "External #3" , 5 ) ) ;
3363+ }
3364+ break ;
3365+
33153366 case Model . B650M_C : // NCT6799D
33163367 v . Add ( new Voltage ( "Vcore" , 0 ) ) ;
33173368 v . Add ( new Voltage ( "+12V" , 1 , 56 , 10 ) ) ;
0 commit comments