
BOARD
	ID="ADP0000"
	NAME="Adaptec 32-bit SCSI Host Adapter (Early Revision)"
	MFR="Adaptec, Inc."
	CATEGORY="MSD"
	SLOT=EISA
	LENGTH=330
	AMPERAGE=2000
	SKIRT=NO
	READID=YES
	BUSMASTER=50
	IOCHECK=VALID
	DISABLE=SUPPORTED
	COMMENTS="AHA-1740 Configuration File Version 2.30"

IOPORT(1)=0zcc0h			;Group 1 port address
	INITVAL = XX000XXX					
IOPORT(2)=0zcc1h			;BIOS address
	INITVAL = 1X00XXXX
IOPORT(3)=0zcc2h			;Interrupt definition
	INITVAL = 000XXXXX
IOPORT(4)=0zcc3h			;SCSI definition
	INITVAL = 000XXXXX
IOPORT(5)=0zcc4h			;EISA bus definition
	INITVAL = 0000XX01
IOPORT(6)=0zcc6h			;BIOS Options Port
	INITVAL = 00000XXX


FUNCTION = "Host Adapter Interface Mode"

        TYPE = "AHA1740"

	HELP = "This selection sets the Host Adapter interface 
		mode.  Standard mode is an AHA-1540/1542 compatible 
		interface that allows the use of AHA-1540/1542
	 	software drivers.  Enhanced mode is a higher 
		performance interface that uses AHA-174X 
		software drivers.  In standard mode, the 
		system interrupt request level must also be
		specified.  Choose a unique IRQ for each 
		host adapter in the system."

	COMMENTS = "Your selection will set the Host Adapter interface
		    mode.  Standard mode is an AHA-1540/1542 compatible 
		    interface that allows the use of AHA-1540/1542
	 	    software drivers.  Enhanced mode is a higher 
		    performance interface that uses AHA-1740 
		    software drivers.  In standard mode the
		    interrupt request must also be selected.
		    (IRQ 11 is the default choice)"

	CHOICE = "IRQ 11, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ = 11
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11010B

	CHOICE = "IRQ 12, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ = 12
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11011B

	CHOICE = "IRQ 10, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ = 10
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11001B

	CHOICE = "IRQ 15, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ = 15
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11110B

	CHOICE = "IRQ 14, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ =  14
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11101B

	CHOICE = "IRQ  9, Standard Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6) 00B		

		LINK
		IRQ =  9
		SHARE = NO
		TRIGGER = EDGE
		INIT=IOPORT(3) LOC(4 3 2 1 0) 11000B
 
	CHOICE = "Enhanced Mode"
		FREE
		INIT=IOPORT(1) LOC (7 6 2 1 0) 10000B		

		LINK
		IRQ=11|12|10|15|14|9
		SHARE = "AHA1740"
		TRIGGER = LEVEL
		INIT=IOPORT(3) LOC(4 3 2 1 0) 10010B | 10011B | 10001B | 10110B | 10101B | 10000B


