
; Madge Smart 16/4 EISA Ringnode Mk. II Configuration File, Rev. 03
; Copyright (c) Madge Networks Ltd. 1992

BOARD
    ID		= "MDG0002"
    NAME	= "Madge Smart 16/4 EISA Ringnode"
    MFR		= "Madge Networks Ltd."
    CATEGORY	= "NET"
    SLOT	= EISA
    LENGTH	= 224
    AMPERAGE	= 3000
    SKIRT	= NO
    READID	= YES
    BUSMASTER	= 100
    IOCHECK	= VALID
    DISABLE	= SUPPORTED

    COMMENTS	= "\n
		   This is a dual-speed (16 or 4 Mbit/s)
		   token ring adapter for EISA computers. It
		   utilises Madge proprietary Smart software and
		   bus master technology for high performance.\n
		   \n
		   Six interrupts are supported with level- or
		   edge-sensitive operation. Slot-specific I/O
		   addressing permits several adapters to be used
		   in one computer. After auto-configuration, the
		   ring speed must be configured manually as a
		   security feature.\n
		   \n
		   This version of the Smart 16/4 EISA Ringnode
		   provides UTP (type 3) cabling support and a
		   Smartrom socket together with a special IBM (R)
		   compatibility feature."

    HELP	= "Thank you for buying this Madge Smart 16/4
		   EISA Ringnode. Please note that the adapter's
		   ring speed must be manually configured before use.\n"
	
IOPORT(1)	= 0z010h
    INITVAL	= xxxxxxxxb

IOPORT(2)	= 0zC90h
    INITVAL	= x0xxxxxxb

IOPORT(3)	= 0zC91h
    INITVAL	= xxxx0000b

FUNCTION	= "Token Ring Network Adapter"
    TYPE	= "NET,TOK"
    CONNECTION  = "DB9 or RJ45: token ring lobe cable"

    SUBFUNCTION = "Connector Type"
	TYPE	= "CON"

	HELP	= "Please select the connector you wish
		   to use. The DB9 connector (J1) is for
                   STP cable (eg. type 1 or type 6) or for
                   use with an external media filter.
		   The RJ45 connector (J2) is for UTP
		   cable (eg. type 3).\n"

	CHOICE	= " DB9 connector, J1 (STP)"
	    SUBTYPE	= "DB9"
	    FREE
	    INIT	= IOPORT(1) LOC(5) 0b
	    INIT	= IOPORT(3) LOC(5) 0b

	CHOICE	= "RJ45 connector, J2 (UTP)"
	    SUBTYPE	= "RJ45"
	    FREE
	    INIT	= IOPORT(1) LOC(5) 1b
	    INIT	= IOPORT(3) LOC(5) 1b

    SUBFUNCTION	= "Ring Speed"
	TYPE	= "SPD"

	HELP	= "Please select the required ring speed
		   (either 16 Mbit/s or 4 Mbit/s) according
		   to the speed of your network.
		   Note: if no speed is selected, the
		   adapter software will report an error.\n"

	CHOICE	= "No Speed Selected"
	    SUBTYPE	= "NONE"
	    FREE
	    INIT	= IOPORT(2) LOC(7) 0b
	    INIT	= IOPORT(1) LOC(4) 1b
	    INIT	= IOPORT(2) LOC(5) 1b

	CHOICE	= "16 Mbit/s"
	    SUBTYPE	= "16"
	    FREE
	    INIT	= IOPORT(2) LOC(7) 1b
	    INIT	= IOPORT(1) LOC(4) 1b
	    INIT	= IOPORT(2) LOC(5) 1b

	CHOICE	= " 4 Mbit/s"
	    SUBTYPE	= "4"
	    FREE
	    INIT	= IOPORT(2) LOC(7) 1b
	    INIT	= IOPORT(1) LOC(4) 0b
	    INIT	= IOPORT(2) LOC(5) 0b

    SUBFUNCTION	= "Interrupt"
	TYPE	= "INT"

	COMMENTS= "Note: to change the interrupt number,
		   use Edit/Change Resource."

	HELP	= "Please select the interrupt type,
		   either level- or edge-sensitive.
		   Level-sensitive operation permits
		   multiple Madge ringnodes to share
		   the same interrupt number.
		   Note: to change the interrupt number,
		   use Edit/Change Resource.\n"

	CHOICE	= "Level-sensitive"
	    SUBTYPE	= "LEVEL"
	    LINK
	    IRQ	  	= 15 | 12 | 11 | 10 | 9 | 3
	    SHARE	= "MADGE_EISA"
	    TRIGGER	= LEVEL
	    INIT	= IOPORT(1) LOC(2-0)	  111b |   110b |   011b |
	    					  010b |   000b |   001b
	    INIT	= IOPORT(1) LOC(3)	    0b |     0b |     0b |
	    					    0b |     0b |     0b
	    INIT	= IOPORT(2) LOC(4-0)	01111b | 01100b | 01011b |
	    					01010b | 00010b | 00011b

	CHOICE	= " Edge-sensitive"
	    SUBTYPE	= "EDGE"
	    LINK
	    IRQ		= 15 | 12 | 11 | 10 | 9 | 3
	    SHARE	= NO
	    TRIGGER	= EDGE
	    INIT	= IOPORT(1) LOC(2-0)	  111b |   110b |   011b |
	    					  010b |   000b |   001b
	    INIT	= IOPORT(1) LOC(3)	    1b |     1b |     1b |
	    					    1b |     1b |     1b
	    INIT	= IOPORT(2) LOC(4-0)	11111b | 11100b | 11011b |
	    					11010b | 10010b | 10011b

    SUBFUNCTION = "Smartrom"
	TYPE	= "ROM"

	COMMENTS= "Note: to change the Smartrom address,
		   use Edit/Change Resource."

	HELP	= "Please select whether the Smartrom is
		   disabled or enabled. If not fitted,
		   please select disabled.
		   Note: to change the Smartrom address,
		   use Edit/Change Resource. (The
		   Smartrom requires 8K.)\n"

	CHOICE	= "Disabled"
	    SUBTYPE	= "DISABLE"
	    FREE
	    INIT	= IOPORT(1) LOC(7-6)	10b
	    INIT	= IOPORT(3) LOC(7-6)	10b
