home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / CDROM / ATAPI / ATAPIPS2.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  2.4 KB  |  66 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /*static char *SCCSID = "src/dev/dasd/ibm/ibm1s506/s506ps2.h, idsk, r207, 8.005p 93/03/18";*/
  13. /**************************************************************************
  14.  *
  15.  * SOURCE FILE NAME =  S506PS2.H
  16.  *
  17.  * DESCRIPTIVE NAME =  IBM1S506.ADD - Adapter Driver for ST506/IDE DASD
  18.  *
  19.  *
  20.  *
  21.  * VERSION = V2.0
  22.  *
  23.  * DATE
  24.  *
  25.  * DESCRIPTION : IBM PS/2 specific hardware equates
  26.  *
  27.  * Purpose:
  28.  *
  29.  *
  30.  *
  31.  *
  32.  *
  33. */
  34. /*------------------------------------*/
  35. /* System Control Port A              */
  36. /*------------------------------------*/
  37. #define PS2_CTRL_PORT_A           0x0092
  38. #define PS2_FIXED_DISK_LIGHT      0xc0
  39.  
  40. /*------------------------------------*/
  41. /* System Board Enable/Setup Register */
  42. /*------------------------------------*/
  43. #define PS2_SETUP_REG             0x0094
  44. #define PS2_DISABLE_PLANAR_SETUP  0x80
  45. #define PS2_DISABLE_VIDEO_SETUP   0x20
  46.  
  47. /*------------------------------------*/
  48. /* PLANAR COM/PARALLEL/DSKT Pos Reg   */
  49. /*------------------------------------*/
  50. #define PS2_PLANAR_POS_REG        0x0102
  51. #define ENABLE_FIXED_POS          0x01
  52.  
  53. /*------------------------------------*/
  54. /* PLANAR Fixed Drive Pos Reg         */
  55. /*------------------------------------*/
  56. #define PS2_FIXED_POS_REG         0x0103
  57. #define ENABLE_FIXED_DRIVE        0x08
  58. #define REG_3F7_TO_DSKT           0x04
  59. #define REG_3F6_TO_DSKT           0x02
  60.  
  61. /*----------------------------*/
  62. /* Machine Model/Type Bytes   */
  63. /*----------------------------*/
  64. #define MCHID_30286               0xFC09
  65.  
  66.