home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / scsiopt2.zip / cmdpdefs.h < prev    next >
Text File  |  1997-06-05  |  3KB  |  121 lines

  1. /**************************************************************************
  2.  *
  3.  * SOURCE FILE NAME = CMDPDEFS.H
  4.  *
  5.  * DESCRIPTIVE NAME = ADD command line parser -
  6.  *              Token IDs
  7.  *
  8.  *
  9.  *
  10.  * COPYRIGHT    Copyright (C) 1992 IBM Corporation
  11.  *
  12.  * The following IBM OS/2 2.1 source code is provided to you solely for
  13.  * the purpose of assisting you in your development of OS/2 2.x device
  14.  * drivers. You may use this code in accordance with the IBM License
  15.  * Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  16.  * Copyright statement may not be removed.
  17.  *
  18.  *
  19.  *
  20.  * VERSION = V2.0
  21.  *
  22.  * DATE
  23.  *
  24.  * DESCRIPTION :
  25.  *
  26.  * Purpose: This file is automatically included in the files
  27.  *        which generate the parser tables:
  28.  *
  29.  *          CMDPDSKT.C - Command Table for Diskette ADDs
  30.  *          CMDPDISK.C - Command Table for ST-506 DASD ADDs
  31.  *          CMDPSCSI.C - Command Table for SCSI ADDs
  32.  *
  33.  * FUNCTIONS  :
  34.  *
  35.  *
  36.  *
  37.  *
  38.  *
  39.  *
  40.  *
  41.  * NOTES
  42.  *
  43.  *
  44.  * STRUCTURES
  45.  *
  46.  * EXTERNAL REFERENCES
  47.  *
  48.  *
  49.  *
  50.  * EXTERNAL FUNCTIONS
  51.  *
  52.  ***************************************************************************/
  53. /*
  54.  * $Header: e:/source/driver/perf/RCS/cmdpdefs.h,v 1.1 1997/06/04 23:18:03 vitus Exp $
  55.  *
  56.  * $Log: cmdpdefs.h,v $
  57.  * Revision 1.1  1997/06/04 23:18:03  vitus
  58.  * Initial revision
  59.  *
  60.  */
  61.  
  62. /*
  63. ** TOKEN IDs  - opt.id definitions
  64. **
  65. ** note:  - Assign a unique token id (1 - 255) for each valid
  66. **        option.
  67. */
  68.  
  69. #define TOK_ID_ADAPTER          1
  70. #define TOK_ID_PORT          2
  71. #define TOK_ID_UNIT          3
  72. #define TOK_ID_DMA          4
  73. #define TOK_ID_IRQ          5
  74. #define TOK_ID_AHS          6
  75. #define TOK_ID_NOT_AHS          7
  76. #define TOK_ID_FORMAT          8
  77. #define TOK_ID_S_BYTES          9
  78. #define TOK_ID_MCA         10
  79. #define TOK_ID_PS2         TOK_ID_MCA
  80. #define TOK_ID_SLOT         11
  81. #define TOK_ID_DM         12
  82. #define TOK_ID_NOT_DM         13
  83. #define TOK_ID_SM         14
  84. #define TOK_ID_NOT_SM         15
  85. #define TOK_ID_HCW         16
  86. #define TOK_ID_NOT_HCW         17
  87. #define TOK_ID_HCR         18
  88. #define TOK_ID_NOT_HCR         19
  89. #define TOK_ID_DEV0         20
  90. #define TOK_ID_CAM         21
  91. #define TOK_ID_NOT_CAM         22
  92. #define TOK_ID_FDT         23
  93. #define TOK_ID_NOT_FDT         24
  94. #define TOK_ID_GEO         25
  95. #define TOK_ID_SMS         26
  96. #define TOK_ID_NOT_SMS         27
  97. #define TOK_ID_SN         28
  98. #define TOK_ID_NOT_SN         29
  99. #define TOK_ID_ET         30
  100. #define TOK_ID_NOT_ET         31
  101. #define TOK_ID_CHGLINE         32
  102.  
  103. #define TOK_ID_VERBOSE        40
  104. #define TOK_ID_BS        41
  105. #define TOK_ID_MAXBL        42
  106. #define TOK_ID_EISA        43
  107. #define TOK_ID_AM        44
  108. #define TOK_ID_NOT_AM        45
  109.  
  110. #define    TOK_ID_RESERVE        46
  111. #define    TOK_ID_NOSCAN        47
  112. #define    TOK_ID_ABOVE16        48
  113. #define    TOK_ID_UT        49
  114. #define    TOK_ID_NOT_UT        50
  115.  
  116. #define    TOK_ID_FIX        51        /* enable fix 'd' */
  117. #define    TOK_ID_NOT_FIX        52        /* disable fix 'd' */
  118.  
  119. #define TOK_ID_TIME        53
  120. #define TOK_ID_DEBUG        54
  121.