mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
3.8 KiB
130 lines
3.8 KiB
/*++
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This software contains proprietary and confidential information of *
|
|
* *
|
|
* Digi International Inc. *
|
|
* *
|
|
* By accepting transfer of this copy, Recipient agrees to retain this *
|
|
* software in confidence, to prevent disclosure to others, and to make *
|
|
* no use of this software other than that for which it was delivered. *
|
|
* This is an unpublished copyrighted work of Digi International Inc. *
|
|
* Except as permitted by federal law, 17 USC 117, copying is strictly *
|
|
* prohibited. *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
Module Name:
|
|
|
|
ntxall.h
|
|
|
|
Abstract:
|
|
|
|
This module is responsible for PC/X* and MC/X* specific definitions.
|
|
This module is used by ntxall.c and contains all information specific
|
|
to X* line of products.
|
|
|
|
|
|
Revision History:
|
|
|
|
* $Log: ntxall.h $
|
|
* Revision 2.0 1995/09/19 15:04:56 dirkh
|
|
* Express modem signals as explicit values, not bit numbers.
|
|
*
|
|
* Revision 1.5 1994/07/31 14:41:56 rik
|
|
* added 200 baud to baud table.
|
|
*
|
|
* Revision 1.4 1993/09/07 14:34:28 rik
|
|
* Ported memory mapped access to properly work with DEC Alpha machines.
|
|
*
|
|
* Revision 1.3 1993/08/25 17:43:56 rik
|
|
* Added support for Microchannel controllers.
|
|
*
|
|
* Revision 1.2 1993/06/25 10:15:02 rik
|
|
* Changed Error logging to allow me to pass in up to 2 strings which
|
|
* will be dynamically inserted into the event log message.
|
|
*
|
|
* Added support for baud rates 57600 & 115200.
|
|
*
|
|
* Revision 1.1 1993/03/08 08:40:57 rik
|
|
* Initial revision
|
|
*
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _NTXALL_DOT_H
|
|
# define _NTXALL_DOT_H
|
|
static char RCSInfo_NTXALLDotH[] = "$Header: s:/win/nt/ntxall/rcs/ntxall.h 2.0 1995/09/19 15:04:56 dirkh Exp $";
|
|
#endif
|
|
|
|
#define FEP_MEM_ENABLE 0x80
|
|
|
|
#define FEP_GLOBAL_WINDOW 0x00
|
|
#define FEP_EVENT_WINDOW FEP_GLOBAL_WINDOW
|
|
#define FEP_COMMAND_WINDOW FEP_GLOBAL_WINDOW
|
|
|
|
#define FEP_COMMAND_OFFSET 0x0400
|
|
#define FEP_EVENT_OFFSET 0x0800
|
|
|
|
//
|
|
// Baud rate settings
|
|
//
|
|
#define B50 0x0001
|
|
#define B75 0x0002
|
|
#define B110 0x0003
|
|
#define B134 0x0004
|
|
#define B150 0x0005
|
|
#define B200 0x0006
|
|
#define B300 0x0007
|
|
#define B600 0x0008
|
|
#define B1200 0x0009
|
|
#define B1800 0x000A
|
|
#define B2400 0x000B
|
|
#define B4800 0x000C
|
|
#define B9600 0x000D
|
|
#define B14400 0x0404
|
|
#define B19200 0x000E
|
|
#define B28800 0x0405
|
|
#define B38400 0x000F
|
|
#define B57600 0x0401
|
|
#define B115200 0x0403
|
|
|
|
// unsupported baud rates
|
|
#define B2000 -1
|
|
#define B3600 -1
|
|
#define B7200 -1
|
|
#define B56000 -1
|
|
#define B128000 -1
|
|
#define B256000 -1
|
|
#define B512000 -1
|
|
|
|
|
|
//
|
|
// We need to export the Modem Control & Status bitfields.
|
|
// These values are placed in an area which has been defined to mean:
|
|
// ModemSignals[] = { DTR, RTS, RESERVE1, RESERVE2, CTS, DSR, RI, DCD };
|
|
//
|
|
// Each entry represents the bit value of the related signal for this particular controller.
|
|
//
|
|
#define DTR_CONTROL 0x80
|
|
#define RTS_CONTROL 0x02
|
|
#define RESERVED1 0x01
|
|
#define RESERVED2 0x04
|
|
#define CTS_STATUS 0x20
|
|
#define DSR_STATUS 0x10
|
|
#define RI_STATUS 0x40
|
|
#define DCD_STATUS 0x08
|
|
|
|
//
|
|
// The following defines are used for MCA support
|
|
//
|
|
#define MCA_IO_PORT_MASK 0x0070
|
|
#define MCA_MEMORY_MASK 0xFF80
|
|
#define MCA_IRQ_MASK 0x000E
|
|
|
|
#define MCA_XPORT_POS_ID 0x6FE7
|
|
|
|
|