
BOARD
   ID = "ADP0100"
   NAME = "Adaptec AHA-1540/1542 ISA SCSI Host Adapter"
   MFR = "Adaptec, Inc."
   CATEGORY = "MSD"
   LENGTH = 330
   BUSMASTER = 50
   AMPERAGE = 1200
   COMMENTS = "AHA-1540B/1542B EISA Configuration File Version 1.00\n\n"
                
   HELP = "Select the desired AHA-1540/1542 configuration.  Then
	   use the configuration utility \"View Switches and Jumpers\"
           option to verify that the AHA-1540/1542 jumpers have been 
	   set correctly for this configuration.  The default 
	   configuration is identical with the factory jumper settings."

JUMPER(5) = 13
     NAME = "J5"
     JTYPE = PAIRED
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-13) "Sync" 
   		       "Diags"
                       "Parity"
                       "SCSI ID 0" "SCSI ID 1" "SCSI ID 2"
                       "DMA 0" "DMA 1"
                       "IRQ 0" "IRQ 1" "IRQ 2"
                       "DMA Spd 0" "DMA Spd 1"
     FACTORY = LOC(1-13) 0000000101000
     INITVAL = LOC(1-13) x0xxxxxxxxxxx

JUMPER(6) = 5
     NAME = "J6"
     JTYPE = PAIRED
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-5) "BIOS En"
		      "Spare 1" "Spare 2" "Spare 3"
		      "Sense Dis"
     FACTORY = LOC(1-5) 10000

JUMPER(7) = 8
     NAME = "J7"
     JTYPE = PAIRED
     VERTICAL = YES
     REVERSE = YES
     LABEL = LOC(1-8) "Flpy Addr"
		      "Port 0" "Port 1" "Port 2"
		      "Wait 0" "Wait 1"
		      "BIOS 0" "BIOS 1"
     FACTORY = LOC(1-8) 01000000

JUMPER(8) = 8
     NAME = "J8"
     JTYPE = PAIRED
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-8) "Flpy En"
		      "DREQ 2" "DREQ 3"
		      "DACK 2" "DACK 3"
		      "IRQ 6" "IRQ 10"
		      "Dual Spd"
     FACTORY = LOC(1-8) 11010100

JUMPER(9) = 14
     NAME = "J9"
     JTYPE = PAIRED
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-14) "DRQ 0" "DRQ 5" "DRQ 6" "DRQ 7" 
		       "DACK 0" "DACK 5" "DACK 6" "DACK 7"
		       "IRQ 9" "IRQ 10" "IRQ 11" "IRQ 12" "IRQ 14" "IRQ 15"	
     FACTORY = LOC(1-14) 01000100001000
	
	
GROUP = "Host Adapter System Resources"
	TYPE = "MSD"

FUNCTION = "I/O Port Base Address"
	COMMENTS = "Select the host adapter I/O port base address.  The 
		    I/O port address select jumpers at J7 postitions 2, 3 
	            and 4 must correspond to this selection."
	HELP = "Select the base address of the host adapter interface 
		registers in the ISA I/O address space. The jumpers
		that select the I/O port base address on the host adapter
		are positions 2, 3, and 4 on Jumper block J7.  These jumpers
		must be configured to correspond with the chosen port
		address.  Use the configuration utility \"View Jumpers 
		and Switches\" option to determine the correct jumper
		settings."

           CHOICE = "I/O Port 330H"
                 LINK
                 PORT = 330h-333h
		 INIT = JUMPER(7) LOC(4 3 2) 001

           CHOICE = "I/O Port 230H"
                 LINK
                 PORT = 230h-233h
		 INIT = JUMPER(7) LOC(4 3 2) 011

           CHOICE = "I/O Port 130H"
                 LINK
                 PORT = 130h-133h  
		 INIT = JUMPER(7) LOC(4 3 2) 101

           CHOICE = "I/O Port 334H"
                 LINK
                 PORT = 334h-337h
		 INIT = JUMPER(7) LOC(4 3 2) 000
           CHOICE = "I/O Port 234H"
                 LINK
                 PORT = 234h-237h
		 INIT = JUMPER(7) LOC(4 3 2) 010

           CHOICE = "I/O Port 134H"
                 LINK
                 PORT = 134h-137h
		 INIT = JUMPER(7) LOC(4 3 2) 100

