Set cmd to zero in io-interrupt processing

This commit is contained in:
Janet B. Anderson
1991-12-17 14:25:16 +00:00
parent c2b3992b7d
commit 0bca3c0586
4 changed files with 8 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 12-02-91 jba Added cmd control to io-interrupt processing
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* ...
*/
@@ -114,6 +115,7 @@ static long get_ioint_info(cmd,pai,io_type,card_type,card_number)
short *card_type;
short *card_number;
{
*cmd=0;
if(pai->inp.type != VME_IO) return(S_dev_badInpType);
*io_type = IO_AI;
*card_type = DVX2502;

View File

@@ -32,6 +32,7 @@
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 12-02-91 jba Added cmd control to io-interrupt processing
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* ...
*/
@@ -112,6 +113,7 @@ static long get_ioint_info(cmd,pai,io_type,card_type,card_number)
short *card_type;
short *card_number;
{
*cmd=0;
if(pai->inp.type != VME_IO) return(S_dev_badInpType);
*io_type = IO_AI;
*card_type = XY566DIL;

View File

@@ -32,6 +32,7 @@
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 12-02-91 jba Added cmd control to io-interrupt processing
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* ...
*/
@@ -120,6 +121,7 @@ static long get_ioint_info(cmd,pwf,io_type,card_type,card_number)
short *card_type;
short *card_number;
{
*cmd=0;
if(pwf->inp.type != VME_IO) return(S_dev_badInpType);
*io_type = IO_WF;
*card_type = JGVTR1;

View File

@@ -43,6 +43,7 @@
* .10 10-15-90 mrk extensible record and device support
* .11 11-11-91 jba Moved set and reset of alarm stat and sevr to macros
* .12 12-02-91 jba Added cmd control to io-interrupt processing
* .13 12-12-91 jba Set cmd to zero in io-interrupt processing
*/
#include <vxWorks.h>
@@ -112,6 +113,7 @@ static long get_ioint_info(cmd,ptimer,io_type,card_type,card_number)
short *card_type;
short *card_number;
{
*cmd=0;
if(ptimer->out.type != VME_IO) return(S_dev_badInpType);
*io_type = IO_TIMER;
if(ptimer->dtyp==0)