Add ISA speed control to PIIX and VIA southbridges, and M6117 SoC
This commit is contained in:
@@ -1237,9 +1237,10 @@ static void
|
||||
piix_speed_changed(void *priv)
|
||||
{
|
||||
piix_t *dev = (piix_t *) priv;
|
||||
int te;
|
||||
if (!dev)
|
||||
return;
|
||||
|
||||
te = timer_is_enabled(&dev->fast_off_timer);
|
||||
int te = timer_is_enabled(&dev->fast_off_timer);
|
||||
|
||||
timer_stop(&dev->fast_off_timer);
|
||||
if (te)
|
||||
@@ -1306,6 +1307,8 @@ static void
|
||||
|
||||
dev->port_92 = device_add(&port_92_pci_device);
|
||||
|
||||
cpu_set_isa_pci_div(4);
|
||||
|
||||
dma_alias_set();
|
||||
|
||||
if (dev->type < 4)
|
||||
|
||||
Reference in New Issue
Block a user