FUNCTION = "Interrupt Channel"
	COMMENTS = "Select the host adapter interrupt channel. 
		    This selection must correspond with the Jumper setting
		    of Jumper J5 positions 9, 10, and 11, and Jumper J9
		    positions 9 through 14."
	HELP = "Select which interrupt channel is to be used by the host
	        adapter hardware.  The host adapter IRQ select jumpers on 
		both jumper blocks J5 and J9 must be set to correspond with
		the interrupt channel selected in this menu.  On J5, jumper
		positions 9, 10 and 11 must be configured.  Jumper 
		positions 9 through 14 must configured on J9. Use the 
		configuration utility \"View Jumpers and Switches\" option
		to determine the correct jumper settings."

           CHOICE = "IRQ 11"
                 LINK
                 IRQ = 11
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 010 
		 INIT = JUMPER(9) LOC(9-14) 001000

           CHOICE = "IRQ 12"
                 LINK
                 IRQ = 12
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 110 
		 INIT = JUMPER(9) LOC(9-14) 000100

           CHOICE = "IRQ 10"
                 LINK
                 IRQ = 10
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 100 
		 INIT = JUMPER(9) LOC(9-14) 010000
        
           CHOICE = "IRQ 15"
                 LINK
                 IRQ = 15
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 101 
		 INIT = JUMPER(9) LOC(9-14) 000001

           CHOICE = "IRQ 14"
                 LINK
                 IRQ = 14
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 001 
		 INIT = JUMPER(9) LOC(9-14) 000010

           CHOICE = "IRQ  9"
                 LINK
                 IRQ = 9
		 TRIGGER = EDGE
                 SHARE = NO
		 INIT = JUMPER(5) LOC(9 10 11) 000
		 INIT = JUMPER(9) LOC(9-14) 100000


FUNCTION = "DMA Channel"
	COMMENTS = "Select the host adapter DMA channel. 
		    This selection must correspond with the Jumper setting
		    of Jumper J5 positions 7 and 8, and Jumper J9
		    positions 1 through 8."
	HELP = "Select which DMA channel is to be used by the host
	        adapter hardware.  The host adapter DMA select jumpers on 
		both jumper blocks J5 and J9 must be set to correspond with
		the DMA channel selected in this menu.  On J5, jumper
		positions 7 and 8 must be configured.  Jumper 
		positions 1 through 8 must configured on J9. Use the 
		configuration utility \"View Jumpers and Switches\" option
		to determine the correct jumper settings."

        CHOICE = "DMA Channel 5"
                LINK                
                DMA = 5
                SHARE = NO
                INIT = JUMPER(5) LOC(7 8) 01
                INIT = JUMPER(9) LOC(1-8) 01000100 
	         
        CHOICE = "DMA Channel 6"
                LINK                
                DMA = 6
                SHARE = NO
                INIT = JUMPER(5) LOC(7 8) 10
                INIT = JUMPER(9) LOC(1-8) 00100010 

        CHOICE = "DMA Channel 7"
                LINK                
                DMA = 7
                SHARE = NO
                INIT = JUMPER(5) LOC(7 8) 00
                INIT = JUMPER(9) LOC(1-8) 00010001 

        CHOICE = "DMA Channel 0"
                LINK                
                DMA = 0
                SHARE = NO
                INIT = JUMPER(5) LOC(7 8) 11
                INIT = JUMPER(9) LOC(1-8) 10001000 

