Remove the programming switch of the M1217
As we do only shadowing, it's not really needed.
This commit is contained in:
@@ -8,7 +8,8 @@
|
|||||||
*
|
*
|
||||||
* Implementation of the ALi M1217 chipset.
|
* Implementation of the ALi M1217 chipset.
|
||||||
*
|
*
|
||||||
*
|
* Note: This chipset has no datasheet, everything were done via
|
||||||
|
* reverse engineering the BIOS of various machines using it.
|
||||||
*
|
*
|
||||||
* Authors: Tiseno100
|
* Authors: Tiseno100
|
||||||
*
|
*
|
||||||
@@ -90,13 +91,9 @@ ali1217_write(uint16_t addr, uint8_t val, void *priv)
|
|||||||
if (!dev->cfg_locked)
|
if (!dev->cfg_locked)
|
||||||
{
|
{
|
||||||
dev->regs[dev->index] = val;
|
dev->regs[dev->index] = val;
|
||||||
switch (dev->index)
|
|
||||||
{
|
if ((dev->index == 0x14) || (dev->index == 0x15))
|
||||||
case 0x14:
|
|
||||||
case 0x15:
|
|
||||||
ali1217_shadow_recalc(dev);
|
ali1217_shadow_recalc(dev);
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user