SCSI controller model is now switchable between Adaptec AHA-154x and the BusLogic BT-542B.
This commit is contained in:
2
src/pc.c
2
src/pc.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user