FUNCTION = "BIOS Base Address"
	COMMENTS = "Select the host adapter BIOS base address. 
		    This selection must correspond with the Jumper setting
		    of Jumper J7 positions 7 and 8.  The BIOS enable jumper
		    on J6 position 1 must also be set to reflect whether 
		    or not the BIOS is enabled."
	HELP = "Select the base address in system optional ROM memory
		for the host adapter BIOS.  The BIOS will begin at the 
		specified address and is 16KB in length.  The BIOS address
		select jumpers on jumper block J7 positions 7 and 8 must be
		configured to reflect the choices made in this menu.  Use the 
		configuration utility \"View Jumpers and Switches\" option
		to determine the correct jumper settings."
           
        CHOICE = "Base Address DC000"
		COMBINE
		MEMORY=16K
		ADDRESS=0DC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=24
		INIT = JUMPER(6) LOC(1) 1
		INIT = JUMPER(7) LOC(7 8) 00		

        CHOICE = "Base Address CC000"
		COMBINE
		MEMORY=16K
		ADDRESS=0CC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=24
		INIT = JUMPER(6) LOC(1) 1
		INIT = JUMPER(7) LOC(7 8) 10		
                       
        CHOICE = "Base Address D8000"
		COMBINE        
		MEMORY=16K
		ADDRESS=0DC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=24
		INIT = JUMPER(6) LOC(1) 1
		INIT = JUMPER(7) LOC(7 8) 01		

        CHOICE = "Base Address C8000"
		COMBINE
		MEMORY=16K
		ADDRESS=0C8000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=24
		INIT = JUMPER(6) LOC(1) 1
		INIT = JUMPER(7) LOC(7 8) 11		

	CHOICE =  "BIOS Disabled"
		DISABLE = YES
	        LINK
		INIT = JUMPER(6) LOC(1) 0
		INIT = JUMPER(7) LOC(7 8) 00		

FUNCTION = "BIOS Wait States"
	COMMENTS = "On some systems it may be necessary to add wait states
		    during system accesses to the host adapter BIOS.
		    Normally this is not required, and wait states are 
		    disabled.  If wait states are used, the wait state
		    jumpers on J7 positions 5 and 6 must be set to reflect 
		    the selected wait time."
	HELP = "On some systems it may be necessary to add wait states
	        during system accesses to the host adapter BIOS.
	        Normally this is not required, and wait states are 
	        disabled.  If wait states are used, the wait state
	        jumpers on J7 positions 5 and 6 must be set to reflect 
	        the selected wait time.  Use the configuration
	        utility \"View Jumpers and Switches\" option
	        to determine the correct jumper settings."

	CHOICE = "BIOS Wait States Disabled"
		LINK
		INIT = JUMPER(7) LOC(5 6) 00

	CHOICE = "BIOS Wait 100ns"
		LINK
		INIT = JUMPER(7) LOC(5 6) 10

	CHOICE = "BIOS Wait 200ns"
		LINK
		INIT = JUMPER(7) LOC(5 6) 01

	CHOICE = "BIOS Wait 300ns"
		LINK
		INIT = JUMPER(7) LOC(5 6) 11

FUNCTION = "DMA Transfer Speed"
	COMMENTS = "Select bus master DMA speed that the host adapter
		    is to use.  The DMA speed jumpers on J5, positions
		    12 and 13, must match the speed that you select."
		    
	HELP = "The host adapter DMA speed is the rate at which data 
		is transferred accross the host bus by the host adapter.
		Some machines can support data rates faster than the 
		default 5.0 MB/s transfer rate.  If this option is 
		changed, the DMA speed selection jumpers on J5, positions
		12 and 13 must be configured for the new transfer rate.
	        Use the configuration utility \"View Jumpers and Switches\"
		option to determine the correct jumper settings."

	CHOICE = "5.0 MB/s DMA"
		LINK
		INIT = JUMPER(5) LOC(12 13) 00

	CHOICE = "5.7 MB/s DMA"
		LINK
		INIT = JUMPER(5) LOC(12 13) 10

	CHOICE = "6.7 MB/s DMA"
		LINK
		INIT = JUMPER(5) LOC(12 13) 01

	CHOICE = "8.0 MB/s DMA"
		LINK
		INIT = JUMPER(5) LOC(12 13) 11

