home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / OS2SCSI / SCSTUBS.C < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  2.0 KB  |  70 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/os2scsi/scstubs.c, scsy, ddk_subset, b_bdd.032 93/03/19";*/
  13. /**************************************************************************
  14.  *
  15.  * SOURCE FILE NAME =   SCSTUBS.C
  16.  *
  17.  * DESCRIPTIVE NAME =   OS2SCSI.DMD - OS/2 SCSI.SYS Emulation
  18.  *
  19.  *
  20.  *
  21.  * VERSION = V2.0
  22.  *
  23.  * DATE
  24.  *
  25.  * DESCRIPTION : Resident entry points to swappable routines
  26.  *
  27.  *
  28.  *
  29. */
  30.  
  31. #define INCL_NOBASEAPI
  32. #define INCL_NOPMAPI
  33. #include "os2.h"
  34. #include "error.h"
  35. #include "strat2.h"
  36. #include "reqpkt.h"
  37. #include "scb.h"
  38. #include "iorb.h"
  39. #include "scsi.h"
  40. #include "scscsi.h"
  41. #include "scgen.h"
  42. #include "scproto.h"
  43. #include "dhcalls.h"
  44.  
  45. /*-----------------------*/
  46. /* Resident Entry Points */
  47. /*-----------------------*/
  48.  
  49.  
  50. USHORT near CmdErr(pRPH)
  51. PRPH   pRPH;
  52. {
  53.   return(STDON + STERR + ERROR_I24_BAD_COMMAND);
  54. }
  55.  
  56.  
  57. /*-----------------------------------------*/
  58. /* Near Entry Points to swappable routines */
  59. /*-----------------------------------------*/
  60.  
  61. USHORT near DriveGenIOCtl(EntryType, pRPH)
  62. USHORT EntryType;
  63. PRPH   pRPH;
  64. {
  65.   return(f_DriveGenIOCtl(EntryType, pRPH));
  66. }
  67.  
  68.  
  69.  
  70.