amdtemp(4): Add missing Family 17h models
Add missing model numbers M20h (Dali, Zen1), M60H (Renoir, Zen2), and M90H (Van Gogh, Zen2). Submitted by: Greg V <greg AT unrelenting.technology>
This commit is contained in:
parent
ea6189d3a4
commit
b499ab877f
@ -811,11 +811,12 @@ amdtemp_probe_ccd_sensors17h(device_t dev, uint32_t model)
|
||||
uint32_t maxreg;
|
||||
|
||||
switch (model) {
|
||||
case 0x00 ... 0x1f: /* Zen1, Zen+ */
|
||||
case 0x00 ... 0x2f: /* Zen1, Zen+ */
|
||||
maxreg = 4;
|
||||
break;
|
||||
case 0x30 ... 0x3f: /* Zen2 TR/EPYC */
|
||||
case 0x70 ... 0x7f: /* Zen2 Ryzen */
|
||||
case 0x30 ... 0x3f: /* Zen2 TR (Castle Peak)/EPYC (Rome) */
|
||||
case 0x60 ... 0x7f: /* Zen2 Ryzen (Renoir APU, Matisse) */
|
||||
case 0x90 ... 0x9f: /* Zen2 Ryzen (Van Gogh APU) */
|
||||
maxreg = 8;
|
||||
_Static_assert((int)NUM_CCDS >= 8, "");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user