;
; DTC Host Adapter Configuration File
;

BOARD
   ID = "DTC3101"                       ;product ID 3 char and 4 number
   NAME = "DTC3290 Host Adapter - Rev.3.2" ;descriptive name up to 90 char
   MFR = "Data Technology"              ;up tp 30 char
   CATEGORY = "MSD"                     ;mass storage device
   SLOT = EISA				;board card type
   LENGTH = 340 			;board card length in millimeters
   AMPERAGE = 4000			;5V current used, in mA
   SKIRT = NO				;drop-down skirt for 8-bit board
   READID = YES 			;readable product ID
   BUSMASTER = 400			;max. acceptable latency in ms
   IOCHECK = VALID			;board support IOCHECKERR bit
   DISABLE = SUPPORTED			;board support ENABLE bit
  COMMENTS = "This is the configuration file for the DTC 3290 Cache Host
Adapter. Revision 3.2  Nov. 26, 1991"   ;up to 600 char


   HELP = "The DTC 3290 supports caching for direct access devices like hard disk
drives, optical devices etc., and also supports any conventional SCSIdevice."
	;up to 600 char


IOPORT(4) = 0zC90H			;Command code for configuration.
   INITVAL = xxxxxxxx
IOPORT(5) = 0zC91H			;I/O port, BIOS base address.
   INITVAL = xxxxxxxx
IOPORT(6) = 0zC92H			;cache unit, Asyn/Sync, SCSI parity,
   INITVAL = xxxxxxxx			;SCSI ID.
IOPORT(7) = 0zC93H			;write behind, read ahead.
   INITVAL = xxxxxxxx
IOPORT(8) = 0zC94H			;BIOS en/disable, FDC en/disable,
   INITVAL = xxxxxxxx			;FDC DMA, HA IRQ.
IOPORT(9) = 0zC95H			;FDC, AT/PS2, PRECOMPENSATION
   INITVAL = xxxxxxxx
IOPORT(10) = 0zC96H			;Write-Back/Removable settings.
   INITVAL = xxxxxxxx

IOPORT(2) = 0zC8FH			;BMIC System Doorbell Interrupt/
   INITVAL = xxxxxxxx			; status register. Cleared when
					; config. data written to expansion
					; board. Expansion board sets this
					; bit when it has completed
					; configuration and is ready to
					; accept another command.
IOPORT(3) = 0zC8DH			;BMIC door bell register
   INITVAL = xxxxxxxx			;indicates the config. values have been
					;written at IOPORT(4-5)
IOPORT(1) = 0zC84H			;EISA CONTROL CONFIG.
   INITVAL = xxxxxxxx			;enable 3290e

;function statement block

