|
|
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: #ifdef i386
26: #define SERIAL_MOUSE_INTERFACE_TYPE Isa
27: #define SERIAL_MOUSE_INTERRUPT_MODE Latched
28: #define SERIAL_MOUSE_INTERRUPT_SHARE FALSE
29: #else
30: #define SERIAL_MOUSE_INTERFACE_TYPE Isa
31: #define SERIAL_MOUSE_INTERRUPT_MODE LevelSensitive
32: #define SERIAL_MOUSE_INTERRUPT_SHARE TRUE
33: #endif
34:
35: #define SERIAL_MOUSE_BUS_NUMBER 0
36:
37: #ifdef i386
38: #define SERIAL_MOUSE_FLOATING_SAVE FALSE
39: #else
40: #define SERIAL_MOUSE_FLOATING_SAVE TRUE
41: #endif
42:
43: #define MOUSE_COM1_VECTOR 4
44: #define MOUSE_COM1_IRQL MOUSE_COM1_VECTOR
45: #define SERIAL_MOUSE_COM1_PHYSICAL_BASE 0x3F8
46:
47: #define MOUSE_COM2_VECTOR 3
48: #define MOUSE_COM2_IRQL MOUSE_COM2_VECTOR
49: #define SERIAL_MOUSE_COM2_PHYSICAL_BASE 0x2F8
50:
51: #define MOUSE_VECTOR MOUSE_COM1_VECTOR
52: #define MOUSE_IRQL MOUSE_COM1_IRQL
53: #define SERIAL_MOUSE_PHYSICAL_BASE SERIAL_MOUSE_COM1_PHYSICAL_BASE
54: #define SERIAL_MOUSE_REGISTER_LENGTH 8
55: #define SERIAL_MOUSE_REGISTER_SHARE FALSE
56: #define SERIAL_MOUSE_PORT_TYPE CM_RESOURCE_PORT_IO
57:
58: //
59: // Define the default clock rate to be 1.8432 MHz.
60: //
61:
62: #define MOUSE_BAUD_CLOCK 1843200UL
63:
64: //
65: // Define the default number of entries in the input data queue.
66: //
67:
68: #define DATA_QUEUE_SIZE 100
69:
70: //
71: // The default overrideHardware flag (disabled)
72: //
73:
74: #define DEFAULT_OVERRIDE_HARDWARE -1
75:
76: #endif // _SERMCFG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.