SCSI controller model is now switchable between Adaptec AHA-154x and the BusLogic BT-542B.

This commit is contained in:
OBattler
2017-01-03 02:35:24 +01:00
parent c00be1085d
commit 391855860c
5 changed files with 72 additions and 16 deletions

View File

@@ -641,6 +641,7 @@ void loadconfig(char *fn)
voodoo_enabled = config_get_int(NULL, "voodoo", 0);
buslogic_enabled = config_get_int(NULL, "buslogic", 0);
scsi_model = config_get_int(NULL, "scsi_model", 1);
scsi_base = config_get_int(NULL, "scsi_base", 0x330);
scsi_irq = config_get_int(NULL, "scsi_irq", 11);
scsi_dma = config_get_int(NULL, "scsi_dma", 6);
@@ -846,6 +847,7 @@ void saveconfig()
config_set_int(NULL, "voodoo", voodoo_enabled);
config_set_int(NULL, "buslogic", buslogic_enabled);
config_set_int(NULL, "scsi_model", scsi_model);
config_set_int(NULL, "scsi_base", scsi_base);
config_set_int(NULL, "scsi_irq", scsi_irq);
config_set_int(NULL, "scsi_dma", scsi_dma);