From 2e7e1416d3cd7115ad69ccadb1656ddd05a332c3 Mon Sep 17 00:00:00 2001 From: John Winans Date: Wed, 5 Apr 1995 14:13:43 +0000 Subject: [PATCH] Only do a sysIntEnable() for those cards that are found with the probe. --- src/dev/devMpc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dev/devMpc.c b/src/dev/devMpc.c index 1641483e7..af5af7e81 100644 --- a/src/dev/devMpc.c +++ b/src/dev/devMpc.c @@ -53,6 +53,9 @@ ***************************************************************** * * $Log$ + * Revision 1.1 1995/03/31 15:03:32 winans + * Machine protection system interface card + * * * 00: * HBI OSC AND3 AND2 AND1 OUT2 OUT1 OUT x x x x T2 T1 RR TEST @@ -583,10 +586,10 @@ STATIC long MpcInit(int flag) cards[Card].Doggie = wdCreate(); wdStart(cards[Card].Doggie, MPC_DOG_POLL_RATE, (FUNCPTR)MpcDogWatcher, (int)(&cards[Card])); #endif - } #ifdef MPC_USE_IRQS sysIntEnable(cards[Card].VMEintLevel); #endif + } } } return(OK);