mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Substituted string "acs" with "dsm".
The following case replacements were applied (in order): AcsRegister -> dsmRegister Acs_LIBS -> dsm_LIBS ' Acs' -> ' dsm' acs -> dsm Acs -> Dsm ACS -> DSM
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... MCB4BDriver.cpp
|
||||
USAGE... Motor driver support for the ACS MCB-4B controller.
|
||||
USAGE... Motor driver support for the DSM MCB-4B controller.
|
||||
|
||||
Mark Rivers
|
||||
March 1, 2012
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... MCB4BDriver.h
|
||||
USAGE... Motor driver support for the ACS MCB-4B controller.
|
||||
USAGE... Motor driver support for the DSM MCB-4B controller.
|
||||
|
||||
Mark Rivers
|
||||
March 1, 2012
|
||||
|
@@ -5,18 +5,18 @@ include $(TOP)/configure/CONFIG
|
||||
# The following are used for debugging messages.
|
||||
USR_CXXFLAGS += -DDEBUG
|
||||
|
||||
DBD += devAcsMotor.dbd
|
||||
DBD += devDsmMotor.dbd
|
||||
|
||||
LIBRARY_IOC = Acs
|
||||
LIBRARY_IOC = dsm
|
||||
|
||||
SRCS += AcsRegister.cc
|
||||
SRCS += dsmRegister.cc
|
||||
|
||||
# Advanced Control Systems driver support.
|
||||
SRCS += devMCB4B.c drvMCB4B.c
|
||||
SRCS += MCB4BDriver.cpp
|
||||
|
||||
Acs_LIBS += motor asyn
|
||||
Acs_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||
dsm_LIBS += motor asyn
|
||||
dsm_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# Advanced Control Systems driver support.
|
||||
|
||||
# Model 1 (non-asyn) driver
|
||||
device(motor,VME_IO,devMCB4B,"ACS MCB-4B")
|
||||
device(motor,VME_IO,devMCB4B,"DSM MCB-4B")
|
||||
driver(drvMCB4B)
|
||||
registrar(AcsRegister)
|
||||
registrar(dsmRegister)
|
||||
|
||||
# Model 3 driver
|
||||
registrar(MCB4BRegister)
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <errlog.h>
|
||||
#include "motor.h"
|
||||
#include "AcsRegister.h"
|
||||
#include "dsmRegister.h"
|
||||
#include "drvMCB4B.h"
|
||||
#include "asynOctetSyncIO.h"
|
||||
#include "epicsExport.h"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... AcsRegister.cc
|
||||
USAGE... Register ACS motor device driver shell commands.
|
||||
FILENAME... dsmRegister.cc
|
||||
USAGE... Register DSM motor device driver shell commands.
|
||||
|
||||
*/
|
||||
|
||||
@@ -16,16 +16,16 @@ of this distribution.
|
||||
**********************************************************************/
|
||||
|
||||
#include <iocsh.h>
|
||||
#include "AcsRegister.h"
|
||||
#include "dsmRegister.h"
|
||||
#include "epicsExport.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
// ACS Setup arguments
|
||||
// DSM Setup arguments
|
||||
static const iocshArg setupArg0 = {"Max. controller count", iocshArgInt};
|
||||
static const iocshArg setupArg1 = {"Polling rate", iocshArgInt};
|
||||
// ACS Config arguments
|
||||
// DSM Config arguments
|
||||
static const iocshArg configArg0 = {"Card being configured", iocshArgInt};
|
||||
static const iocshArg configArg1 = {"asyn port name", iocshArgString};
|
||||
|
||||
@@ -44,12 +44,12 @@ static void configMCB4BCallFunc(const iocshArgBuf *args)
|
||||
MCB4BConfig(args[0].ival, args[1].sval);
|
||||
}
|
||||
|
||||
static void AcsRegister(void)
|
||||
static void dsmRegister(void)
|
||||
{
|
||||
iocshRegister(&setupMCB4B, setupMCB4BCallFunc);
|
||||
iocshRegister(&configMCB4B, configMCB4BCallFunc);
|
||||
}
|
||||
|
||||
epicsExportRegistrar(AcsRegister);
|
||||
epicsExportRegistrar(dsmRegister);
|
||||
|
||||
} // extern "C"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... AcsRegister.h
|
||||
USAGE... This file contains function prototypes for ACS IOC shell commands.
|
||||
FILENAME... dsmRegister.h
|
||||
USAGE... This file contains function prototypes for DSM IOC shell commands.
|
||||
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user