From 2d1fe7b52c5c0fec6a459d92f64884441219a703 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 16 Aug 2017 01:19:25 +0200 Subject: [PATCH] Properly loaded the correct Adaptec 154xB bioses, leaving "aha154x_bios()" only for the C and CF bioses if needed. --- src/scsi_aha154x.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/scsi_aha154x.c b/src/scsi_aha154x.c index 062c120d6..5ce5d8a0c 100644 --- a/src/scsi_aha154x.c +++ b/src/scsi_aha154x.c @@ -194,8 +194,6 @@ static uint16_t aha_ports[] = { 0x0130, 0x0134, 0x0000, 0x0000 }; -#define WALTJE 1 - #ifdef WALTJE int aha_do_log = 1; # define ENABLE_AHA154X_LOG @@ -321,15 +319,7 @@ aha154x_bios(uint16_t ioaddr, uint32_t memaddr, aha_info *aha, int irq, int dma, /* Set BIOS load address. */ bios_addr = memaddr; /* bios_path = ROMFILE; */ - if (chip == CHIP_AHA154XB) - { - /* bios_path = L"roms/scsi/adaptec/aha1540b310.bin"; */ - bios_path = L"roms/scsi/adaptec/B_AC00.BIN"; - } - else - { bios_path = L"roms/scsi/adaptec/aha1542cf201.bin"; - } pclog_w(L"AHA154x: loading BIOS from '%s'\n", bios_path); /* Open the BIOS image file and make sure it exists. */