Changeset 679 for GPL/trunk/drv32/strategy.c
- Timestamp:
- Mar 18, 2021, 8:57:36 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-linux-3.2.102 (added) merged: 611-614 /GPL/branches/uniaud32-next (added) merged: 615-678
- Property svn:mergeinfo changed
-
GPL/trunk/drv32/strategy.c
r591 r679 24 24 */ 25 25 26 #define INCL_NOPMAPI27 #define INCL_DOSINFOSEG // Need Global info seg in rm.cpp algorithms28 26 #include <os2.h> 29 30 27 #include <devhelp.h> 31 //DAZ #include <devrp.h>32 #include <devown.h>33 #include "strategy.h"34 28 #include <ossidc32.h> 35 29 #include <dbgos2.h> 36 30 #include <string.h> 31 #include <u32ioctl.h> 32 #include "devown.h" 33 #include "strategy.h" 37 34 38 35 ULONG StratRead(REQPACKET __far *_rp); 39 36 ULONG StratIOCtl(REQPACKET __far *_rp); 40 ULONG StratClose(REQPACKET __far *_rp);41 37 42 38 ULONG DiscardableInit(REQPACKET __far*); … … 54 50 } 55 51 numOS2Opens++; 52 return RPDONE; 53 } 54 55 //****************************************************************************** 56 ULONG StratClose(REQPACKET __far* rp) 57 { 58 // only called if device successfully opened 59 // printk("strat close\n"); 60 numOS2Opens--; 61 62 UniaudCloseAll(rp->open_close.usSysFileNum); 63 64 if (numOS2Opens == 0) 65 { 66 deviceOwner = DEV_NO_OWNER; 67 } 56 68 return RPDONE; 57 69 } … … 172 184 else return(RPERR_BADCOMMAND | RPDONE); 173 185 } 174
Note:
See TracChangeset
for help on using the changeset viewer.