Annotation of ntddk/src/input/i8042prt/alpha/i8042cfg.h, revision 1.1

1.1     ! root        1: /*++
        !             2: 
        !             3: Copyright (c) 1989, 1990, 1991, 1992, 1993  Microsoft Corporation
        !             4: Copyright (c) 1992  Digital Equipment Corporation
        !             5: 
        !             6: Module Name:
        !             7: 
        !             8:     i8042cfg.h
        !             9: 
        !            10: Abstract:
        !            11: 
        !            12:     These are the machine-dependent configuration constants that are used in 
        !            13:     the Intel 8042 port driver.
        !            14: 
        !            15: Revision History:
        !            16: 
        !            17:     Rod Gamache [DEC] 2-Oct-1992
        !            18: 
        !            19:         Add Alpha AXP hooks.
        !            20: 
        !            21: --*/
        !            22: 
        !            23: #ifndef _I8042CFG_
        !            24: #define _I8042CFG_
        !            25: 
        !            26: //
        !            27: // N.B. This file will define the 'default' Alpha configuration for
        !            28: // the I8042 port driver. It assumes the register definitions from the
        !            29: // VLSI Technology 82c106 chip. If any of these definitions must change,
        !            30: // then some other (special) action must also happen - like building a
        !            31: // separate binary driver for the specific Alpha platform.
        !            32: //
        !            33: // On Alpha systems, the normal behavior is to get the real configuration
        !            34: // information from the (ARC compliant) firmware.
        !            35: 
        !            36: //
        !            37: // Define the interrupt-related configuration constants.
        !            38: //
        !            39: 
        !            40: #define I8042_INTERFACE_TYPE      Isa
        !            41: #define I8042_INTERRUPT_MODE      Latched
        !            42: #define I8042_INTERRUPT_SHARE     FALSE
        !            43: #define I8042_FLOATING_SAVE       FALSE
        !            44: 
        !            45: //
        !            46: // Define the default allowable retry and polling iterations.
        !            47: //
        !            48: 
        !            49: #define I8042_RESEND_DEFAULT      3
        !            50: #define I8042_POLLING_DEFAULT  1024
        !            51: #define I8042_POLLING_MAXIMUM 12000
        !            52: 
        !            53: //
        !            54: // Define the keyboard-specific configuration parameters.
        !            55: //
        !            56: 
        !            57: #define KEYBOARD_IRQL    KEYBOARD_VECTOR
        !            58: 
        !            59: //
        !            60: // Define the mouse-specific configuration parameters.
        !            61: //
        !            62: 
        !            63: #define MOUSE_IRQL    MOUSE_VECTOR
        !            64: 
        !            65: //
        !            66: // Define the base port offsets for the i8042 controller command/status and
        !            67: // data registers.
        !            68: //
        !            69: 
        !            70: #define I8042_PHYSICAL_BASE           KEYBOARD_PHYSICAL_BASE
        !            71: #define I8042_DATA_REGISTER_OFFSET    0 
        !            72: #define I8042_COMMAND_REGISTER_OFFSET 4
        !            73: #define I8042_STATUS_REGISTER_OFFSET  4
        !            74: #define I8042_REGISTER_LENGTH         1
        !            75: #define I8042_REGISTER_SHARE          FALSE
        !            76: #define I8042_PORT_TYPE               CM_RESOURCE_PORT_IO
        !            77: 
        !            78: #endif // _I8042CFG_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.