; version 2.1 - disabled bios switch settings were wrong

BOARD
     ID = "DEL0F0C"
     NAME = "Adaptec AHA-1540C/1542C SCSI/Floppy Disk Controller"
     MFR = "Adaptec"
     CATEGORY = "MSD"
     SLOT = ISA16
     COMMENTS = "Adaptec 1540C/1542C SCSI/Floppy Disk Controller\n"
     VERSION = 2.1

SWITCH(1) = 8
     NAME = "SW1"
     STYPE = DIP
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-8) "S1-SP1"
                      "S1-SP2"
                      "S1-SP3"
                      "S1-SP4"
                      "S1-SP5"
                      "S1-SP6"
                      "S1-SP7"
                      "S1-SP8"
     FACTORY = LOC(1-8) 00001000

SOFTWARE(1) = "This board is partially configured through software. Press
               Ctrl-A at system boot time to execute the Adaptec configuration
               software.  Use the configuration software to set the following:\n
               \nBIOS Enable/Disable = bios
               \nDMA Channel = dma
               \nInterrupt = int
               \nSCSI ID = sid\n"

GROUP = "System Resources"
TYPE = "MSD"

FUNCTION = "SCSI Controller"
TYPE = "SCS"

  SUBFUNCTION = "BIOS Address"
     CHOICE = "DC000-DFFFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0DC000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 000
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "C8000-CBFFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0C8000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 101
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "CC000-CFFFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0CC000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 001
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "D0000-D3FFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0D0000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 110
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "D4000-D7FFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0D4000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 010
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "D8000-DBFFF"
       FREE
       MEMORY = 16K
       ADDRESS = 0D8000H
       WRITABLE = NO
       MEMTYPE = OTH
       SHARE = NO
       INIT = SWITCH(1) LOC(6 7 8) 100
       INIT = SOFTWARE(1) "bios = Enable"
     CHOICE = "Disabled"
       DISABLE = YES
       FREE
       INIT = SOFTWARE(1) "bios = Disable"
       INIT = SWITCH(1) LOC(6 7 8) 111

  SUBFUNCTION = "I/O Port Address"
     CHOICE = "330h"
       FREE
       PORT = 330H-333H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 000
     CHOICE = "130h"
       FREE
       PORT = 130H-133H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 001
     CHOICE = "134h"
       FREE
       PORT = 134H-137H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 101
     CHOICE = "230h"
       FREE
       PORT = 230H-233H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 010
     CHOICE = "234h"
       FREE
       PORT = 234H-237H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 110
     CHOICE = "334h"
       FREE
       PORT = 334H-337H
       SHARE = NO
       INIT = SWITCH(1) LOC(2 3 4) 100

  SUBFUNCTION = "DMA Channel"
     CHOICE = "5"
       FREE
       DMA = 5
       SHARE = NO
       INIT = SOFTWARE(1) "dma = 5"
     CHOICE = "0"
       FREE
       DMA = 0
       SHARE = NO
       INIT = SOFTWARE(1) "dma = 0"
     CHOICE = "6"
       FREE
       DMA = 6
       SHARE = NO
       INIT = SOFTWARE(1) "dma = 0"
     CHOICE = "7"
       FREE
       DMA = 7
       SHARE = NO
       INIT = SOFTWARE(1) "dma = 0"

  SUBFUNCTION = "Interrupt"
     CHOICE = "11"
       FREE
       IRQ = 11
       SHARE = NO
       INIT = SOFTWARE(1) "int = 11"
     CHOICE = "9"
       FREE
       IRQ = 9
       SHARE = NO
       INIT = SOFTWARE(1) "int = 9"
     CHOICE = "10"
       FREE
       IRQ = 10
       SHARE = NO
       INIT = SOFTWARE(1) "int = 0"
     CHOICE = "12"
       FREE
       IRQ = 12
       SHARE = NO
       INIT = SOFTWARE(1) "int = 12"
     CHOICE = "14"
       FREE
       IRQ = 14
       SHARE = NO
       INIT = SOFTWARE(1) "int = 14"
     CHOICE = "15"
       FREE
       IRQ = 15
       SHARE = NO
       INIT = SOFTWARE(1) "int = 15"

  SUBFUNCTION = "Adapter SCSI ID"
     CHOICE = "7"
       FREE
       INIT = SOFTWARE(1) "sid = 7"
     CHOICE = "6"
       FREE
       INIT = SOFTWARE(1) "sid = 6"
     CHOICE = "5"
       FREE
       INIT = SOFTWARE(1) "sid = 5"
     CHOICE = "4"
       FREE
       INIT = SOFTWARE(1) "sid = 4"
     CHOICE = "3"
       FREE
       INIT = SOFTWARE(1) "sid = 3"
     CHOICE = "2"
       FREE
       INIT = SOFTWARE(1) "sid = 2"
     CHOICE = "1"
       FREE
       INIT = SOFTWARE(1) "sid = 1"
     CHOICE = "0"
       FREE
       INIT = SOFTWARE(1) "sid = 0"


FUNCTION = "Floppy Controller"
TYPE = "FDC"

     CHOICE = "Disabled"
       FREE
       INIT = SWITCH(1) LOC(5) 1

     CHOICE = "3F0H-3F7H"
       FREE
        PORT = 3F0H-3F7H
        SHARE = NO
       FREE
        DMA = 2
        SHARE = NO
       FREE
        IRQ = 6
        SHARE = NO
       INIT = SWITCH(1) LOC(5) 0
     CHOICE = "370H-377H"
       FREE
        PORT = 370H-377H
        SHARE = NO
       FREE
        DMA = 2
        SHARE = NO
       FREE
        IRQ = 6
        SHARE = NO
       INIT = SWITCH(1) LOC(5) 0

ENDGROUP
