jba removed process from dev init_record parms
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
* .22 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .23 02-28-92 jba ANSI C changes
|
||||
* .24 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .25 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -158,7 +159,7 @@ static long init_record(pai)
|
||||
pai->init = TRUE;
|
||||
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pai,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pai))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
* .23 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .24 02-28-92 jba ANSI C changes
|
||||
* .25 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .26 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -159,7 +160,7 @@ static long init_record(pao)
|
||||
pao->init = TRUE;
|
||||
|
||||
if( pdset->init_record ) {
|
||||
status=(*pdset->init_record)(pao,process);
|
||||
status=(*pdset->init_record)(pao);
|
||||
switch(status){
|
||||
case(0): /* convert */
|
||||
if (pao->linr == 0){
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
* .15 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .16 02-28-92 jba ANSI C changes
|
||||
* .17 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .18 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -131,7 +132,7 @@ static long init_record(pbi)
|
||||
return(S_dev_missingSup);
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pbi,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pbi))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
* .21 02-28-92 jba ANSI C changes
|
||||
* .22 03-03-92 jba Changed callback handling
|
||||
* .23 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .24 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -181,7 +182,7 @@ static long init_record(pbo)
|
||||
pcallback->precord = (struct dbCommon *)pbo;
|
||||
|
||||
if( pdset->init_record ) {
|
||||
status=(*pdset->init_record)(pbo,process);
|
||||
status=(*pdset->init_record)(pbo);
|
||||
if(status==0) {
|
||||
if(pbo->rval==0) pbo->val = 0;
|
||||
else pbo->val = 1;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
4 .00 12-13-91 jba Initial definition
|
||||
* .01 02-28-92 jba ANSI C changes
|
||||
* .02 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .03 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -105,7 +106,7 @@ static long init_record(pevent)
|
||||
long status=0;
|
||||
|
||||
if( (pdset=(struct eventdset *)(pevent->dset)) && (pdset->init_record) )
|
||||
status=(*pdset->init_record)(pevent,process);
|
||||
status=(*pdset->init_record)(pevent);
|
||||
return(status);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 02-28-92 jba ANSI C changes
|
||||
* .04 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .05 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -196,7 +197,7 @@ static long init_record(phistogram)
|
||||
|
||||
/* call device support init_record */
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(phistogram,process))) return(status);
|
||||
if((status=(*pdset->init_record)(phistogram))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .04 02-28-92 jba ANSI C changes
|
||||
* .04 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .05 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .06 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
|
||||
@@ -119,7 +120,7 @@ static long init_record(plongin)
|
||||
return(S_dev_missingSup);
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(plongin,process))) return(status);
|
||||
if((status=(*pdset->init_record)(plongin))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 02-28-92 jba ANSI C changes
|
||||
* .04 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .05 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
|
||||
@@ -124,7 +125,7 @@ static long init_record(plongout)
|
||||
plongout->udf=FALSE;
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(plongout,process))) return(status);
|
||||
if((status=(*pdset->init_record)(plongout))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
* .15 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .16 02-28-92 jba ANSI C changes
|
||||
* .17 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .18 04-18-92 jba removed process from dev dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -158,7 +159,7 @@ static long init_record(pmbbi)
|
||||
pmbbi->mask |= 1; /* set low order bit*/
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pmbbi,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pmbbi))) return(status);
|
||||
}
|
||||
init_common(pmbbi);
|
||||
return(0);
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
* .18 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .19 02-28-92 jba ANSI C changes
|
||||
* .20 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .21 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -171,7 +172,7 @@ static long init_record(pmbbo)
|
||||
if( pdset->init_record ) {
|
||||
unsigned long rval;
|
||||
|
||||
status=(*pdset->init_record)(pmbbo,process);
|
||||
status=(*pdset->init_record)(pmbbo);
|
||||
/* init_record might set status */
|
||||
init_common(pmbbo);
|
||||
if(status==0){
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 02-28-92 jba ANSI C changes
|
||||
* .04 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .05 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -134,7 +135,7 @@ static long init_record(ppc)
|
||||
}
|
||||
/* call device support init_record */
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(ppc,process))) return(status);
|
||||
if((status=(*pdset->init_record)(ppc))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
* .03 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .04 02-28-92 jba ANSI C changes
|
||||
* .05 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .06 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -120,7 +121,7 @@ static long init_record(ppd)
|
||||
}
|
||||
/* call device support init_record */
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(ppd,process))) return(status);
|
||||
if((status=(*pdset->init_record)(ppd))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
* .04 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .05 02-28-92 jba ANSI C changes
|
||||
* .06 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .07 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -136,7 +137,7 @@ static long init_record(ppt)
|
||||
}
|
||||
/* call device support init_record */
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(ppt,process))) return(status);
|
||||
if((status=(*pdset->init_record)(ppt))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
Make STOP stop even if retry>0
|
||||
Make motor move whenever VAL field accessed
|
||||
* .27 04-08-92 mrk break out device support
|
||||
* .28 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -188,7 +189,7 @@ static long init_record(psm)
|
||||
return(S_dev_missingSup);
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(psm,process))) return(status);
|
||||
if((status=(*pdset->init_record)(psm))) return(status);
|
||||
}
|
||||
|
||||
/* get the initial value if dol is a constant*/
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 02-28-92 jba ANSI C changes
|
||||
* .04 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .05 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
|
||||
@@ -116,7 +117,7 @@ static long init_record(pstringin)
|
||||
return(S_dev_missingSup);
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pstringin,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pstringin))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
* .03 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .04 02-28-92 jba ANSI C changes
|
||||
* .05 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .06 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
|
||||
@@ -124,7 +125,7 @@ static long init_record(pstringout)
|
||||
pstringout->udf=FALSE;
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pstringout,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pstringout))) return(status);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
* .14 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double
|
||||
* .15 02-28-92 jba ANSI C changes
|
||||
* .16 04-10-92 jba pact now used to test for asyn processing, not status
|
||||
* .17 04-18-92 jba removed process from dev init_record parms
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
@@ -157,7 +158,7 @@ static long init_record(pwf)
|
||||
return(S_dev_missingSup);
|
||||
}
|
||||
if( pdset->init_record ) {
|
||||
if((status=(*pdset->init_record)(pwf,process))) return(status);
|
||||
if((status=(*pdset->init_record)(pwf))) return(status);
|
||||
}
|
||||
}
|
||||
return(0);
|
||||
|
||||
Reference in New Issue
Block a user