Calibrate hardware monitor values on Socket 7 boards
This commit is contained in:
@@ -61,7 +61,7 @@ machine_at_chariot_init(const machine_t *model)
|
|||||||
pci_init(PCI_CONFIG_TYPE_1);
|
pci_init(PCI_CONFIG_TYPE_1);
|
||||||
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
||||||
pci_register_slot(0x14, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x14, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
pci_register_slot(0x12, PCI_CARD_NORMAL, 3, 4, 2, 1);
|
pci_register_slot(0x12, PCI_CARD_NORMAL, 3, 4, 2, 1);
|
||||||
pci_register_slot(0x11, PCI_CARD_NORMAL, 4, 3, 2, 1);
|
pci_register_slot(0x11, PCI_CARD_NORMAL, 4, 3, 2, 1);
|
||||||
@@ -91,7 +91,7 @@ machine_at_mr586_init(const machine_t *model)
|
|||||||
pci_init(PCI_CONFIG_TYPE_1);
|
pci_init(PCI_CONFIG_TYPE_1);
|
||||||
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
||||||
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x0B, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
pci_register_slot(0x0B, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
pci_register_slot(0x09, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
pci_register_slot(0x09, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
@@ -488,7 +488,7 @@ machine_at_p55tvp4_init(const machine_t *model)
|
|||||||
pci_register_slot(0x09, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
pci_register_slot(0x09, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
pci_register_slot(0x0B, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
pci_register_slot(0x0B, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
||||||
device_add(&i430vx_device);
|
device_add(&i430vx_device);
|
||||||
device_add(&piix3_device);
|
device_add(&piix3_device);
|
||||||
@@ -682,13 +682,11 @@ machine_at_tx97_init(const machine_t *model)
|
|||||||
{ /* fan speeds */
|
{ /* fan speeds */
|
||||||
3000, /* Chassis */
|
3000, /* Chassis */
|
||||||
3000, /* CPU */
|
3000, /* CPU */
|
||||||
3000, /* Power */
|
3000 /* Power */
|
||||||
0
|
|
||||||
}, { /* temperatures */
|
}, { /* temperatures */
|
||||||
30, /* MB */
|
30, /* MB */
|
||||||
0, /* unused */
|
0, /* unused */
|
||||||
27, /* CPU */
|
8 /* CPU */
|
||||||
0
|
|
||||||
}, { /* voltages */
|
}, { /* voltages */
|
||||||
3300, /* VCORE (3.3V by default) */
|
3300, /* VCORE (3.3V by default) */
|
||||||
0, /* unused */
|
0, /* unused */
|
||||||
@@ -696,20 +694,22 @@ machine_at_tx97_init(const machine_t *model)
|
|||||||
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
||||||
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
||||||
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
||||||
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
RESISTOR_DIVIDER(5000, 1, 2) /* -5V (divider values bruteforced) */
|
||||||
0
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/* Pentium, Pentium OverDrive MMX, Pentium Mobile MMX: 3.3V (real Pentium Mobile MMX is 2.45V).
|
/* Pentium, Pentium OverDrive MMX, Pentium Mobile MMX: 3.3V (real Pentium Mobile MMX is 2.45V).
|
||||||
Pentium MMX: 2.8 V.
|
Pentium MMX: 2.8 V.
|
||||||
AMD K6 Model 6: 2.9 V for 166/200, 3.2 V for 233.
|
AMD K6 Model 6: 2.9 V for 166/200, 3.2 V for 233.
|
||||||
AMD K6 Model 7: 2.2 V. */
|
AMD K6 Model 7: 2.2 V. */
|
||||||
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUMMMX)
|
switch (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type) {
|
||||||
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Pentium MMX */
|
case CPU_PENTIUMMMX:
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6)
|
machine_hwm.voltages[0] = 2800;
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
break;
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6_2)
|
case CPU_K6:
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
case CPU_K6_2:
|
||||||
|
machine_hwm.voltages[0] = 2200;
|
||||||
|
break;
|
||||||
|
}
|
||||||
hwm_set_values(machine_hwm);
|
hwm_set_values(machine_hwm);
|
||||||
device_add(&w83781d_device);
|
device_add(&w83781d_device);
|
||||||
|
|
||||||
@@ -745,31 +745,6 @@ machine_at_ym430tx_init(const machine_t *model)
|
|||||||
device_add(&w83977tf_device);
|
device_add(&w83977tf_device);
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
|
|
||||||
hwm_values_t machine_hwm = {
|
|
||||||
{ /* fan speeds */
|
|
||||||
3000, /* Chassis */
|
|
||||||
3000, /* CPU */
|
|
||||||
3000, /* Power */
|
|
||||||
0
|
|
||||||
}, { /* temperatures */
|
|
||||||
30, /* MB */
|
|
||||||
0, /* unused */
|
|
||||||
27, /* CPU */
|
|
||||||
0
|
|
||||||
}, { /* voltages */
|
|
||||||
2050, /* VCORE (2.05V by default) */
|
|
||||||
0, /* unused */
|
|
||||||
3300, /* +3.3V */
|
|
||||||
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
|
||||||
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
|
||||||
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
|
||||||
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
|
||||||
0
|
|
||||||
}
|
|
||||||
};
|
|
||||||
hwm_set_values(machine_hwm);
|
|
||||||
device_add(&w83781d_device);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -830,41 +805,6 @@ machine_at_807ds_init(const machine_t *model)
|
|||||||
device_add(&um8669f_device); /*Placeholder for ITE 8679*/
|
device_add(&um8669f_device); /*Placeholder for ITE 8679*/
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
|
|
||||||
hwm_values_t machine_hwm = {
|
|
||||||
{ /* fan speeds */
|
|
||||||
3000, /* Chassis */
|
|
||||||
3000, /* CPU */
|
|
||||||
3000, /* Power */
|
|
||||||
0
|
|
||||||
}, { /* temperatures */
|
|
||||||
30, /* MB */
|
|
||||||
0, /* unused */
|
|
||||||
27, /* CPU */
|
|
||||||
0
|
|
||||||
}, { /* voltages */
|
|
||||||
3300, /* VCORE (3.3V by default) */
|
|
||||||
0, /* unused */
|
|
||||||
3300, /* +3.3V */
|
|
||||||
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
|
||||||
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
|
||||||
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
|
||||||
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
|
||||||
0
|
|
||||||
}
|
|
||||||
};
|
|
||||||
/* Pentium, Pentium OverDrive MMX, Pentium Mobile MMX: 3.3V (real Pentium Mobile MMX is 2.45V).
|
|
||||||
Pentium MMX: 2.8 V.
|
|
||||||
AMD K6 Model 6: 2.9 V for 166/200, 3.2 V for 233.
|
|
||||||
AMD K6 Model 7: 2.2 V. */
|
|
||||||
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUMMMX)
|
|
||||||
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Pentium MMX */
|
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6)
|
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6_2)
|
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
|
||||||
hwm_set_values(machine_hwm);
|
|
||||||
device_add(&w83781d_device);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -897,38 +837,36 @@ machine_at_p5mms98_init(const machine_t *model)
|
|||||||
|
|
||||||
hwm_values_t machine_hwm = {
|
hwm_values_t machine_hwm = {
|
||||||
{ /* fan speeds */
|
{ /* fan speeds */
|
||||||
3000, /* Chassis */
|
3000, /* Thermal */
|
||||||
3000, /* CPU */
|
3000, /* CPU */
|
||||||
3000, /* Power */
|
3000 /* Chassis */
|
||||||
0
|
|
||||||
}, { /* temperatures */
|
}, { /* temperatures */
|
||||||
30, /* MB */
|
28 /* CPU (locked at 28?) */
|
||||||
0, /* unused */
|
|
||||||
27, /* CPU */
|
|
||||||
0
|
|
||||||
}, { /* voltages */
|
}, { /* voltages */
|
||||||
3300, /* VCORE (3.3V by default) */
|
3300, /* VCORE (3.3V by default) */
|
||||||
0, /* unused */
|
3300, /* VIO (3.3V) */
|
||||||
3300, /* +3.3V */
|
3300, /* +3.3V */
|
||||||
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
||||||
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
||||||
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
||||||
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
RESISTOR_DIVIDER(5000, 1, 2) /* -5V (divider values bruteforced) */
|
||||||
0
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/* Pentium, Pentium OverDrive MMX, Pentium Mobile MMX: 3.3V (real Pentium Mobile MMX is 2.45V).
|
/* Pentium, Pentium OverDrive MMX, Pentium Mobile MMX: 3.3V (real Pentium Mobile MMX is 2.45V).
|
||||||
Pentium MMX: 2.8 V.
|
Pentium MMX: 2.8 V.
|
||||||
AMD K6 Model 6: 2.9 V for 166/200, 3.2 V for 233.
|
AMD K6 Model 6: 2.9 V for 166/200, 3.2 V for 233.
|
||||||
AMD K6 Model 7: 2.2 V. */
|
AMD K6 Model 7: 2.2 V. */
|
||||||
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUMMMX)
|
switch (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type) {
|
||||||
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Pentium MMX */
|
case CPU_PENTIUMMMX:
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6)
|
machine_hwm.voltages[0] = 2800;
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
break;
|
||||||
else if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_K6_2)
|
case CPU_K6:
|
||||||
machine_hwm.voltages[0] = 2200; /* set higher VCORE (2.8V) for Pentium MMX */
|
case CPU_K6_2:
|
||||||
|
machine_hwm.voltages[0] = 2200;
|
||||||
|
break;
|
||||||
|
}
|
||||||
hwm_set_values(machine_hwm);
|
hwm_set_values(machine_hwm);
|
||||||
device_add(&w83781d_device);
|
device_add(&lm78_device);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -951,14 +889,13 @@ machine_at_ficva502_init(const machine_t *model)
|
|||||||
pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
pci_register_slot(0x0B, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
pci_register_slot(0x0B, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
||||||
device_add(&via_vpx_device);
|
device_add(&via_vpx_device);
|
||||||
device_add(&via_vt82c586b_device);
|
device_add(&via_vt82c586b_device);
|
||||||
device_add(&keyboard_ps2_pci_device);
|
device_add(&keyboard_ps2_pci_device);
|
||||||
device_add(&fdc37c669_device);
|
device_add(&fdc37c669_device);
|
||||||
device_add(&sst_flash_29ee010_device);
|
device_add(&sst_flash_29ee010_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -981,14 +918,13 @@ machine_at_ficpa2012_init(const machine_t *model)
|
|||||||
pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
pci_register_slot(0x0B, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
pci_register_slot(0x0B, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
||||||
device_add(&via_vp3_device);
|
device_add(&via_vp3_device);
|
||||||
device_add(&via_vt82c586b_device);
|
device_add(&via_vt82c586b_device);
|
||||||
device_add(&keyboard_ps2_pci_device);
|
device_add(&keyboard_ps2_pci_device);
|
||||||
device_add(&w83877f_device);
|
device_add(&w83877f_device);
|
||||||
device_add(&sst_flash_39sf010_device);
|
device_add(&sst_flash_39sf010_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 64);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -1018,7 +954,6 @@ machine_at_advanceii_init(const machine_t *model)
|
|||||||
device_add(&keyboard_ps2_pci_device);
|
device_add(&keyboard_ps2_pci_device);
|
||||||
device_add(&um8669f_device); //IT8661F
|
device_add(&um8669f_device); //IT8661F
|
||||||
device_add(&sst_flash_39sf010_device);
|
device_add(&sst_flash_39sf010_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 64);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user