ENDGROUP



GROUP = "Host Adapter SCSI Configuration"

FUNCTION = "Synchronous Transfers"

	COMMENTS = "When enabled, the host adapter will initiate synchronous
		    transfer negotiation for SCSI transfers.  The synchronous 
		    transfer jumper, pin 1 of J5, must be installed if this 
        	    feature is enabled."
	HELP = "The host adapter can be configured to initiate synchronous 
		transfer negotiation with SCSI target devices.  With devices 
		that support synchronous transfers, but do not initiate 
		synchronous negotiation, it is necessary to enable this option
		if the faster synchronous transfers are desired.  The synchronous
		transfer jumper, pin 1 of J5, must be installed if this feature
		is enabled.  Use the configuration utility \"View Jumpers and 
		Switches\" option to determine the correct jumper settings."

	CHOICE = "Do Not Initiate Sync Transfers"
		LINK
		INIT = JUMPER(5) LOC(1) 0

	CHOICE = "Initiate Sync Transfers"
		LINK
		INIT = JUMPER(5) LOC(1) 1

FUNCTION = "SCSI Parity"
	COMMENTS = "When enabled, the host adapter will check parity
		    on SCSI transfers. The parity disable jumper, pin 1 of
                    J5, must be installed if this feature is disabled."
	HELP = "The host adapter normally performs parity checking on SCSI
                transfers.  Some devices do not support parity.  If you wish
                to use a device that does not use parity, you must insert
                the parity disable jumper.  The jumper location is position
                1 on jumper block J5.  Use the configuration utility 
                \"View Jumpers and Switches\" option to determine the
                correct jumper settings."


        CHOICE = "SCSI Parity Enabled"
		LINK
		INIT = JUMPER(5) LOC(3) 0

	CHOICE = "SCSI Parity Disabled"
		LINK
		INIT = JUMPER(5) LOC(3) 0

FUNCTION = "Host Adapter SCSI Address"

        COMMENTS = "Select the host adapter SCSI ID.  This is normally set
                    to ID 7, which has the highest SCSI priority.  If you 
                    need to change the SCSI ID, the SCSI address select 
                    jumpers must be configured to match the SCSI ID desired.
                    These are located at positions 4, 5 and 6 of J5."
        HELP = "Each device connected to the SCSI bus, including the
                AHA-1540B/1542B must have a unique SCSI ID number.  The 
                host adapter is normally configured for ID 7, which has the 
                highest priority on the SCSI bus.  This value normally only
                needs to be changed when more than one host adapter is
                attached to the same SCSI bus.  If this option is changed, 
                the SCSI address selection jumpers at positions 4, 5 and 6 of
                jumper block J5 must be configured to select the desired 
                SCSI ID.  Use the configuration utility \"View Jumpers
                and Switches\" option to determine the correct jumper 
                settings."
                                               

	CHOICE = "SCSI ID 7"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 000
	
	CHOICE = "SCSI ID 6"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 100
	
	CHOICE = "SCSI ID 5"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 010
	
	CHOICE = "SCSI ID 4"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 110
	
	CHOICE = "SCSI ID 3"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 001
	
	CHOICE = "SCSI ID 2"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 101
	
	CHOICE = "SCSI ID 1"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 011
	
	CHOICE = "SCSI ID 0"
		LINK
		INIT = JUMPER(5) LOC(4 5 6) 111


