home *** CD-ROM | disk | FTP | other *** search
- /*DDK*************************************************************************/
- /* */
- /* COPYRIGHT Copyright (C) 1995 IBM Corporation */
- /* */
- /* The following IBM OS/2 WARP source code is provided to you solely for */
- /* the purpose of assisting you in your development of OS/2 WARP device */
- /* drivers. You may use this code in accordance with the IBM License */
- /* Agreement provided in the IBM Device Driver Source Kit for OS/2. This */
- /* Copyright statement may not be removed. */
- /* */
- /*****************************************************************************/
- /*static char *SCCSID = "src/dev/dasd/ibm/ibm1s506/s506ps2.h, idsk, r207, 8.005p 93/03/18";*/
- /**************************************************************************
- *
- * SOURCE FILE NAME = S506PS2.H
- *
- * DESCRIPTIVE NAME = IBM1S506.ADD - Adapter Driver for ST506/IDE DASD
- *
- *
- *
- * VERSION = V2.0
- *
- * DATE
- *
- * DESCRIPTION : IBM PS/2 specific hardware equates
- *
- * Purpose:
- *
- *
- *
- *
- *
- */
- /*------------------------------------*/
- /* System Control Port A */
- /*------------------------------------*/
- #define PS2_CTRL_PORT_A 0x0092
- #define PS2_FIXED_DISK_LIGHT 0xc0
-
- /*------------------------------------*/
- /* System Board Enable/Setup Register */
- /*------------------------------------*/
- #define PS2_SETUP_REG 0x0094
- #define PS2_DISABLE_PLANAR_SETUP 0x80
- #define PS2_DISABLE_VIDEO_SETUP 0x20
-
- /*------------------------------------*/
- /* PLANAR COM/PARALLEL/DSKT Pos Reg */
- /*------------------------------------*/
- #define PS2_PLANAR_POS_REG 0x0102
- #define ENABLE_FIXED_POS 0x01
-
- /*------------------------------------*/
- /* PLANAR Fixed Drive Pos Reg */
- /*------------------------------------*/
- #define PS2_FIXED_POS_REG 0x0103
- #define ENABLE_FIXED_DRIVE 0x08
- #define REG_3F7_TO_DSKT 0x04
- #define REG_3F6_TO_DSKT 0x02
-
- /*----------------------------*/
- /* Machine Model/Type Bytes */
- /*----------------------------*/
- #define MCHID_30286 0xFC09
-
-