|
|
1.1 root 1: /*++
2:
3: Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
4:
5: Module Name:
6:
7: inpcfg.h
8:
9: Abstract:
10:
11: These are the machine-dependent configuration constants that are used in
12: the Microsoft InPort mouse port driver.
13:
14: Revision History:
15:
16: --*/
17:
18: #ifndef _INPCFG_
19: #define _INPCFG_
20:
21: //
22: // Define the interrupt-related configuration constants.
23: //
24:
25: #ifdef i386
26: #define INPORT_INTERFACE_TYPE Isa
27: #define INPORT_INTERRUPT_MODE Latched
28: #define INPORT_INTERRUPT_SHARE FALSE
29: #else
30: #define INPORT_INTERFACE_TYPE Isa
31: #define INPORT_INTERRUPT_MODE LevelSensitive
32: #define INPORT_INTERRUPT_SHARE TRUE
33: #endif
34:
35: #define INPORT_BUS_NUMBER 0
36:
37: #ifdef i386
38: #define INPORT_FLOATING_SAVE FALSE
39: #else
40: #define INPORT_FLOATING_SAVE TRUE
41: #endif
42:
43: #define MOUSE_VECTOR 9
44: #define MOUSE_IRQL MOUSE_VECTOR
45: #define INPORT_PHYSICAL_BASE 0x23C
46: #define INPORT_REGISTER_LENGTH 4
47: #define INPORT_REGISTER_SHARE FALSE
48: #define INPORT_PORT_TYPE CM_RESOURCE_PORT_IO
49:
50: //
51: // Define the default number of entries in the input data queue.
52: //
53:
54: #define DATA_QUEUE_SIZE 100
55:
56: #endif // _INPCFG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.