FUNCTION = "Automatic SCSI Request Sense"

	COMMENTS = "The host adapter normally will automatically send
	 	    a request sense command to a device after a check
		    condition is reported.  If this option is changed, 
		    jumper position 5 on J6 must be set to reflect the 
		    choice."
	HELP = "When this option is enabled, the host adapter will 
		automatically send a request sense command to any device 
		that reports a check condition.  If it is necessary to 
		disable this feature, the request sense disable jumper must
		be installed.  This jumper is position 5 of jumper block 
		J6.  Use the configuration utility \"View Jumpers and
		Switches\" option to determine the correct jumper settings."

		
	CHOICE = "Enable Auto Request Sense"
		LINK
		INIT = JUMPER(6) LOC(5) 0

	CHOICE = "Disable Auto Request Sense"
		LINK
		INIT = JUMPER(6) LOC(5) 1

	
ENDGROUP

GROUP = "AHA-1542B Floppy Controller (Disable if using AHA-1540B)"
        TYPE = "MSD,FPYCTL"

FUNCTION = "Floppy Contoller Port"
	COMMENTS = "Select the floppy controller address, or disable the 
		    floppy controller on the AHA-1542B.  
                    The floppy IRQ and DMA channels are automatically 
                    selected when this choice is made.  The floppy address
		    jumper at position 1 of J7 and floppy enable jumper at
		    position 1 of J8 must be set to reflect the choices made.
                    The floppy IRQ and DMA jumpers at J8 locations 2 through
                    7 must also be configured."
    
                
	HELP = "Select the floppy controller address, or disable the 
		floppy controller on the AHA-1542B.  If the AHA-1542B is the 
		only floppy controller in your system, the primary address
		should normally be selected.  The floppy address
		jumper at position 1 of J7 and floppy enable jumper at
		position 1 of J8 must be set to reflect the choices made.
                The floppy IRQ and DMA jumpers at J8 locations 2 through
                7 must also be configured.  Use the configuration utility
                \"View Jumpers and Switches\" option to determine the correct
                jumper settings."

        CHOICE = "Primary (3F0-3F7H)"
                LINK              
                PORT = 3F0H - 3F5H SHARE = NO
                PORT = 3F6H SHARE = "MSD,DSKCTL"
                PORT = 3F7H SHARE = NO
		INIT = JUMPER(8) LOC(1) 1
		INIT = JUMPER(7) LOC(1) 0

                LINK 
                IRQ = 6              
		TRIGGER = EDGE
                SHARE = NO
		INIT = JUMPER(8) LOC(6 7) 10

                LINK                
                DMA = 2
                SHARE = NO
		INIT = JUMPER(8) LOC(2-5) 1010

        CHOICE = "Secondary (370-377H)"
                LINK
                PORT = 370H - 375H SHARE = NO
                PORT = 376H SHARE = "MSD,DSKCTL"
                PORT = 377H SHARE = NO
		INIT = JUMPER(8) LOC(1) 1
		INIT = JUMPER(7) LOC(1) 1
                
                LINK
                IRQ = 10
		TRIGGER = EDGE
                SHARE = NO
		INIT = JUMPER(8) LOC(6 7) 01

                LINK                
                DMA = 3
                SHARE = NO
		INIT = JUMPER(8) LOC(2-5) 0101

	CHOICE = "Floppy Disabled"
		DISABLE = YES
		LINK
		INIT = JUMPER(8) LOC(1) 0

FUNCTION = "Floppy Spindle Speed"

	COMMENTS = "When enabled, the AHA-1542B floppy controller can support
		    dual speed floppy drives.  The dual speed floppy jumper
		    at position 8 of J8 must correspond to this selection."
	HELP = "If you wish to use a floppy drive that supports dual spindle 
		speed operation, the host adapter can be configured to be
		compatible drive.  Normally this feature is disabled, and the 
		floppy drive operates at a single speed.  To configure the 
		AHA-1542B for dual speed floppy drives, a jumper is installed
		at position 8 of jumper block J8.  Use the configuration
		utility \"View Jumpers and Switches\" option to determine
		the correct jumper settings."

	CHOICE = "Single Speed Floppy Drive"
		LINK
		INIT = JUMPER(8) LOC(8) 0

	CHOICE = "Dual Speed Floppy Drive"
		LINK
		INIT = JUMPER(8) LOC(8) 1

ENDGROUP






