home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / OS2ASPI / ASPICONS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  3.0 KB  |  75 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/os2aspi/aspicons.h, aspi, r206 93/03/20";*/
  13. /**************************************************************************
  14.  *
  15.  * SOURCE FILE NAME = ASPICONS.H
  16.  *
  17.  * DESCRIPTIVE NAME = OS2ASPI.DMD - OS/2 ASPI Device Manager
  18.  *
  19.  *
  20.  *
  21.  * VERSION = V2.0
  22.  *
  23.  * DATE
  24.  *
  25.  * DESCRIPTION : Miscellaneous constants and macros
  26.  *
  27.  *
  28. */
  29. /*---------------------------------------------------*/
  30. /*                                                   */
  31. /*                                                   */
  32. /*---------------------------------------------------*/
  33.  
  34. #define ENABLE  _asm{ sti }
  35. #define DISABLE _asm{ cli }
  36.  
  37. /*---------------------------------------------------*/
  38. /*                                                   */
  39. /*                                                   */
  40. /*---------------------------------------------------*/
  41.  
  42. #define ADDFLAGS               0
  43. #define DRIVERCLASS_ADD        1
  44.  
  45. /*---------------------------------------------------*/
  46. /*                                                   */
  47. /*                                                   */
  48. /*---------------------------------------------------*/
  49.  
  50. #define MAX_CONFIG_DATA        (16*1024)
  51.  
  52. /*---------------------------------------------------*/
  53. /*                                                   */
  54. /*                                                   */
  55. /*---------------------------------------------------*/
  56. #define STERR_GENERAL_FAILURE   0x810c
  57.  
  58.  
  59. /*---------------------------------------------------*/
  60. /*                                                   */
  61. /*                                                   */
  62. /*---------------------------------------------------*/
  63. #define MAX_DT_ADAPTERS  8
  64. #define MAX_DT_UNITS     56
  65. #define MAX_DT_SIZE (sizeof(DEVICETABLE) + ((MAX_DT_ADAPTERS-1) * 2) +        \
  66.               (MAX_DT_ADAPTERS * (sizeof(ADAPTERINFO)-sizeof(UNITINFO))) +    \
  67.               (MAX_DT_UNITS * sizeof(UNITINFO))  )
  68.  
  69.  
  70. #define MAX_QUEUING_COUNT 4
  71. #define SRB_CHAIN_COUNT 3                                            /*@V58231*/
  72.  
  73.  
  74.  
  75.