;
; Host Setting
;
FUNCTION = "Host Resource"      ;identifies the name of the board function
  TYPE = "MSD"                  ;function type; MSD-mass storage device
	SUBFUNCTION = "Host Adapter Interrupt"
	CHOICE = "IRQ = 11"
		FREE
		IRQ = 11
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 011
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1
	CHOICE = "IRQ = 9"
		FREE
		IRQ = 9
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 001
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1
	CHOICE = "IRQ = 10"
		FREE
		IRQ = 10
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 010
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1
	CHOICE = "IRQ = 12"
		FREE
		IRQ = 12
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 100
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1
	CHOICE = "IRQ = 14"
		FREE
		IRQ = 14
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 101
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1
	CHOICE = "IRQ = 15"
		FREE
		IRQ = 15
		SHARE = no
		TRIGGER = edge
		INIT = IOPORT(8) LOC(2-0) 000
		INIT = IOPORT(4) LOC(7-0) 01111111
		INIT = IOPORT(2) LOC(7-0) 10000000
		INIT = IOPORT(3) LOC(7-0) 10000000
		INIT = IOPORT(1) LOC(0) 1


	SUBFUNCTION = "Mail box base I/O port"
	CHOICE = "PORT = 330H"
		FREE
		PORT = 330H-332H
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0000
	CHOICE = "PORT = 334H"
		FREE
		PORT = 334H-336H
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0001
	CHOICE = "PORT = 230H"
		FREE
		PORT = 230h-232h
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0010
	CHOICE = "PORT = 234H"
		FREE
		PORT = 234H-236h
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0011
	CHOICE = "PORT = 130H"
		FREE
		PORT = 130h-132h
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0100
	CHOICE = "PORT = 134H"
		FREE
		PORT = 134H-136H
		SHARE = no
		INIT = IOPORT(5) LOC(3-0) 0101

 SUBFUNCTION = "BIOS base address"
	CHOICE = "BIOS ADDR AT 0D8000H"
	    FREE
		MEMORY = 8K
			ADDRESS = 0D8000H
			MEMTYPE = oth			; OTHER
			WRITABLE = no
			SIZE = byte
			SHARE = no
			CACHE = no
		MEMORY = 2K
			ADDRESS = 0DB800H
			MEMTYPE = oth
			WRITABLE = yes			; BIOS has scratch pad RAM
			SIZE = byte
			SHARE = no
			CACHE = no
		INIT = IOPORT(5) LOC(7-4) 0000
	CHOICE = "BIOS ADDR AT 0DC000H"
	    FREE
		MEMORY = 8K
			ADDRESS = 0DC000H
			MEMTYPE = oth			; OTHER
			WRITABLE = no
			SIZE = byte
			SHARE = no
			CACHE = no
		MEMORY = 2K
			ADDRESS = 0DF800H
			MEMTYPE = oth
			WRITABLE = yes			; BIOS has scratch pad RAM
			SIZE = byte
			SHARE = no
			CACHE = no
		INIT = IOPORT(5) LOC(7-4) 0001
	CHOICE = "BIOS ADDR AT 0C8000H"
	    FREE
		MEMORY = 8K
			ADDRESS = 0C8000H
			MEMTYPE = oth			; OTHER
			WRITABLE = no
			SIZE = byte
			SHARE = no
			CACHE = no
		MEMORY = 2K
			ADDRESS = 0CB800H
			MEMTYPE = oth
			WRITABLE = yes			; BIOS has scratch pad RAM
			SIZE = byte
			SHARE = no
			CACHE = no
		INIT = IOPORT(5) LOC(7-4) 0010
	CHOICE = "BIOS ADDR AT 0CC000H"
	    FREE
		MEMORY = 8K
			ADDRESS = 0CC000H
			MEMTYPE = oth			; OTHER
			WRITABLE = no
			SIZE = byte
			SHARE = no
			CACHE = no
		MEMORY = 2K
			ADDRESS = 0CF800H
			MEMTYPE = oth
			WRITABLE = yes
			SIZE = byte
			SHARE = no
			CACHE = no
		INIT = IOPORT(5) LOC(7-4) 0011
	CHOICE = "BIOS DISABLE"
		FREE
		INIT = IOPORT(5) LOC(7-4) 1111
;
;; SCSI Setting
;
FUNCTION = "SCSI Setting"
	TYPE = "MSD"
	SUBFUNCTION = "SCSI ID"
	CHOICE = "ID = 7"
		FREE
		INIT = IOPORT(6) LOC(2-0) 111
	CHOICE = "ID = 6"
		FREE
		INIT = IOPORT(6) LOC(2-0) 110
	CHOICE = "ID = 5"
		FREE
		INIT = IOPORT(6) LOC(2-0) 101
	CHOICE = "ID = 4"
		FREE
		INIT = IOPORT(6) LOC(2-0) 100
	CHOICE = "ID = 3"
		FREE
		INIT = IOPORT(6) LOC(2-0) 011
	CHOICE = "ID = 2"
		FREE
		INIT = IOPORT(6) LOC(2-0) 010
	CHOICE = "ID = 1"
		FREE
		INIT = IOPORT(6) LOC(2-0) 001
	CHOICE = "ID = 0"
		FREE
		INIT = IOPORT(6) LOC(2-0) 000


	SUBFUNCTION="SCSI Parity"
	CHOICE="Parity Enable"
		FREE
		INIT=IOPORT(6) LOC(3) 1
	CHOICE="Parity Disable"
		FREE
		INIT=IOPORT(6) LOC(3) 0

	SUBFUNCTION = "SCSI Transfer Mode"
	CHOICE = "Asynchronous Transfer"
		FREE
		INIT = IOPORT(6) LOC(4) 1
	CHOICE = "Synchronous Transfer"
		FREE
		INIT = IOPORT(6) LOC(4) 0

;
;Cache Features Setting
;