;	    DISABLE	= YES

	CHOICE	= "Enabled"
	    SUBTYPE	= "ENABLE"
	    LINK
	    MEMORY	= 8K
	    ADDRESS	= 0CC000h | 0CE000h | 0DE000h
	    WRITABLE	= YES
	    MEMTYPE	= OTH
	    CACHE	= NO
	    SIZE	= BYTE
	    DECODE	= 32
	    SHARE	= NO
	    INIT	= IOPORT(1) LOC(7-6)	00b | 01b | 11b
	    INIT	= IOPORT(3) LOC(7-6)	00b | 01b | 11b

    SUBFUNCTION = "IBM (R) Compatibility Register"
	TYPE	= "IBM"

	HELP	= "The IBM (R) compatibility register
		   is an I/O register at location 0A20
		   which emulates the equivalent
		   register on an IBM (R) adapter. Some
		   applications will require this
		   register to be enabled in order to
		   work correctly. (It should only be
		   enabled on one adapter. Interrupt
		   level 2 or 3 must be selected. For
		   further compatibility, fit and
		   enable a Smartrom.)\n"

	CHOICE	= "Disabled"
	    SUBTYPE	= "DISABLE"
	    FREE
	    INIT	= IOPORT(3) LOC(4)	0b
;	    DISABLE	= YES

	CHOICE	= "Enabled"
	    SUBTYPE	= "ENABLE"
	    FREE
	    PORT	=  0A20h- 0A23h
	    PORT	=  0220h- 0223h
	    PORT	=  0620h- 0623h
	    PORT	=  0E20h- 0E23h
	    PORT	=  1220h- 1223h
	    PORT	=  1620h- 1623h
	    PORT	=  1A20h- 1A23h
	    PORT	=  1E20h- 1E23h
	    PORT	=  2220h- 2223h
	    PORT	=  2620h- 2623h
	    PORT	=  2A20h- 2A23h
	    PORT	=  2E20h- 2E23h
	    PORT	=  3220h- 3223h
	    PORT	=  3620h- 3623h
	    PORT	=  3A20h- 3A23h
	    PORT	=  3E20h- 3E23h
;	    PORT	=  4220h- 4223h
;	    PORT	=  4620h- 4623h
;	    PORT	=  4A20h- 4A23h
;	    PORT	=  4E20h- 4E23h
;	    PORT	=  5220h- 5223h
;	    PORT	=  5620h- 5623h
;	    PORT	=  5A20h- 5A23h
;	    PORT	=  5E20h- 5E23h
;	    PORT	=  6220h- 6223h
;	    PORT	=  6620h- 6623h
;	    PORT	=  6A20h- 6A23h
;	    PORT	=  6E20h- 6E23h
;	    PORT	=  7220h- 7223h
;	    PORT	=  7620h- 7623h
;	    PORT	=  7A20h- 7A23h
;	    PORT	=  7E20h- 7E23h
;	    PORT	=  8220h- 8223h
;	    PORT	=  8620h- 8623h
;	    PORT	=  8A20h- 8A23h
;	    PORT	=  8E20h- 8E23h
;	    PORT	=  9220h- 9223h
;	    PORT	=  9620h- 9623h
;	    PORT	=  9A20h- 9A23h
;	    PORT	=  9E20h- 9E23h
;	    PORT	= 0A220h-0A223h
;	    PORT	= 0A620h-0A623h
;	    PORT	= 0AA20h-0AA23h
;	    PORT	= 0AE20h-0AE23h
;	    PORT	= 0B220h-0B223h
;	    PORT	= 0B620h-0B623h
;	    PORT	= 0BA20h-0BA23h
;	    PORT	= 0BE20h-0BE23h
;	    PORT	= 0C220h-0C223h
;	    PORT	= 0C620h-0C623h
;	    PORT	= 0CA20h-0CA23h
;	    PORT	= 0CE20h-0CE23h
;	    PORT	= 0D220h-0D223h
;	    PORT	= 0D620h-0D623h
;	    PORT	= 0DA20h-0DA23h
;	    PORT	= 0DE20h-0DE23h
;	    PORT	= 0E220h-0E223h
;	    PORT	= 0E620h-0E623h
;	    PORT	= 0EA20h-0EA23h
;	    PORT	= 0EE20h-0EE23h
;	    PORT	= 0F220h-0F223h
;	    PORT	= 0F620h-0F623h
;	    PORT	= 0FA20h-0FA23h
;	    PORT	= 0FE20h-0FE23h
	    SHARE	= NO
	    SIZE	= BYTE
	    INIT	= IOPORT(3) LOC(4)	1b
