aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-12-19 20:08:04 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 16:52:37 -0500
commitbd5cd82dc6148aa8f655620e6f3bf62e5e320078 (patch)
tree6714894529010fcb385fd9235caed79b9dbf36b6 /drivers/staging
parentba338d462655cbcc436ace8b73afa003cd485928 (diff)
Staging: epl: run Lindent on all user/*.h files
It's a start, still a mess... Cc: Daniel Krueger <daniel.krueger@systec-electronic.com> Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/epl/user/EplCfgMau.h155
-rw-r--r--drivers/staging/epl/user/EplDllu.h14
-rw-r--r--drivers/staging/epl/user/EplDlluCal.h19
-rw-r--r--drivers/staging/epl/user/EplEventu.h17
-rw-r--r--drivers/staging/epl/user/EplIdentu.h25
-rw-r--r--drivers/staging/epl/user/EplLedu.h23
-rw-r--r--drivers/staging/epl/user/EplNmtCnu.h18
-rw-r--r--drivers/staging/epl/user/EplNmtMnu.h51
-rw-r--r--drivers/staging/epl/user/EplNmtu.h100
-rw-r--r--drivers/staging/epl/user/EplNmtuCal.h8
-rw-r--r--drivers/staging/epl/user/EplObdu.h78
-rw-r--r--drivers/staging/epl/user/EplObduCal.h94
-rw-r--r--drivers/staging/epl/user/EplPdou.h10
-rw-r--r--drivers/staging/epl/user/EplSdoAsndu.h18
-rw-r--r--drivers/staging/epl/user/EplSdoAsySequ.h32
-rw-r--r--drivers/staging/epl/user/EplSdoComu.h27
-rw-r--r--drivers/staging/epl/user/EplSdoUdpu.h21
-rw-r--r--drivers/staging/epl/user/EplStatusu.h19
-rw-r--r--drivers/staging/epl/user/EplTimeru.h22
19 files changed, 320 insertions, 431 deletions
diff --git a/drivers/staging/epl/user/EplCfgMau.h b/drivers/staging/epl/user/EplCfgMau.h
index 3d96daf889e3..d25a1e9d36cf 100644
--- a/drivers/staging/epl/user/EplCfgMau.h
+++ b/drivers/staging/epl/user/EplCfgMau.h
@@ -86,79 +86,70 @@
86#define EPL_CFGMA_MAX_TIMEOUT 3 86#define EPL_CFGMA_MAX_TIMEOUT 3
87 87
88//callbackfunction, called if configuration is finished 88//callbackfunction, called if configuration is finished
89typedef void (PUBLIC* tfpEplCfgMaCb) (unsigned int uiNodeId_p, 89typedef void (PUBLIC * tfpEplCfgMaCb) (unsigned int uiNodeId_p,
90 tEplKernel Errorstate_p); 90 tEplKernel Errorstate_p);
91 91
92//State for configuartion manager Statemachine 92//State for configuartion manager Statemachine
93typedef enum 93typedef enum {
94{ 94 // general states
95 // general states 95 kEplCfgMaIdle = 0x0000, // Configurationsprocess
96 kEplCfgMaIdle = 0x0000, // Configurationsprocess 96 // is idle
97 // is idle 97 kEplCfgMaWaitForSdocEvent = 0x0001, // wait until the last
98 kEplCfgMaWaitForSdocEvent = 0x0001, // wait until the last 98 // SDOC is finisched
99 // SDOC is finisched 99 kEplCfgMaSkipMappingSub0 = 0x0002, // write Sub0 of mapping
100 kEplCfgMaSkipMappingSub0 = 0x0002, // write Sub0 of mapping 100 // parameter with 0
101 // parameter with 0 101
102 102 kEplCfgMaFinished = 0x0004 // configuartion is finished
103 kEplCfgMaFinished = 0x0004 // configuartion is finished
104
105} tEplCfgState; 103} tEplCfgState;
106 104
107typedef enum 105typedef enum {
108{ 106 kEplCfgMaDcfTypSystecSeg = 0x00,
109 kEplCfgMaDcfTypSystecSeg = 0x00, 107 kEplCfgMaDcfTypConDcf = 0x01,
110 kEplCfgMaDcfTypConDcf = 0x01, 108 kEplCfgMaDcfTypDcf = 0x02, // not supported
111 kEplCfgMaDcfTypDcf = 0x02, // not supported 109 kEplCfgMaDcfTypXdc = 0x03 // not supported
112 kEplCfgMaDcfTypXdc = 0x03 // not supported 110} tEplCfgMaDcfTyp;
113
114
115}tEplCfgMaDcfTyp;
116 111
117typedef enum 112typedef enum {
118{ 113 kEplCfgMaCommon = 0, // all other index
119 kEplCfgMaCommon = 0, // all other index 114 kEplCfgMaPdoComm = 1, // communication index
120 kEplCfgMaPdoComm = 1, // communication index 115 kEplCfgMaPdoMapp = 2, // mapping index
121 kEplCfgMaPdoMapp = 2, // mapping index 116 kEplCfgMaPdoCommAfterMapp = 3, // write PDO Cob-Id after mapping subindex 0(set PDO valid)
122 kEplCfgMaPdoCommAfterMapp = 3, // write PDO Cob-Id after mapping subindex 0(set PDO valid)
123 117
124} tEplCfgMaIndexType; 118} tEplCfgMaIndexType;
125 119
126
127//bitcoded answer about the last sdo transfer saved in m_SdocState 120//bitcoded answer about the last sdo transfer saved in m_SdocState
128// also used to singal start of the State Maschine 121// also used to singal start of the State Maschine
129typedef enum 122typedef enum {
130{ 123 kEplCfgMaSdocBusy = 0x00, // SDOC activ
131 kEplCfgMaSdocBusy = 0x00, // SDOC activ 124 kEplCfgMaSdocReady = 0x01, // SDOC finished
132 kEplCfgMaSdocReady = 0x01, // SDOC finished 125 kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout
133 kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout 126 kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode
134 kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode 127 kEplCfgMaSdocStart = 0x08 // start State Mschine
135 kEplCfgMaSdocStart = 0x08 // start State Mschine 128} tEplSdocState;
136}tEplSdocState;
137 129
138//internal structure (instancetable for modul configuration manager) 130//internal structure (instancetable for modul configuration manager)
139typedef struct 131typedef struct {
140{ 132 tEplCfgState m_CfgState; // state of the configuration state maschine
141 tEplCfgState m_CfgState; // state of the configuration state maschine 133 tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection
142 tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection 134 DWORD m_dwLastAbortCode;
143 DWORD m_dwLastAbortCode; 135 unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index
144 unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index 136 BYTE *m_pbConcise; // Ptr to concise DCF
145 BYTE* m_pbConcise; // Ptr to concise DCF 137 BYTE *m_pbActualIndex; // Ptr to actual index in the DCF segment
146 BYTE* m_pbActualIndex; // Ptr to actual index in the DCF segment 138 tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished
147 tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished 139 tEplKernel m_EplKernelError; // errorcode
148 tEplKernel m_EplKernelError; // errorcode 140 DWORD m_dwNumValueCopy; // numeric values are copied in this variable
149 DWORD m_dwNumValueCopy; // numeric values are copied in this variable 141 unsigned int m_uiPdoNodeId; // buffer for PDO node id
150 unsigned int m_uiPdoNodeId; // buffer for PDO node id 142 BYTE m_bNrOfMappedObject; // number of mapped objects
151 BYTE m_bNrOfMappedObject; // number of mapped objects 143 unsigned int m_uiNodeId; // Epl node addresse
152 unsigned int m_uiNodeId; // Epl node addresse 144 tEplSdocState m_SdocState; // bitcoded state of the SDO transfer
153 tEplSdocState m_SdocState; // bitcoded state of the SDO transfer 145 unsigned int m_uiLastSubIndex; // last subindex of configuration
154 unsigned int m_uiLastSubIndex; // last subindex of configuration 146 BOOL m_fOneTranferOk; // atleased one transfer was successful
155 BOOL m_fOneTranferOk; // atleased one transfer was successful 147 BYTE m_bEventFlag; // for Eventsignaling to the State Maschine
156 BYTE m_bEventFlag; // for Eventsignaling to the State Maschine 148 DWORD m_dwCntObjectInDcf; // number of Objects in DCF
157 DWORD m_dwCntObjectInDcf; // number of Objects in DCF 149 tEplCfgMaIndexType m_SkipCfg; // TRUE if a adsitional Configurationprocess
158 tEplCfgMaIndexType m_SkipCfg; // TRUE if a adsitional Configurationprocess 150 // have to insert e.g. PDO-mapping
159 // have to insert e.g. PDO-mapping 151 WORD m_wTimeOutCnt; // Timeout Counter, break configuration is
160 WORD m_wTimeOutCnt; // Timeout Counter, break configuration is 152 // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT
161 // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT
162 153
163} tEplCfgMaNode; 154} tEplCfgMaNode;
164 155
@@ -213,12 +204,11 @@ tEplKernel PUBLIC EplCfgMaDelInstance();
213// 204//
214// Returns: tCopKernel = error code 205// Returns: tCopKernel = error code
215//--------------------------------------------------------------------------- 206//---------------------------------------------------------------------------
216tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p, 207tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,
217 BYTE* pbConcise_p, 208 BYTE * pbConcise_p,
218 tfpEplCfgMaCb fpCfgMaCb_p, 209 tfpEplCfgMaCb fpCfgMaCb_p,
219 tEplObdSize SizeOfConcise_p, 210 tEplObdSize SizeOfConcise_p,
220 tEplCfgMaDcfTyp DcfType_p); 211 tEplCfgMaDcfTyp DcfType_p);
221
222 212
223//--------------------------------------------------------------------------- 213//---------------------------------------------------------------------------
224// Function: CfgMaStartConfigurationNode() 214// Function: CfgMaStartConfigurationNode()
@@ -233,9 +223,8 @@ tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,
233// Returns: tCopKernel = error code 223// Returns: tCopKernel = error code
234//--------------------------------------------------------------------------- 224//---------------------------------------------------------------------------
235tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p, 225tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
236 tfpEplCfgMaCb fpCfgMaCb_p, 226 tfpEplCfgMaCb fpCfgMaCb_p,
237 tEplCfgMaDcfTyp DcfType_p); 227 tEplCfgMaDcfTyp DcfType_p);
238
239 228
240//--------------------------------------------------------------------------- 229//---------------------------------------------------------------------------
241// Function: EplCfgMaStartConfigNodeDcf() 230// Function: EplCfgMaStartConfigNodeDcf()
@@ -251,11 +240,11 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
251// 240//
252// Returns: tCopKernel = error code 241// Returns: tCopKernel = error code
253//--------------------------------------------------------------------------- 242//---------------------------------------------------------------------------
254tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p, 243tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,
255 BYTE* pbConcise_p, 244 BYTE * pbConcise_p,
256 tfpEplCfgMaCb fpCfgMaCb_p, 245 tfpEplCfgMaCb fpCfgMaCb_p,
257 tEplObdSize SizeOfConcise_p, 246 tEplObdSize SizeOfConcise_p,
258 tEplCfgMaDcfTyp DcfType_p); 247 tEplCfgMaDcfTyp DcfType_p);
259 248
260//--------------------------------------------------------------------------- 249//---------------------------------------------------------------------------
261// Function: EplCfgMaLinkDcf() 250// Function: EplCfgMaLinkDcf()
@@ -269,10 +258,10 @@ tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,
269// 258//
270// Returns: tCopKernel = error code 259// Returns: tCopKernel = error code
271//--------------------------------------------------------------------------- 260//---------------------------------------------------------------------------
272tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p, 261tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,
273 BYTE* pbConcise_p, 262 BYTE * pbConcise_p,
274 tEplObdSize SizeOfConcise_p, 263 tEplObdSize SizeOfConcise_p,
275 tEplCfgMaDcfTyp DcfType_p); 264 tEplCfgMaDcfTyp DcfType_p);
276 265
277//--------------------------------------------------------------------------- 266//---------------------------------------------------------------------------
278// Function: EplCfgMaCheckDcf() 267// Function: EplCfgMaCheckDcf()
@@ -285,12 +274,8 @@ tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,
285// 274//
286// Returns: tCopKernel = error code 275// Returns: tCopKernel = error code
287//--------------------------------------------------------------------------- 276//---------------------------------------------------------------------------
288tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p, 277tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p,
289 tEplCfgMaDcfTyp DcfType_p); 278 tEplCfgMaDcfTyp DcfType_p);
290
291
292
293
294 279
295#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0) 280#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0)
296 281
diff --git a/drivers/staging/epl/user/EplDllu.h b/drivers/staging/epl/user/EplDllu.h
index 2beb39087a13..36f8bb76f7ca 100644
--- a/drivers/staging/epl/user/EplDllu.h
+++ b/drivers/staging/epl/user/EplDllu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/20 d.k.: start of the implementation, version 1.00 67 2006/06/20 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_DLLU_H_ 71#ifndef _EPL_DLLU_H_
@@ -82,7 +81,7 @@
82// typedef 81// typedef
83//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
84 83
85typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p); 84typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
86 85
87//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
88// function prototypes 87// function prototypes
@@ -94,15 +93,16 @@ tEplKernel EplDlluAddInstance(void);
94 93
95tEplKernel EplDlluDelInstance(void); 94tEplKernel EplDlluDelInstance(void);
96 95
97tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p, tEplDlluCbAsnd pfnDlluCbAsnd_p, tEplDllAsndFilter Filter_p); 96tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p,
97 tEplDlluCbAsnd pfnDlluCbAsnd_p,
98 tEplDllAsndFilter Filter_p);
98 99
99tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p); 100tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p,
101 tEplDllAsyncReqPriority Priority_p);
100 102
101// processes asynch frames 103// processes asynch frames
102tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p); 104tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p);
103 105
104#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0) 106#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0)
105 107
106#endif // #ifndef _EPL_DLLU_H_ 108#endif // #ifndef _EPL_DLLU_H_
107
108
diff --git a/drivers/staging/epl/user/EplDlluCal.h b/drivers/staging/epl/user/EplDlluCal.h
index b2b85ba58645..b1dcd0609573 100644
--- a/drivers/staging/epl/user/EplDlluCal.h
+++ b/drivers/staging/epl/user/EplDlluCal.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/20 d.k.: start of the implementation, version 1.00 67 2006/06/20 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_DLLUCAL_H_ 71#ifndef _EPL_DLLUCAL_H_
@@ -83,7 +82,7 @@
83// typedef 82// typedef
84//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
85 84
86typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p); 85typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
87 86
88//--------------------------------------------------------------------------- 87//---------------------------------------------------------------------------
89// function prototypes 88// function prototypes
@@ -94,14 +93,14 @@ tEplKernel EplDlluCalAddInstance(void);
94tEplKernel EplDlluCalDelInstance(void); 93tEplKernel EplDlluCalDelInstance(void);
95 94
96tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p, 95tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p,
97 tEplDlluCbAsnd pfnDlluCbAsnd_p, 96 tEplDlluCbAsnd pfnDlluCbAsnd_p,
98 tEplDllAsndFilter Filter_p); 97 tEplDllAsndFilter Filter_p);
99 98
100tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo, tEplDllAsyncReqPriority Priority_p); 99tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo,
100 tEplDllAsyncReqPriority Priority_p);
101 101
102tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p); 102tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p);
103 103
104
105#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 104#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
106 105
107tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p); 106tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p);
@@ -110,11 +109,9 @@ tEplKernel EplDlluCalDeleteNode(unsigned int uiNodeId_p);
110 109
111tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p); 110tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p);
112 111
113tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p); 112tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p,
113 unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
114 114
115#endif 115#endif
116 116
117 117#endif // #ifndef _EPL_DLLUCAL_H_
118#endif // #ifndef _EPL_DLLUCAL_H_
119
120
diff --git a/drivers/staging/epl/user/EplEventu.h b/drivers/staging/epl/user/EplEventu.h
index 57f8b42c5b72..322cffd11874 100644
--- a/drivers/staging/epl/user/EplEventu.h
+++ b/drivers/staging/epl/user/EplEventu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/12 d.k.: start of the implementation, version 1.00 67 2006/06/12 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_EVENTU_H_ 71#ifndef _EPL_EVENTU_H_
@@ -74,7 +73,6 @@
74 73
75#include "../EplEvent.h" 74#include "../EplEvent.h"
76 75
77
78//--------------------------------------------------------------------------- 76//---------------------------------------------------------------------------
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
@@ -83,7 +81,6 @@
83// typedef 81// typedef
84//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
85 83
86
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88// function prototypes 85// function prototypes
89//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
@@ -91,7 +88,8 @@
91tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p); 88tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p);
92 89
93// add instance 90// add instance
94tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb pfnApiProcessEventCb_p); 91tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb
92 pfnApiProcessEventCb_p);
95 93
96// delete instance 94// delete instance
97tEplKernel PUBLIC EplEventuDelInstance(void); 95tEplKernel PUBLIC EplEventuDelInstance(void);
@@ -104,12 +102,7 @@ tEplKernel PUBLIC EplEventuPost(tEplEvent * pEvent_p);
104 102
105// post errorevents from userspace 103// post errorevents from userspace
106tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p, 104tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p,
107 tEplKernel EplError_p, 105 tEplKernel EplError_p,
108 unsigned int uiArgSize_p, 106 unsigned int uiArgSize_p, void *pArg_p);
109 void* pArg_p);
110
111
112
113#endif // #ifndef _EPL_EVENTU_H_
114
115 107
108#endif // #ifndef _EPL_EVENTU_H_
diff --git a/drivers/staging/epl/user/EplIdentu.h b/drivers/staging/epl/user/EplIdentu.h
index b53afa0ef67a..e7302106c741 100644
--- a/drivers/staging/epl/user/EplIdentu.h
+++ b/drivers/staging/epl/user/EplIdentu.h
@@ -66,7 +66,6 @@
66 66
67 2006/11/15 d.k.: start of the implementation 67 2006/11/15 d.k.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplDll.h" 71#include "../EplDll.h"
@@ -74,19 +73,17 @@
74#ifndef _EPLIDENTU_H_ 73#ifndef _EPLIDENTU_H_
75#define _EPLIDENTU_H_ 74#define _EPLIDENTU_H_
76 75
77
78//--------------------------------------------------------------------------- 76//---------------------------------------------------------------------------
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81 79
82
83//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
84// typedef 81// typedef
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86 83
87typedef tEplKernel (PUBLIC * tEplIdentuCbResponse) ( 84typedef tEplKernel(PUBLIC * tEplIdentuCbResponse) (unsigned int uiNodeId_p,
88 unsigned int uiNodeId_p, 85 tEplIdentResponse *
89 tEplIdentResponse* pIdentResponse_p); 86 pIdentResponse_p);
90 87
91//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
92// function prototypes 89// function prototypes
@@ -100,14 +97,12 @@ tEplKernel PUBLIC EplIdentuDelInstance(void);
100 97
101tEplKernel PUBLIC EplIdentuReset(void); 98tEplKernel PUBLIC EplIdentuReset(void);
102 99
103tEplKernel PUBLIC EplIdentuGetIdentResponse( 100tEplKernel PUBLIC EplIdentuGetIdentResponse(unsigned int uiNodeId_p,
104 unsigned int uiNodeId_p, 101 tEplIdentResponse **
105 tEplIdentResponse** ppIdentResponse_p); 102 ppIdentResponse_p);
106
107tEplKernel PUBLIC EplIdentuRequestIdentResponse(
108 unsigned int uiNodeId_p,
109 tEplIdentuCbResponse pfnCbResponse_p);
110
111#endif // #ifndef _EPLIDENTU_H_
112 103
104tEplKernel PUBLIC EplIdentuRequestIdentResponse(unsigned int uiNodeId_p,
105 tEplIdentuCbResponse
106 pfnCbResponse_p);
113 107
108#endif // #ifndef _EPLIDENTU_H_
diff --git a/drivers/staging/epl/user/EplLedu.h b/drivers/staging/epl/user/EplLedu.h
index 10a8b6bba387..78e70d064459 100644
--- a/drivers/staging/epl/user/EplLedu.h
+++ b/drivers/staging/epl/user/EplLedu.h
@@ -66,7 +66,6 @@
66 66
67 2008/11/17 d.k.: start of the implementation 67 2008/11/17 d.k.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplLed.h" 71#include "../EplLed.h"
@@ -76,20 +75,16 @@
76#ifndef _EPLLEDU_H_ 75#ifndef _EPLLEDU_H_
77#define _EPLLEDU_H_ 76#define _EPLLEDU_H_
78 77
79
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81// const defines 79// const defines
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83 81
84
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86// typedef 83// typedef
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88 85
89 86typedef tEplKernel(PUBLIC * tEplLeduStateChangeCallback) (tEplLedType LedType_p,
90typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) ( 87 BOOL fOn_p);
91 tEplLedType LedType_p, BOOL fOn_p);
92
93 88
94//--------------------------------------------------------------------------- 89//---------------------------------------------------------------------------
95// function prototypes 90// function prototypes
@@ -99,18 +94,16 @@ typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) (
99 94
100tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p); 95tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p);
101 96
102tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback pfnCbStateChange_p); 97tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback
98 pfnCbStateChange_p);
103 99
104tEplKernel PUBLIC EplLeduDelInstance(void); 100tEplKernel PUBLIC EplLeduDelInstance(void);
105 101
106tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p); 102tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange
107 103 NmtStateChange_p);
108tEplKernel PUBLIC EplLeduProcessEvent(
109 tEplEvent* pEplEvent_p);
110 104
105tEplKernel PUBLIC EplLeduProcessEvent(tEplEvent * pEplEvent_p);
111 106
112#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0) 107#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0)
113 108
114#endif // #ifndef _EPLLEDU_H_ 109#endif // #ifndef _EPLLEDU_H_
115
116
diff --git a/drivers/staging/epl/user/EplNmtCnu.h b/drivers/staging/epl/user/EplNmtCnu.h
index 93a3289b1cbb..e508055b5b8f 100644
--- a/drivers/staging/epl/user/EplNmtCnu.h
+++ b/drivers/staging/epl/user/EplNmtCnu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/09 k.t.: start of the implementation 67 2006/06/09 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "EplNmtu.h" 71#include "EplNmtu.h"
@@ -76,17 +75,14 @@
76#ifndef _EPLNMTCNU_H_ 75#ifndef _EPLNMTCNU_H_
77#define _EPLNMTCNU_H_ 76#define _EPLNMTCNU_H_
78 77
79
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81// const defines 79// const defines
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83 81
84
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86// typedef 83// typedef
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88 85
89
90//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
91// function prototypes 87// function prototypes
92//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
@@ -99,14 +95,14 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuAddInstance(unsigned int uiNodeId_p);
99 95
100EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void); 96EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void);
101 97
102EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest (unsigned int uiNodeId_p, 98EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,
103 tEplNmtCommand NmtCommand_p); 99 tEplNmtCommand
100 NmtCommand_p);
104 101
105EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuRegisterCheckEventCb( 102EPLDLLEXPORT tEplKernel PUBLIC
106 tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p); 103EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback
104 pfnEplNmtCheckEventCb_p);
107 105
108#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0) 106#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)
109 107
110#endif // #ifndef _EPLNMTCNU_H_ 108#endif // #ifndef _EPLNMTCNU_H_
111
112
diff --git a/drivers/staging/epl/user/EplNmtMnu.h b/drivers/staging/epl/user/EplNmtMnu.h
index a101fde74eef..c54efeba303f 100644
--- a/drivers/staging/epl/user/EplNmtMnu.h
+++ b/drivers/staging/epl/user/EplNmtMnu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/09 k.t.: start of the implementation 67 2006/06/09 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "EplNmtu.h" 71#include "EplNmtu.h"
@@ -74,29 +73,25 @@
74#ifndef _EPLNMTMNU_H_ 73#ifndef _EPLNMTMNU_H_
75#define _EPLNMTMNU_H_ 74#define _EPLNMTMNU_H_
76 75
77
78//--------------------------------------------------------------------------- 76//---------------------------------------------------------------------------
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81 79
82
83//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
84// typedef 81// typedef
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86 83
87typedef tEplKernel (PUBLIC * tEplNmtMnuCbNodeEvent) ( 84typedef tEplKernel(PUBLIC * tEplNmtMnuCbNodeEvent) (unsigned int uiNodeId_p,
88 unsigned int uiNodeId_p, 85 tEplNmtNodeEvent
89 tEplNmtNodeEvent NodeEvent_p, 86 NodeEvent_p,
90 tEplNmtState NmtState_p, 87 tEplNmtState NmtState_p,
91 WORD wErrorCode_p, 88 WORD wErrorCode_p,
92 BOOL fMandatory_p); 89 BOOL fMandatory_p);
93
94
95typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) (
96 tEplNmtBootEvent BootEvent_p,
97 tEplNmtState NmtState_p,
98 WORD wErrorCode_p);
99 90
91typedef tEplKernel(PUBLIC *
92 tEplNmtMnuCbBootEvent) (tEplNmtBootEvent BootEvent_p,
93 tEplNmtState NmtState_p,
94 WORD wErrorCode_p);
100 95
101//--------------------------------------------------------------------------- 96//---------------------------------------------------------------------------
102// function prototypes 97// function prototypes
@@ -105,32 +100,32 @@ typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) (
105#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 100#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
106 101
107tEplKernel EplNmtMnuInit(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p, 102tEplKernel EplNmtMnuInit(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
108 tEplNmtMnuCbBootEvent pfnCbBootEvent_p); 103 tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
109 104
110tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p, 105tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
111 tEplNmtMnuCbBootEvent pfnCbBootEvent_p); 106 tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
112 107
113tEplKernel EplNmtMnuDelInstance(void); 108tEplKernel EplNmtMnuDelInstance(void);
114 109
115EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent( 110EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(tEplEvent * pEvent_p);
116 tEplEvent* pEvent_p);
117 111
118tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p, 112tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,
119 tEplNmtCommand NmtCommand_p); 113 tEplNmtCommand NmtCommand_p);
120 114
121tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p, 115tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p,
122 tEplNmtNodeCommand NodeCommand_p); 116 tEplNmtNodeCommand NodeCommand_p);
123 117
124tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p); 118tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange
119 NmtStateChange_p);
125 120
126tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p); 121tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p);
127 122
128tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int* puiMandatorySlaveCount_p, 123tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int
129 unsigned int* puiSignalSlaveCount_p, 124 *puiMandatorySlaveCount_p,
130 WORD* pwFlags_p); 125 unsigned int
126 *puiSignalSlaveCount_p,
127 WORD * pwFlags_p);
131 128
132#endif 129#endif
133 130
134#endif // #ifndef _EPLNMTMNU_H_ 131#endif // #ifndef _EPLNMTMNU_H_
135
136
diff --git a/drivers/staging/epl/user/EplNmtu.h b/drivers/staging/epl/user/EplNmtu.h
index 0ed7fffec0ed..5a56c5830603 100644
--- a/drivers/staging/epl/user/EplNmtu.h
+++ b/drivers/staging/epl/user/EplNmtu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/09 k.t.: start of the implementation 67 2006/06/09 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplNmt.h" 71#include "../EplNmt.h"
@@ -75,62 +74,59 @@
75#ifndef _EPLNMTU_H_ 74#ifndef _EPLNMTU_H_
76#define _EPLNMTU_H_ 75#define _EPLNMTU_H_
77 76
78
79//--------------------------------------------------------------------------- 77//---------------------------------------------------------------------------
80// const defines 78// const defines
81//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
82 80
83
84//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
85// typedef 82// typedef
86//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
87// nmt commands 84// nmt commands
88typedef enum 85typedef enum {
89{ 86 // requestable ASnd ServiceIds 0x01..0x1F
90 // requestable ASnd ServiceIds 0x01..0x1F 87 kEplNmtCmdIdentResponse = 0x01,
91 kEplNmtCmdIdentResponse = 0x01, 88 kEplNmtCmdStatusResponse = 0x02,
92 kEplNmtCmdStatusResponse = 0x02, 89 // plain NMT state commands 0x20..0x3F
93 // plain NMT state commands 0x20..0x3F 90 kEplNmtCmdStartNode = 0x21,
94 kEplNmtCmdStartNode = 0x21, 91 kEplNmtCmdStopNode = 0x22,
95 kEplNmtCmdStopNode = 0x22, 92 kEplNmtCmdEnterPreOperational2 = 0x23,
96 kEplNmtCmdEnterPreOperational2 = 0x23, 93 kEplNmtCmdEnableReadyToOperate = 0x24,
97 kEplNmtCmdEnableReadyToOperate = 0x24, 94 kEplNmtCmdResetNode = 0x28,
98 kEplNmtCmdResetNode = 0x28, 95 kEplNmtCmdResetCommunication = 0x29,
99 kEplNmtCmdResetCommunication = 0x29, 96 kEplNmtCmdResetConfiguration = 0x2A,
100 kEplNmtCmdResetConfiguration = 0x2A, 97 kEplNmtCmdSwReset = 0x2B,
101 kEplNmtCmdSwReset = 0x2B, 98 // extended NMT state commands 0x40..0x5F
102 // extended NMT state commands 0x40..0x5F 99 kEplNmtCmdStartNodeEx = 0x41,
103 kEplNmtCmdStartNodeEx = 0x41, 100 kEplNmtCmdStopNodeEx = 0x42,
104 kEplNmtCmdStopNodeEx = 0x42, 101 kEplNmtCmdEnterPreOperational2Ex = 0x43,
105 kEplNmtCmdEnterPreOperational2Ex = 0x43, 102 kEplNmtCmdEnableReadyToOperateEx = 0x44,
106 kEplNmtCmdEnableReadyToOperateEx = 0x44, 103 kEplNmtCmdResetNodeEx = 0x48,
107 kEplNmtCmdResetNodeEx = 0x48, 104 kEplNmtCmdResetCommunicationEx = 0x49,
108 kEplNmtCmdResetCommunicationEx = 0x49, 105 kEplNmtCmdResetConfigurationEx = 0x4A,
109 kEplNmtCmdResetConfigurationEx = 0x4A, 106 kEplNmtCmdSwResetEx = 0x4B,
110 kEplNmtCmdSwResetEx = 0x4B, 107 // NMT managing commands 0x60..0x7F
111 // NMT managing commands 0x60..0x7F 108 kEplNmtCmdNetHostNameSet = 0x62,
112 kEplNmtCmdNetHostNameSet = 0x62, 109 kEplNmtCmdFlushArpEntry = 0x63,
113 kEplNmtCmdFlushArpEntry = 0x63, 110 // NMT info services 0x80..0xBF
114 // NMT info services 0x80..0xBF 111 kEplNmtCmdPublishConfiguredCN = 0x80,
115 kEplNmtCmdPublishConfiguredCN = 0x80, 112 kEplNmtCmdPublishActiveCN = 0x90,
116 kEplNmtCmdPublishActiveCN = 0x90, 113 kEplNmtCmdPublishPreOperational1 = 0x91,
117 kEplNmtCmdPublishPreOperational1 = 0x91, 114 kEplNmtCmdPublishPreOperational2 = 0x92,
118 kEplNmtCmdPublishPreOperational2 = 0x92, 115 kEplNmtCmdPublishReadyToOperate = 0x93,
119 kEplNmtCmdPublishReadyToOperate = 0x93, 116 kEplNmtCmdPublishOperational = 0x94,
120 kEplNmtCmdPublishOperational = 0x94, 117 kEplNmtCmdPublishStopped = 0x95,
121 kEplNmtCmdPublishStopped = 0x95, 118 kEplNmtCmdPublishEmergencyNew = 0xA0,
122 kEplNmtCmdPublishEmergencyNew = 0xA0, 119 kEplNmtCmdPublishTime = 0xB0,
123 kEplNmtCmdPublishTime = 0xB0, 120
124 121 kEplNmtCmdInvalidService = 0xFF
125 kEplNmtCmdInvalidService = 0xFF
126
127} tEplNmtCommand; 122} tEplNmtCommand;
128 123
129typedef tEplKernel (PUBLIC * tEplNmtuStateChangeCallback) ( 124typedef tEplKernel(PUBLIC *
130 tEplEventNmtStateChange NmtStateChange_p); 125 tEplNmtuStateChangeCallback) (tEplEventNmtStateChange
126 NmtStateChange_p);
131 127
132typedef tEplKernel (PUBLIC * tEplNmtuCheckEventCallback) ( 128typedef tEplKernel(PUBLIC *
133 tEplNmtEvent NmtEvent_p); 129 tEplNmtuCheckEventCallback) (tEplNmtEvent NmtEvent_p);
134 130
135//--------------------------------------------------------------------------- 131//---------------------------------------------------------------------------
136// function prototypes 132// function prototypes
@@ -148,14 +144,12 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p);
148 144
149EPLDLLEXPORT tEplNmtState PUBLIC EplNmtuGetNmtState(void); 145EPLDLLEXPORT tEplNmtState PUBLIC EplNmtuGetNmtState(void);
150 146
151EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent( 147EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent(tEplEvent * pEplEvent_p);
152 tEplEvent* pEplEvent_p);
153 148
154EPLDLLEXPORT tEplKernel PUBLIC EplNmtuRegisterStateChangeCb( 149EPLDLLEXPORT tEplKernel PUBLIC
155 tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p); 150EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback
151 pfnEplNmtStateChangeCb_p);
156 152
157#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0) 153#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0)
158 154
159#endif // #ifndef _EPLNMTU_H_ 155#endif // #ifndef _EPLNMTU_H_
160
161
diff --git a/drivers/staging/epl/user/EplNmtuCal.h b/drivers/staging/epl/user/EplNmtuCal.h
index 6d964bbe0bda..c881582702bb 100644
--- a/drivers/staging/epl/user/EplNmtuCal.h
+++ b/drivers/staging/epl/user/EplNmtuCal.h
@@ -67,7 +67,6 @@
67 67
68 2006/06/16 -k.t.: start of the implementation 68 2006/06/16 -k.t.: start of the implementation
69 69
70
71****************************************************************************/ 70****************************************************************************/
72 71
73#include "EplNmtu.h" 72#include "EplNmtu.h"
@@ -76,22 +75,17 @@
76#ifndef _EPLNMTUCAL_H_ 75#ifndef _EPLNMTUCAL_H_
77#define _EPLNMTUCAL_H_ 76#define _EPLNMTUCAL_H_
78 77
79
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81// const defines 79// const defines
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83 81
84
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86// typedef 83// typedef
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88 85
89
90//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
91// function prototypes 87// function prototypes
92//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
93EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void); 89EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void);
94 90
95#endif // #ifndef _EPLNMTUCAL_H_ 91#endif // #ifndef _EPLNMTUCAL_H_
96
97
diff --git a/drivers/staging/epl/user/EplObdu.h b/drivers/staging/epl/user/EplObdu.h
index 14dd879cc56a..bc1e17303017 100644
--- a/drivers/staging/epl/user/EplObdu.h
+++ b/drivers/staging/epl/user/EplObdu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/19 k.t.: start of the implementation 67 2006/06/19 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplObd.h" 71#include "../EplObd.h"
@@ -74,17 +73,14 @@
74#ifndef _EPLOBDU_H_ 73#ifndef _EPLOBDU_H_
75#define _EPLOBDU_H_ 74#define _EPLOBDU_H_
76 75
77
78//--------------------------------------------------------------------------- 76//---------------------------------------------------------------------------
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81 79
82
83//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
84// typedef 81// typedef
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86 83
87
88//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
89// function prototypes 85// function prototypes
90//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
@@ -95,66 +91,68 @@
95#error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE" 91#error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE"
96#endif 92#endif
97 93
98EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry (unsigned int uiIndex_p, 94EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry(unsigned int uiIndex_p,
99 unsigned int uiSubIndex_p, 95 unsigned int uiSubIndex_p,
100 void * pSrcData_p, 96 void *pSrcData_p,
101 tEplObdSize Size_p); 97 tEplObdSize Size_p);
102 98
103// --------------------------------------------------------------------- 99// ---------------------------------------------------------------------
104EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry (unsigned int uiIndex_p, 100EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry(unsigned int uiIndex_p,
105 unsigned int uiSubIndex_p, 101 unsigned int uiSubIndex_p,
106 void * pDstData_p, 102 void *pDstData_p,
107 tEplObdSize *pSize_p); 103 tEplObdSize * pSize_p);
108 104
109// --------------------------------------------------------------------- 105// ---------------------------------------------------------------------
110EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart (tEplObdPart ObdPart_p, 106EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart(tEplObdPart ObdPart_p,
111 tEplObdDir Direction_p); 107 tEplObdDir Direction_p);
112 108
113// --------------------------------------------------------------------- 109// ---------------------------------------------------------------------
114EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar (tEplVarParam MEM* pVarParam_p); 110EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar(tEplVarParam MEM * pVarParam_p);
115 111
116// --------------------------------------------------------------------- 112// ---------------------------------------------------------------------
117EPLDLLEXPORT void* PUBLIC EplObduGetObjectDataPtr (unsigned int uiIndex_p, 113EPLDLLEXPORT void *PUBLIC EplObduGetObjectDataPtr(unsigned int uiIndex_p,
118 unsigned int uiSubIndex_p); 114 unsigned int uiSubIndex_p);
119// --------------------------------------------------------------------- 115// ---------------------------------------------------------------------
120EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd ( 116EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p);
121 tEplObdEntryPtr pUserOd_p);
122 117
123// --------------------------------------------------------------------- 118// ---------------------------------------------------------------------
124EPLDLLEXPORT void PUBLIC EplObduInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p, 119EPLDLLEXPORT void PUBLIC EplObduInitVarEntry(tEplObdVarEntry MEM * pVarEntry_p,
125 BYTE bType_p, 120 BYTE bType_p,
126 tEplObdSize ObdSize_p); 121 tEplObdSize ObdSize_p);
127 122
128// --------------------------------------------------------------------- 123// ---------------------------------------------------------------------
129EPLDLLEXPORT tEplObdSize PUBLIC EplObduGetDataSize(unsigned int uiIndex_p, 124EPLDLLEXPORT tEplObdSize PUBLIC EplObduGetDataSize(unsigned int uiIndex_p,
130 unsigned int uiSubIndex_p); 125 unsigned int uiSubIndex_p);
131 126
132// --------------------------------------------------------------------- 127// ---------------------------------------------------------------------
133EPLDLLEXPORT unsigned int PUBLIC EplObduGetNodeId(void); 128EPLDLLEXPORT unsigned int PUBLIC EplObduGetNodeId(void);
134 129
135// --------------------------------------------------------------------- 130// ---------------------------------------------------------------------
136EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p, 131EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p,
137 tEplObdNodeIdType NodeIdType_p); 132 tEplObdNodeIdType NodeIdType_p);
138// --------------------------------------------------------------------- 133// ---------------------------------------------------------------------
139EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p, 134EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p,
140 unsigned int uiSubIndex_p, 135 unsigned int uiSubIndex_p,
141 tEplObdAccess* pAccessTyp_p); 136 tEplObdAccess *
137 pAccessTyp_p);
142// --------------------------------------------------------------------- 138// ---------------------------------------------------------------------
143EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe (unsigned int uiIndex_p, 139EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe(unsigned int uiIndex_p,
144 unsigned int uiSubIndex_p, 140 unsigned int uiSubIndex_p,
145 void * pDstData_p, 141 void *pDstData_p,
146 tEplObdSize * pSize_p); 142 tEplObdSize * pSize_p);
147// --------------------------------------------------------------------- 143// ---------------------------------------------------------------------
148EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe (unsigned int uiIndex_p, 144EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe(unsigned int uiIndex_p,
149 unsigned int uiSubIndex_p, 145 unsigned int
150 void * pSrcData_p, 146 uiSubIndex_p,
151 tEplObdSize Size_p); 147 void *pSrcData_p,
148 tEplObdSize Size_p);
152 149
153// --------------------------------------------------------------------- 150// ---------------------------------------------------------------------
154EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ 151EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
155 unsigned int uiIndex_p, 152 unsigned int uiIndex_p,
156 unsigned int uiSubindex_p, 153 unsigned int uiSubindex_p,
157 tEplObdVarEntry MEM** ppVarEntry_p); 154 tEplObdVarEntry MEM **
155 ppVarEntry_p);
158 156
159#elif EPL_OBD_USE_KERNEL != FALSE 157#elif EPL_OBD_USE_KERNEL != FALSE
160#include "../kernel/EplObdk.h" 158#include "../kernel/EplObdk.h"
@@ -191,6 +189,4 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
191 189
192#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0) 190#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0)
193 191
194#endif // #ifndef _EPLOBDU_H_ 192#endif // #ifndef _EPLOBDU_H_
195
196
diff --git a/drivers/staging/epl/user/EplObduCal.h b/drivers/staging/epl/user/EplObduCal.h
index 26d23c507cc8..498e0112fac3 100644
--- a/drivers/staging/epl/user/EplObduCal.h
+++ b/drivers/staging/epl/user/EplObduCal.h
@@ -67,7 +67,6 @@
67 67
68 2006/06/19 k.t.: start of the implementation 68 2006/06/19 k.t.: start of the implementation
69 69
70
71****************************************************************************/ 70****************************************************************************/
72 71
73#include "../EplObd.h" 72#include "../EplObd.h"
@@ -75,74 +74,75 @@
75#ifndef _EPLOBDUCAL_H_ 74#ifndef _EPLOBDUCAL_H_
76#define _EPLOBDUCAL_H_ 75#define _EPLOBDUCAL_H_
77 76
78
79//--------------------------------------------------------------------------- 77//---------------------------------------------------------------------------
80// const defines 78// const defines
81//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
82 80
83
84//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
85// typedef 82// typedef
86//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
87 84
88
89//--------------------------------------------------------------------------- 85//---------------------------------------------------------------------------
90// function prototypes 86// function prototypes
91//--------------------------------------------------------------------------- 87//---------------------------------------------------------------------------
92EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry ( 88EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry(unsigned int uiIndex_p,
93 unsigned int uiIndex_p, 89 unsigned int uiSubIndex_p,
94 unsigned int uiSubIndex_p, 90 void *pSrcData_p,
95 void * pSrcData_p, 91 tEplObdSize Size_p);
96 tEplObdSize Size_p);
97//--------------------------------------------------------------------------- 92//---------------------------------------------------------------------------
98EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry ( 93EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry(unsigned int uiIndex_p,
99 unsigned int uiIndex_p, 94 unsigned int uiSubIndex_p,
100 unsigned int uiSubIndex_p, 95 void *pDstData_p,
101 void * pDstData_p, 96 tEplObdSize * pSize_p);
102 tEplObdSize *pSize_p);
103//--------------------------------------------------------------------------- 97//---------------------------------------------------------------------------
104EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart ( 98EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart(tEplObdPart ObdPart_p,
105 tEplObdPart ObdPart_p, 99 tEplObdDir Direction_p);
106 tEplObdDir Direction_p);
107//--------------------------------------------------------------------------- 100//---------------------------------------------------------------------------
108EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar (tEplVarParam MEM* pVarParam_p); 101EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar(tEplVarParam MEM *
102 pVarParam_p);
109//--------------------------------------------------------------------------- 103//---------------------------------------------------------------------------
110EPLDLLEXPORT void* PUBLIC EplObduCalGetObjectDataPtr ( unsigned int uiIndex_p, 104EPLDLLEXPORT void *PUBLIC EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,
111 unsigned int uiSubIndex_p); 105 unsigned int uiSubIndex_p);
112//--------------------------------------------------------------------------- 106//---------------------------------------------------------------------------
113EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd (tEplObdEntryPtr pUserOd_p); 107EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd(tEplObdEntryPtr
108 pUserOd_p);
114//--------------------------------------------------------------------------- 109//---------------------------------------------------------------------------
115EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p, 110EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry(tEplObdVarEntry MEM *
116 BYTE bType_p, tEplObdSize ObdSize_p); 111 pVarEntry_p, BYTE bType_p,
112 tEplObdSize ObdSize_p);
117//--------------------------------------------------------------------------- 113//---------------------------------------------------------------------------
118EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p, 114EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p,
119 unsigned int uiSubIndex_p); 115 unsigned int
116 uiSubIndex_p);
120//--------------------------------------------------------------------------- 117//---------------------------------------------------------------------------
121EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void); 118EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void);
122//--------------------------------------------------------------------------- 119//---------------------------------------------------------------------------
123EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p, 120EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p,
124 tEplObdNodeIdType NodeIdType_p); 121 tEplObdNodeIdType
122 NodeIdType_p);
125//--------------------------------------------------------------------------- 123//---------------------------------------------------------------------------
126EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p, 124EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p,
127 unsigned int uiSubIndex_p, 125 unsigned int
128 tEplObdAccess* pAccessTyp_p); 126 uiSubIndex_p,
129//--------------------------------------------------------------------------- 127 tEplObdAccess *
130EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe (unsigned int uiIndex_p, 128 pAccessTyp_p);
131 unsigned int uiSubIndex_p, 129//---------------------------------------------------------------------------
132 void * pDstData_p, 130EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe(unsigned int uiIndex_p,
133 tEplObdSize * pSize_p); 131 unsigned int
134//--------------------------------------------------------------------------- 132 uiSubIndex_p,
135EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe (unsigned int uiIndex_p, 133 void *pDstData_p,
136 unsigned int uiSubIndex_p, 134 tEplObdSize * pSize_p);
137 void * pSrcData_p, 135//---------------------------------------------------------------------------
138 tEplObdSize Size_p); 136EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe(unsigned int
139//--------------------------------------------------------------------------- 137 uiIndex_p,
140EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ 138 unsigned int
141 unsigned int uiIndex_p, 139 uiSubIndex_p,
142 unsigned int uiSubindex_p, 140 void *pSrcData_p,
143 tEplObdVarEntry MEM** ppVarEntry_p); 141 tEplObdSize Size_p);
144 142//---------------------------------------------------------------------------
145 143EPLDLLEXPORT tEplKernel PUBLIC
146#endif // #ifndef _EPLOBDUCAL_H_ 144EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
147 145 unsigned int uiSubindex_p,
148 146 tEplObdVarEntry MEM ** ppVarEntry_p);
147
148#endif // #ifndef _EPLOBDUCAL_H_
diff --git a/drivers/staging/epl/user/EplPdou.h b/drivers/staging/epl/user/EplPdou.h
index 293f0f7669dd..11de4862e8bb 100644
--- a/drivers/staging/epl/user/EplPdou.h
+++ b/drivers/staging/epl/user/EplPdou.h
@@ -65,7 +65,6 @@
65 65
66 2006/05/22 d.k.: start of the implementation, version 1.00 66 2006/05/22 d.k.: start of the implementation, version 1.00
67 67
68
69****************************************************************************/ 68****************************************************************************/
70 69
71#ifndef _EPL_PDOU_H_ 70#ifndef _EPL_PDOU_H_
@@ -73,17 +72,14 @@
73 72
74#include "../EplPdo.h" 73#include "../EplPdo.h"
75 74
76
77//--------------------------------------------------------------------------- 75//---------------------------------------------------------------------------
78// const defines 76// const defines
79//--------------------------------------------------------------------------- 77//---------------------------------------------------------------------------
80 78
81
82//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
83// typedef 80// typedef
84//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
85 82
86
87//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
88// function prototypes 84// function prototypes
89//--------------------------------------------------------------------------- 85//---------------------------------------------------------------------------
@@ -93,7 +89,7 @@ tEplKernel EplPdouAddInstance(void);
93tEplKernel EplPdouDelInstance(void); 89tEplKernel EplPdouDelInstance(void);
94 90
95#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0) 91#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0)
96tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM* pParam_p); 92tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM * pParam_p);
97#else 93#else
98#define EplPdouCbObdAccess NULL 94#define EplPdouCbObdAccess NULL
99#endif 95#endif
@@ -109,6 +105,4 @@ tEplKernel EplPdouGetMapping(
109 tEplPdoMapping * pMapping_p, BYTE * pbMaxEntries_p); 105 tEplPdoMapping * pMapping_p, BYTE * pbMaxEntries_p);
110*/ 106*/
111 107
112#endif // #ifndef _EPL_PDOU_H_ 108#endif // #ifndef _EPL_PDOU_H_
113
114
diff --git a/drivers/staging/epl/user/EplSdoAsndu.h b/drivers/staging/epl/user/EplSdoAsndu.h
index bc2650e2f042..e34959f42792 100644
--- a/drivers/staging/epl/user/EplSdoAsndu.h
+++ b/drivers/staging/epl/user/EplSdoAsndu.h
@@ -66,7 +66,6 @@
66 66
67 2006/07/07 k.t.: start of the implementation 67 2006/07/07 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplSdo.h" 71#include "../EplSdo.h"
@@ -75,17 +74,14 @@
75#ifndef _EPLSDOASNDU_H_ 74#ifndef _EPLSDOASNDU_H_
76#define _EPLSDOASNDU_H_ 75#define _EPLSDOASNDU_H_
77 76
78
79//--------------------------------------------------------------------------- 77//---------------------------------------------------------------------------
80// const defines 78// const defines
81//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
82 80
83
84//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
85// typedef 82// typedef
86//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
87 84
88
89//--------------------------------------------------------------------------- 85//---------------------------------------------------------------------------
90// function prototypes 86// function prototypes
91//--------------------------------------------------------------------------- 87//---------------------------------------------------------------------------
@@ -97,17 +93,15 @@ tEplKernel PUBLIC EplSdoAsnduAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
97 93
98tEplKernel PUBLIC EplSdoAsnduDelInstance(void); 94tEplKernel PUBLIC EplSdoAsnduDelInstance(void);
99 95
100tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl* pSdoConHandle_p, 96tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl * pSdoConHandle_p,
101 unsigned int uiTargetNodeId_p); 97 unsigned int uiTargetNodeId_p);
102 98
103tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p, 99tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p,
104 tEplFrame * pSrcData_p, 100 tEplFrame * pSrcData_p,
105 DWORD dwDataSize_p); 101 DWORD dwDataSize_p);
106 102
107tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p); 103tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p);
108 104
109#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0) 105#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0)
110 106
111#endif // #ifndef _EPLSDOASNDU_H_ 107#endif // #ifndef _EPLSDOASNDU_H_
112
113
diff --git a/drivers/staging/epl/user/EplSdoAsySequ.h b/drivers/staging/epl/user/EplSdoAsySequ.h
index a9017ed65c6b..4658b5f8c538 100644
--- a/drivers/staging/epl/user/EplSdoAsySequ.h
+++ b/drivers/staging/epl/user/EplSdoAsySequ.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/26 k.t.: start of the implementation 67 2006/06/26 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplSdo.h" 71#include "../EplSdo.h"
@@ -78,46 +77,35 @@
78#ifndef _EPLSDOASYSEQU_H_ 77#ifndef _EPLSDOASYSEQU_H_
79#define _EPLSDOASYSEQU_H_ 78#define _EPLSDOASYSEQU_H_
80 79
81
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83// const defines 81// const defines
84//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
85 83
86
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88// typedef 85// typedef
89//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
90 87
91
92//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
93// function prototypes 89// function prototypes
94//--------------------------------------------------------------------------- 90//---------------------------------------------------------------------------
95tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p, 91tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p,
96 tEplSdoComConCb fpSdoComConCb_p); 92 tEplSdoComConCb fpSdoComConCb_p);
97 93
98tEplKernel PUBLIC EplSdoAsySeqAddInstance (tEplSdoComReceiveCb fpSdoComCb_p, 94tEplKernel PUBLIC EplSdoAsySeqAddInstance(tEplSdoComReceiveCb fpSdoComCb_p,
99 tEplSdoComConCb fpSdoComConCb_p); 95 tEplSdoComConCb fpSdoComConCb_p);
100 96
101tEplKernel PUBLIC EplSdoAsySeqDelInstance(void); 97tEplKernel PUBLIC EplSdoAsySeqDelInstance(void);
102 98
103tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl* pSdoSeqConHdl_p, 99tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl * pSdoSeqConHdl_p,
104 unsigned int uiNodeId_p, 100 unsigned int uiNodeId_p,
105 tEplSdoType SdoType); 101 tEplSdoType SdoType);
106 102
107tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p, 103tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p,
108 unsigned int uiDataSize_p, 104 unsigned int uiDataSize_p,
109 tEplFrame* pData_p ); 105 tEplFrame * pData_p);
110 106
111tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent* pEvent_p); 107tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent * pEvent_p);
112 108
113tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p); 109tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p);
114 110
115 111#endif // #ifndef _EPLSDOASYSEQU_H_
116
117
118
119
120
121#endif // #ifndef _EPLSDOASYSEQU_H_
122
123
diff --git a/drivers/staging/epl/user/EplSdoComu.h b/drivers/staging/epl/user/EplSdoComu.h
index 16c8d7c05da0..3e454c7a3559 100644
--- a/drivers/staging/epl/user/EplSdoComu.h
+++ b/drivers/staging/epl/user/EplSdoComu.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/26 k.t.: start of the implementation 67 2006/06/26 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplSdo.h" 71#include "../EplSdo.h"
@@ -78,17 +77,14 @@
78#ifndef _EPLSDOCOMU_H_ 77#ifndef _EPLSDOCOMU_H_
79#define _EPLSDOCOMU_H_ 78#define _EPLSDOCOMU_H_
80 79
81
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83// const defines 81// const defines
84//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
85 83
86
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88// typedef 85// typedef
89//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
90 87
91
92//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
93// function prototypes 89// function prototypes
94//--------------------------------------------------------------------------- 90//---------------------------------------------------------------------------
@@ -100,19 +96,20 @@ tEplKernel PUBLIC EplSdoComDelInstance(void);
100 96
101#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0) 97#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0)
102 98
103tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl* pSdoComConHdl_p, 99tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl * pSdoComConHdl_p,
104 unsigned int uiTargetNodeId_p, 100 unsigned int uiTargetNodeId_p,
105 tEplSdoType ProtType_p); 101 tEplSdoType ProtType_p);
106 102
107tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex* pSdoComTransParam_p); 103tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex *
104 pSdoComTransParam_p);
108 105
109tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p); 106tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p);
110 107
111tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p, 108tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p,
112 tEplSdoComFinished* pSdoComFinished_p); 109 tEplSdoComFinished * pSdoComFinished_p);
113 110
114tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p, 111tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p,
115 DWORD dwAbortCode_p); 112 DWORD dwAbortCode_p);
116 113
117#endif 114#endif
118 115
@@ -126,10 +123,4 @@ tEplKernel PUBLIC EplSdoComInitTransferFile(tEplSdoComTransParamFile* pSdoComTra
126 123
127*/ 124*/
128 125
129 126#endif // #ifndef _EPLSDOCOMU_H_
130
131
132
133#endif // #ifndef _EPLSDOCOMU_H_
134
135
diff --git a/drivers/staging/epl/user/EplSdoUdpu.h b/drivers/staging/epl/user/EplSdoUdpu.h
index ecd6814c4ac8..2d77b6fff199 100644
--- a/drivers/staging/epl/user/EplSdoUdpu.h
+++ b/drivers/staging/epl/user/EplSdoUdpu.h
@@ -66,10 +66,8 @@
66 66
67 2006/06/26 k.t.: start of the implementation 67 2006/06/26 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72
73#include "../EplSdo.h" 71#include "../EplSdo.h"
74 72
75#ifndef _EPLSDOUDPU_H_ 73#ifndef _EPLSDOUDPU_H_
@@ -79,12 +77,10 @@
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81 79
82
83//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
84// typedef 81// typedef
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86 83
87
88//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
89// function prototypes 85// function prototypes
90//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
@@ -96,19 +92,18 @@ tEplKernel PUBLIC EplSdoUdpuAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
96 92
97tEplKernel PUBLIC EplSdoUdpuDelInstance(void); 93tEplKernel PUBLIC EplSdoUdpuDelInstance(void);
98 94
99tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p, unsigned int uiPort_p); 95tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p,
96 unsigned int uiPort_p);
100 97
101tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl* pSdoConHandle_p, 98tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl * pSdoConHandle_p,
102 unsigned int uiTargetNodeId_p); 99 unsigned int uiTargetNodeId_p);
103 100
104tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p, 101tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p,
105 tEplFrame * pSrcData_p, 102 tEplFrame * pSrcData_p,
106 DWORD dwDataSize_p); 103 DWORD dwDataSize_p);
107 104
108tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p); 105tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p);
109 106
110#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0) 107#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0)
111 108
112#endif // #ifndef _EPLSDOUDPU_H_ 109#endif // #ifndef _EPLSDOUDPU_H_
113
114
diff --git a/drivers/staging/epl/user/EplStatusu.h b/drivers/staging/epl/user/EplStatusu.h
index 22547eb63a2c..d211935f0e83 100644
--- a/drivers/staging/epl/user/EplStatusu.h
+++ b/drivers/staging/epl/user/EplStatusu.h
@@ -66,7 +66,6 @@
66 66
67 2006/11/15 d.k.: start of the implementation 67 2006/11/15 d.k.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplDll.h" 71#include "../EplDll.h"
@@ -74,19 +73,17 @@
74#ifndef _EPLSTATUSU_H_ 73#ifndef _EPLSTATUSU_H_
75#define _EPLSTATUSU_H_ 74#define _EPLSTATUSU_H_
76 75
77
78//--------------------------------------------------------------------------- 76//---------------------------------------------------------------------------
79// const defines 77// const defines
80//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
81 79
82
83//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
84// typedef 81// typedef
85//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
86 83
87typedef tEplKernel (PUBLIC * tEplStatusuCbResponse) ( 84typedef tEplKernel(PUBLIC * tEplStatusuCbResponse) (unsigned int uiNodeId_p,
88 unsigned int uiNodeId_p, 85 tEplStatusResponse *
89 tEplStatusResponse* pStatusResponse_p); 86 pStatusResponse_p);
90 87
91//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
92// function prototypes 89// function prototypes
@@ -100,10 +97,8 @@ tEplKernel PUBLIC EplStatusuDelInstance(void);
100 97
101tEplKernel PUBLIC EplStatusuReset(void); 98tEplKernel PUBLIC EplStatusuReset(void);
102 99
103tEplKernel PUBLIC EplStatusuRequestStatusResponse( 100tEplKernel PUBLIC EplStatusuRequestStatusResponse(unsigned int uiNodeId_p,
104 unsigned int uiNodeId_p, 101 tEplStatusuCbResponse
105 tEplStatusuCbResponse pfnCbResponse_p); 102 pfnCbResponse_p);
106
107#endif // #ifndef _EPLSTATUSU_H_
108
109 103
104#endif // #ifndef _EPLSTATUSU_H_
diff --git a/drivers/staging/epl/user/EplTimeru.h b/drivers/staging/epl/user/EplTimeru.h
index d5f1eafaf130..404495501b8d 100644
--- a/drivers/staging/epl/user/EplTimeru.h
+++ b/drivers/staging/epl/user/EplTimeru.h
@@ -66,7 +66,6 @@
66 66
67 2006/07/06 k.t.: start of the implementation 67 2006/07/06 k.t.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplTimer.h" 71#include "../EplTimer.h"
@@ -75,17 +74,14 @@
75#ifndef _EPLTIMERU_H_ 74#ifndef _EPLTIMERU_H_
76#define _EPLTIMERU_H_ 75#define _EPLTIMERU_H_
77 76
78
79//--------------------------------------------------------------------------- 77//---------------------------------------------------------------------------
80// const defines 78// const defines
81//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
82 80
83
84//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
85// typedef 82// typedef
86//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
87 84
88
89//--------------------------------------------------------------------------- 85//---------------------------------------------------------------------------
90// function prototypes 86// function prototypes
91//--------------------------------------------------------------------------- 87//---------------------------------------------------------------------------
@@ -96,18 +92,16 @@ tEplKernel PUBLIC EplTimeruAddInstance(void);
96 92
97tEplKernel PUBLIC EplTimeruDelInstance(void); 93tEplKernel PUBLIC EplTimeruDelInstance(void);
98 94
99tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl* pTimerHdl_p, 95tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl * pTimerHdl_p,
100 unsigned long ulTime_p, 96 unsigned long ulTime_p,
101 tEplTimerArg Argument_p); 97 tEplTimerArg Argument_p);
102 98
103tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl* pTimerHdl_p, 99tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl * pTimerHdl_p,
104 unsigned long ulTime_p, 100 unsigned long ulTime_p,
105 tEplTimerArg Argument_p); 101 tEplTimerArg Argument_p);
106 102
107tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl* pTimerHdl_p); 103tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl * pTimerHdl_p);
108 104
109BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p); 105BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p);
110 106
111#endif // #ifndef _EPLTIMERU_H_ 107#endif // #ifndef _EPLTIMERU_H_
112
113