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/os2aspi/aspicons.h, aspi, r206 93/03/20";*/
- /**************************************************************************
- *
- * SOURCE FILE NAME = ASPICONS.H
- *
- * DESCRIPTIVE NAME = OS2ASPI.DMD - OS/2 ASPI Device Manager
- *
- *
- *
- * VERSION = V2.0
- *
- * DATE
- *
- * DESCRIPTION : Miscellaneous constants and macros
- *
- *
- */
- /*---------------------------------------------------*/
- /* */
- /* */
- /*---------------------------------------------------*/
-
- #define ENABLE _asm{ sti }
- #define DISABLE _asm{ cli }
-
- /*---------------------------------------------------*/
- /* */
- /* */
- /*---------------------------------------------------*/
-
- #define ADDFLAGS 0
- #define DRIVERCLASS_ADD 1
-
- /*---------------------------------------------------*/
- /* */
- /* */
- /*---------------------------------------------------*/
-
- #define MAX_CONFIG_DATA (16*1024)
-
- /*---------------------------------------------------*/
- /* */
- /* */
- /*---------------------------------------------------*/
- #define STERR_GENERAL_FAILURE 0x810c
-
-
- /*---------------------------------------------------*/
- /* */
- /* */
- /*---------------------------------------------------*/
- #define MAX_DT_ADAPTERS 8
- #define MAX_DT_UNITS 56
- #define MAX_DT_SIZE (sizeof(DEVICETABLE) + ((MAX_DT_ADAPTERS-1) * 2) + \
- (MAX_DT_ADAPTERS * (sizeof(ADAPTERINFO)-sizeof(UNITINFO))) + \
- (MAX_DT_UNITS * sizeof(UNITINFO)) )
-
-
- #define MAX_QUEUING_COUNT 4
- #define SRB_CHAIN_COUNT 3 /*@V58231*/
-
-
-
-