Fixed an IF block in the PS/1 code.
This commit is contained in:
@@ -459,12 +459,6 @@ ps1_setup(int model)
|
|||||||
|
|
||||||
lpt2_remove();
|
lpt2_remove();
|
||||||
|
|
||||||
/* Enable the PS/1 VGA controller. */
|
|
||||||
if (model == 2011)
|
|
||||||
device_add(&ps1vga_device);
|
|
||||||
else
|
|
||||||
device_add(&ibm_ps1_2121_device);
|
|
||||||
|
|
||||||
device_add(&snd_device);
|
device_add(&snd_device);
|
||||||
|
|
||||||
device_add(&fdc_at_actlow_device);
|
device_add(&fdc_at_actlow_device);
|
||||||
@@ -505,6 +499,12 @@ ps1_setup(int model)
|
|||||||
device_add(&ide_isa_device);
|
device_add(&ide_isa_device);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Enable the PS/1 VGA controller. */
|
||||||
|
if (model == 2011)
|
||||||
|
device_add(&ps1vga_device);
|
||||||
|
else
|
||||||
|
device_add(&ibm_ps1_2121_device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user