|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: sermcfg.h ! 8: ! 9: Abstract: ! 10: ! 11: These are the machine-dependent configuration constants that are used in ! 12: the i8250 serial mouse port driver. ! 13: ! 14: Revision History: ! 15: ! 16: --*/ ! 17: ! 18: #ifndef _SERMCFG_ ! 19: #define _SERMCFG_ ! 20: ! 21: // ! 22: // Define the interrupt-related configuration constants. ! 23: // ! 24: ! 25: #define SERIAL_MOUSE_INTERFACE_TYPE Isa ! 26: #define SERIAL_MOUSE_INTERRUPT_MODE Latched ! 27: #define SERIAL_MOUSE_INTERRUPT_SHARE FALSE ! 28: ! 29: #define SERIAL_MOUSE_BUS_NUMBER 0 ! 30: ! 31: #define SERIAL_MOUSE_FLOATING_SAVE FALSE ! 32: ! 33: #define MOUSE_COM1_VECTOR 4 ! 34: #define MOUSE_COM1_IRQL MOUSE_COM1_VECTOR ! 35: #define SERIAL_MOUSE_COM1_PHYSICAL_BASE 0x3F8 ! 36: ! 37: #define MOUSE_COM2_VECTOR 3 ! 38: #define MOUSE_COM2_IRQL MOUSE_COM2_VECTOR ! 39: #define SERIAL_MOUSE_COM2_PHYSICAL_BASE 0x2F8 ! 40: ! 41: #define MOUSE_VECTOR MOUSE_COM1_VECTOR ! 42: #define MOUSE_IRQL MOUSE_COM1_IRQL ! 43: #define SERIAL_MOUSE_PHYSICAL_BASE SERIAL_MOUSE_COM1_PHYSICAL_BASE ! 44: #define SERIAL_MOUSE_REGISTER_LENGTH 8 ! 45: #define SERIAL_MOUSE_REGISTER_SHARE FALSE ! 46: #define SERIAL_MOUSE_PORT_TYPE CM_RESOURCE_PORT_IO ! 47: ! 48: // ! 49: // Define the default clock rate to be 1.8432 MHz. ! 50: // ! 51: ! 52: #define MOUSE_BAUD_CLOCK 1843200UL ! 53: ! 54: // ! 55: // Define the default number of entries in the input data queue. ! 56: // ! 57: ! 58: #define DATA_QUEUE_SIZE 100 ! 59: ! 60: // ! 61: // The default overrideHardware flag (disabled) ! 62: // ! 63: ! 64: #define DEFAULT_OVERRIDE_HARDWARE -1 ! 65: ! 66: #endif // _SERMCFG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.