FUNCTION = "Standard Mode Resource Selection"

	SUBFUNCTION = "I/O Port Definition"

	COMMENTS = "Select the Host Adapter base port address
		    for standard mode operation.  Select \"Disabled\"
		    for enhanced mode operation." 
		    
	CHOICE	= "I/O Port 330H (Standard Mode)"
		LINK
		PORT = 330H-333H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 110B

	CHOICE	= "I/O Port 230H (Standard Mode)"
		LINK
		PORT = 230H-233H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 100B

	CHOICE	= "I/O Port 130H (Standard Mode)"
		LINK
		PORT = 130H-133H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 010B

	CHOICE	= "I/O Port 334H (Standard Mode)"
		LINK
		PORT =334H-337H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 111B 

	CHOICE	= "I/O Port 234H (Standard Mode)"
		LINK
		PORT = 234H-237H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 101B

	CHOICE	= "I/O Port 134H (Standard Mode)"
		LINK
		PORT = 134H-137H
		SHARE=NO
		SIZE=BYTE
		INIT=IOPORT(1) LOC (2 1 0) 011B 

	CHOICE	= "Disabled (Enhanced Mode)"
		DISABLE = YES
		FREE
		INIT=IOPORT(1) LOC (2 1 0) 000B


	SUBFUNCTION = "DMA Channel Definition"

	HELP = "This option selects the DMA channel to be
	        reported to AHA-1540/1542 drivers by the host 
		adapter in standard mode.  This resource
		is not required in Enhanced mode.  For
		enhanced mode operation this option should
		be disabled."

	COMMENTS = "Select the Host Adapter DMA channel
		    for standard mode operation.  Select \"Disabled\"
		    for enhanced mode operation." 
	     
	CHOICE = "DMA 5 (Standard Mode)"
		LINK
		DMA = 5 
		SHARE = NO
		INIT=IOPORT(5) LOC(3 2) 01B

	CHOICE = "DMA 6 (Standard Mode)"
		LINK
		DMA = 6
		SHARE = NO
		INIT=IOPORT(5) LOC(3 2) 10B

	CHOICE = "DMA 7 (Standard Mode)"
		LINK
		DMA = 7 
		SHARE = NO
		INIT=IOPORT(5) LOC(3 2) 11B 

	CHOICE = "DMA 0 (Standard Mode)"
		LINK
		DMA = 0
		SHARE = NO
		INIT=IOPORT(5) LOC(3 2) 00B

	CHOICE = "Disabled (Enhanced Mode)"
		DISABLE = YES
		FREE
		INIT=IOPORT(5) LOC(3 2) 00B

				

FUNCTION="Host Adapter SCSI ID"

	COMMENTS = "Select the SCSI ID for the host adapter.
		    ID 7 is normally reserved for the host
		    adapter because it has the highest SCSI 
		    priority."

	HELP = "Select the SCSI ID for the host adapter.
		ID 7 is normally reserved for the host
		adapter because it has the highest SCSI 
		priority.  In typical configurations where 
		only one host adapter is connected to a
		single SCSI cable, this ID does not need 
		to be changed, even if there are multiple 
		host adapters installed in your system.\n\n
		For configurations with more than one host
		adapter attached to a single SCSI cable, 
		unique ID's must be selected for each host
		adapter.  Note:  Care should be exercised when
		changing this ID.  The EISA configuration can
		not detect SCSI bus configuration conflicts."

        	CHOICE="Device Id 7"
        		LINK
	        	INIT=IOPORT(4) LOC(3 2 1 0) 0111B
        	CHOICE="Device Id 6"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0110B
        	CHOICE="Device Id 5"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0101B
        	CHOICE="Device Id 4"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0100B
        	CHOICE="Device Id 3"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0011B
        	CHOICE="Device Id 2"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0010B
        	CHOICE="Device Id 1"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0001B
        	CHOICE="Device Id 0"
	        	LINK
		        INIT=IOPORT(4) LOC(3 2 1 0) 0000B


FUNCTION = "SCSI Bus Reset at Power-on"

	COMMENTS = "When this option is enabled, a SCSI bus reset
		    will be performed by the host adapter during its
		    power-on initialization, and after a hard reset."

	HELP = "The SCSI bus reset at power-on should be disabled if 
		a SCSI target does not initialize properly after a SCSI
		reset. If you have properly installed devices attached
		to the SCSI bus that are not detected, or reported as 
		having a fault by the Adaptec BIOS, disabling the SCSI 
		reset may correct the problem."
                
               	CHOICE="Enable SCSI bus reset"
	        	LINK
		        INIT=IOPORT(4) LOC(4) 1B

        	CHOICE="Disable SCSI bus reset"
	        	LINK
		        INIT=IOPORT(4) LOC (4) 0B


