home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / CDROM / ATAPI / CMDPDEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  3.1 KB  |  84 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. /**************************************************************************
  13.  *
  14.  * SOURCE FILE NAME =  CMDPDEFS.H
  15.  *
  16.  *
  17.  *
  18.  *
  19.  * VERSION = V2.0
  20.  *
  21.  * DATE
  22.  *
  23.  * DESCRIPTION : Token IDs
  24.  *
  25.  * Purpose:  This file is automatically included in the files
  26.  *           which generate the parser tables:
  27.  *
  28.  *             CMDPDSKT.C - Command Table for Diskette ADDs
  29.  *             CMDPDISK.C - Command Table for ST-506 DASD ADDs
  30.  *             CMDPSCSI.C - Command Table for SCSI ADDs
  31.  *
  32.  *
  33. */
  34.  
  35.  
  36. /*                                                            */
  37. /* TOKEN IDs  - opt.id definitions                            */
  38. /*                                                            */
  39. /* note:  - Assign a unique token id (1 - 255) for each valid */
  40. /*          option.                                           */
  41. /*                                                            */
  42.  
  43. #define TOK_ID_ADAPTER        1
  44. #define TOK_ID_PORT           2
  45. #define TOK_ID_UNIT           3
  46. #define TOK_ID_DMA            4
  47. #define TOK_ID_IRQ            5
  48. #define TOK_ID_AHS            6
  49. #define TOK_ID_NOT_AHS        7
  50. #define TOK_ID_FORMAT         8
  51. #define TOK_ID_S_BYTES        9
  52. #define TOK_ID_MCA           10
  53. #define TOK_ID_PS2           TOK_ID_MCA
  54. #define TOK_ID_SLOT          11
  55. #define TOK_ID_DM            12
  56. #define TOK_ID_NOT_DM        13
  57. #define TOK_ID_SM            14
  58. #define TOK_ID_NOT_SM        15
  59. #define TOK_ID_HCW           16
  60. #define TOK_ID_NOT_HCW       17
  61. #define TOK_ID_HCR           18
  62. #define TOK_ID_NOT_HCR       19
  63. #define TOK_ID_DEV0          20
  64. #define TOK_ID_CAM           21
  65. #define TOK_ID_NOT_CAM       22
  66. #define TOK_ID_FDT           23
  67. #define TOK_ID_NOT_FDT       24
  68. #define TOK_ID_GEO           25
  69. #define TOK_ID_SMS           26
  70. #define TOK_ID_NOT_SMS       27
  71. #define TOK_ID_SN            28
  72. #define TOK_ID_NOT_SN        29
  73. #define TOK_ID_ET            30
  74. #define TOK_ID_NOT_ET        31
  75. #define TOK_ID_CHGLINE       32
  76. #define TOK_ID_TIMEOUT       33
  77. #define TOK_ID_IGNORE        34
  78. #define TOK_ID_V             35
  79. #define TOK_ID_NOT_V         36
  80. #define TOK_ID_LBAMODE       37
  81. #define TOK_ID_RESET         38
  82. #define TOK_ID_NORESET       39
  83. #define TOK_ID_COMPORT       40 /* for debug version only */
  84.