SiS 85c4xx: Gate two 471-specific changes in a 471 check, fixes the SiS 461 DECpc machine.
This commit is contained in:
@@ -595,12 +595,14 @@ sis_85c4xx_out(uint16_t port, uint8_t val, void *priv)
|
|||||||
|
|
||||||
switch (rel_reg) {
|
switch (rel_reg) {
|
||||||
case 0x00:
|
case 0x00:
|
||||||
if (val & 0x01) {
|
if (dev->is_471) {
|
||||||
kbc_at_set_fast_reset(0);
|
if (val & 0x01) {
|
||||||
cpu_cpurst_on_sr = 1;
|
kbc_at_set_fast_reset(0);
|
||||||
} else {
|
cpu_cpurst_on_sr = 1;
|
||||||
kbc_at_set_fast_reset(1);
|
} else {
|
||||||
cpu_cpurst_on_sr = 0;
|
kbc_at_set_fast_reset(1);
|
||||||
|
cpu_cpurst_on_sr = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -614,7 +616,7 @@ sis_85c4xx_out(uint16_t port, uint8_t val, void *priv)
|
|||||||
case 0x08:
|
case 0x08:
|
||||||
if (valxor)
|
if (valxor)
|
||||||
sis_85c4xx_recalcmapping(dev);
|
sis_85c4xx_recalcmapping(dev);
|
||||||
if (rel_reg == 0x08)
|
if ((rel_reg == 0x08) && dev->is_471)
|
||||||
flushmmucache();
|
flushmmucache();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user