FUNCTION = "Host Adapter BIOS"

	HELP = "Select whether the AHA-1740 BIOS
                is to be enabled.  Normally the BIOS 
                should always be enabled, even if there
                are multiple AHA-1740 cards in the system.\n\n
		If the BIOS is disabled it will not be 
		possible to boot from any device attached to
		this host adapter, and the SCSI device 
		configuration information will not be sent to 
		the host adapter."
                                
	COMMENTS = "Select whether the AHA-1740 BIOS
                is to be enabled.  Normally the BIOS 
                should always be enabled, even if there
                are multiple AHA-1740 cards in the system."

	CHOICE="Enabled @ Base Address CC000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0CC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0011B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address D0000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0D0000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0100B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address D4000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0D4000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0101B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address D8000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0D8000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0110B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address DC000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0DC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0111B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address E0000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0E0000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 1000B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address E4000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0E4000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 1001B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address E8000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0E8000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 1010B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address EC000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0EC000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 1011B
		INIT=IOPORT(2) LOC(6) 1B

	CHOICE="Enabled @ Base Address C8000H"
		COMBINE
		MEMORY=16K
		ADDRESS=0C8000H
		WRITABLE=NO
		MEMTYPE = OTH
		SHARE=NO
		SIZE=BYTE
		CACHE=YES
		DECODE=32
		INIT=IOPORT(2) LOC(3 2 1 0) 0010B
		INIT=IOPORT(2) LOC(6) 1B


	CHOICE = "BIOS disabled"
		DISABLE = yes
		FREE
		INIT=IOPORT(2) LOC(3 2 1 0) 0000B
		INIT=IOPORT(2) LOC(6) 0B


FUNCTION = "Advanced Enhanced Mode BIOS Options"

	SUBFUNCTION = "Extended BIOS Translation"

	HELP = "This option enables support for drives with
	        a capacity greater than 1 Gigabyte, and applies
		to Enhanced mode only.  This resource
		is not supported in Standard mode."

	COMMENTS = "When this option is enabled, a 255 head, 63 sector
		    extended translation will be used to allow support for
		    drives with a capacity over 1 GByte. Some environments
		    already support greater than 1 GByte drives and do not
		    require this option to be enabled (such as NetWare).
		    WARNING: If your drive is greater than 1 GByte and has
		    an existing 64 head, 32 sector partition on it, then
   		    enabling this option may result in data corruption!!
		    Please use extreme care in selecting this option!!
		    This option applies to Enhanced mode only." 
	     
	CHOICE = "Disabled"
		LINK
		INIT=IOPORT(6) LOC(0) 0B

	CHOICE = "Enabled"
		LINK
		INIT=IOPORT(6) LOC(0) 1B


	SUBFUNCTION = "Support for more than 2 Drives"

	HELP = "This option enables support for more than 2 drives
	        (requires DOS 5.0 or above). This option applies to
		Enhanced mode only."

	COMMENTS = "When this option is enabled, the BIOS will support
		    up to 7 SCSI drives (under DOS 5.0 or above) instead
		    of 2 or less.  This option applies to Enhanced mode 
		    only." 
	     
	CHOICE = "Disabled"
		LINK
		INIT=IOPORT(6) LOC(1) 0B

	CHOICE = "Enabled"
		LINK
		INIT=IOPORT(6) LOC(1) 1B



	SUBFUNCTION = "Immediate Return on Seeks"

	HELP = "This option enables support for immediate return on
	        seek commands, rather than passing the command to the
		SCSI drive."

	COMMENTS = "When this option is enabled, seek commands are
		    not sent to the SCSI bus, but are returned immediately
		    with no error reported.  This option applies to
		    Enhanced mode only." 
	     
	CHOICE = "Enabled"
		LINK
		INIT=IOPORT(6) LOC(2) 0B

	CHOICE = "Disabled"
		LINK
		INIT=IOPORT(6) LOC(2) 1B



INCLUDE = "ADP0000.OVL"