FUNCTION = "Cache Features"
	SUBFUNCTION = "Host Adapter Cache Unit"
	CHOICE = "4KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 000
	CHOICE = "8KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 100
	CHOICE = "16KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 101
	CHOICE = "32KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 110
	CHOICE = "64KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 111
	CHOICE = "0.5KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 001
	CHOICE = "1KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 010
	CHOICE = "2KB"
		FREE
		INIT = IOPORT(6) LOC(7-5) 011

	SUBFUNCTION = "Cache Function Enable/Disable"
	CHOICE = "ENABLE"
		FREE
		INIT = IOPORT(7) LOC(7) 0
	CHOICE = "DISABLE"
		FREE
		INIT = IOPORT(7) LOC(7) 1

	SUBFUNCTION = "Write Back Disk Idle Time"
	CHOICE = "1S"
		FREE
		INIT = IOPORT(7) LOC (5-3) 000
	CHOICE = "2S"
		FREE
		INIT = IOPORT(7) LOC (5-3) 100
	CHOICE = "5S"
		FREE
		INIT = IOPORT(7) LOC (5-3) 101
	CHOICE = "10S"
		FREE
		INIT = IOPORT(7) LOC (5-3) 110
	CHOICE = "DISABLE"
		FREE
		INIT = IOPORT(7) LOC (5-3) 111
	CHOICE = "0ms"
		FREE
		INIT = IOPORT(7) LOC (5-3) 011
	CHOICE = "100ms"
		FREE
		INIT = IOPORT(7) LOC (5-3) 001
	CHOICE = "500ms"
		FREE
		INIT = IOPORT(7) LOC (5-3) 010

	SUBFUNCTION = "Read Ahead Predicate commands"
	CHOICE = "2 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 000
	CHOICE = "3 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 001
	CHOICE = "4 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 010
	CHOICE = "5 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 011
	CHOICE = "6 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 100
	CHOICE = "7 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 101
	CHOICE = "8 commands"
		FREE
		INIT = IOPORT(7) LOC (2-0) 110
	CHOICE = "DISABLE"
		FREE
		INIT = IOPORT(7) LOC (2-0) 111

;
;Floppy Controller Setting
;
FUNCTION = "Floppy Controller"
	SUBFUNCTION = "ENABLE OR DISABLE"
		CHOICE = "PRIMARY FLOPPY"
		FREE
			PORT = 03F0H-03F7H
			INIT = IOPORT(8) LOC(6) 1
			INIT = IOPORT(8) LOC(7) 0
		CHOICE = "SECONDARY FLOPPY"
		FREE
			PORT = 0370H-0377H
			INIT = IOPORT(8) LOC(6) 1
			INIT = IOPORT(8) LOC(7) 0
		CHOICE = "DISABLE FLOPPY"
		FREE
			INIT = IOPORT(8) LOC(6) 0
	SUBFUNCTION = "DUAL SPEED"
		CHOICE = "FDC DUAL SPEED NOT SUPPORT"
			FREE
			INIT = IOPORT(9) LOC(7) 0
		CHOICE = "FDC DUAL SPEED SUPPORT"
			FREE
			INIT = IOPORT(9) LOC(7) 1
	SUBFUNCTION = "PIN2 POLARITY"
		CHOICE = "AT DISKETTE DRIVE"
			FREE
			INIT = IOPORT(9) LOC(6) 0
		CHOICE = "PS2 DISKETTE DRIVE"
			FREE
			INIT = IOPORT(9) LOC(6) 1
	SUBFUNCTION = "PRECOMPENSATION"
		CHOICE = "DATA-RATE-DEPENDENT"
			FREE
			INIT = IOPORT(9) LOC(5) 0
		CHOICE = "FIXED-125ns"
			FREE
			INIT = IOPORT(9) LOC(5) 1

FUNCTION = "SCSI COLD RESET DELAY"
	CHOICE = "10S"
		FREE
		INIT = IOPORT(9) LOC(3-2) 00
	CHOICE = "20S"
		FREE
		INIT = IOPORT(9) LOC(3-2) 01
	CHOICE = "30S"
		FREE
		INIT = IOPORT(9) LOC(3-2) 10
	CHOICE = "40S"
		FREE
		INIT = IOPORT(9) LOC(3-2) 11

FUNCTION = "DELAYED SPIN-UP INTERVAL"
	CHOICE = "0S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 000
	CHOICE = "1/10S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 001
	CHOICE = "1/5S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 010
	CHOICE = "1/2S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 011
	CHOICE = "1S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 100
	CHOICE = "2S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 101
	CHOICE = "5S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 110
	CHOICE = "10S"
		FREE
		INIT = IOPORT(8) LOC(5-3) 111

FUNCTION = "WRITE-BACK VERIFY MODE"
	CHOICE = "WRITE ONLY (FASTEST BUT LEAST SECURITY)"
		FREE
		INIT = IOPORT(10) LOC(1-0) 00
	CHOICE = "WRITE COMPARE (SLOWEST BUT MOST SECURE)"
		FREE
		INIT = IOPORT(10) LOC(1-0) 01
	CHOICE = "WRITE VERIFY"
		FREE
		INIT = IOPORT(10) LOC(1-0) 10

FUNCTION = "REMOVABLE-MEDIA DRIVE HANDLING"
	CHOICE = "CACHED WITH FORCED DRIVE ACCESS (PROTECTED AGAINST MEDIA CHANGE)"
		FREE
		INIT = IOPORT(10) LOC(3-2) 00
	CHOICE = "CACHED LIKE FIXED DRIVE (NO PROTECTION AGAINST MEDIA CHANGE)"
		FREE
		INIT = IOPORT(10) LOC(3-2) 01

;=== End of Configuration File ===
