NT4/private/ntos/dd/sermouse/alpha/sermcfg.h
2020-09-30 17:12:29 +02:00

70 lines
1.6 KiB
C

/*++
Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
Module Name:
sermcfg.h
Abstract:
These are the machine-dependent configuration constants that are used in
the i8250 serial mouse port driver.
Revision History:
--*/
#ifndef _SERMCFG_
#define _SERMCFG_
//
// Define the interrupt-related configuration constants.
//
#define SERIAL_MOUSE_INTERFACE_TYPE Isa
#define SERIAL_MOUSE_INTERRUPT_MODE Latched
#define SERIAL_MOUSE_INTERRUPT_SHARE FALSE
#define SERIAL_MOUSE_BUS_NUMBER 0
#define SERIAL_MOUSE_FLOATING_SAVE FALSE
#define MOUSE_COM1_VECTOR 4
#define MOUSE_COM1_IRQL MOUSE_COM1_VECTOR
#define SERIAL_MOUSE_COM1_PHYSICAL_BASE 0x3F8
#define MOUSE_COM2_VECTOR 3
#define MOUSE_COM2_IRQL MOUSE_COM2_VECTOR
#define SERIAL_MOUSE_COM2_PHYSICAL_BASE 0x2F8
#ifdef MOUSE_VECTOR
#undef MOUSE_VECTOR
#endif
#define MOUSE_VECTOR MOUSE_COM1_VECTOR
#define MOUSE_IRQL MOUSE_COM1_IRQL
#define SERIAL_MOUSE_PHYSICAL_BASE SERIAL_MOUSE_COM1_PHYSICAL_BASE
#define SERIAL_MOUSE_REGISTER_LENGTH 8
#define SERIAL_MOUSE_REGISTER_SHARE FALSE
#define SERIAL_MOUSE_PORT_TYPE CM_RESOURCE_PORT_IO
//
// Define the default clock rate to be 1.8432 MHz.
//
#define MOUSE_BAUD_CLOCK 1843200UL
//
// Define the default number of entries in the input data queue.
//
#define DATA_QUEUE_SIZE 100
//
// The default overrideHardware flag (disabled)
//
#define DEFAULT_OVERRIDE_HARDWARE -1
#endif // _SERMCFG_