aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-12-19 20:06:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 16:52:37 -0500
commitba338d462655cbcc436ace8b73afa003cd485928 (patch)
tree0c00c9d650b5b60fe3a2f05a6d2cafe692fa5491
parent9d7164cfdb611c2f864d535ae5794f23db3d84f7 (diff)
Staging: epl: run Lindent on all kernel/*.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>
-rw-r--r--drivers/staging/epl/kernel/EplDllk.h52
-rw-r--r--drivers/staging/epl/kernel/EplDllkCal.h41
-rw-r--r--drivers/staging/epl/kernel/EplErrorHandlerk.h6
-rw-r--r--drivers/staging/epl/kernel/EplEventk.h12
-rw-r--r--drivers/staging/epl/kernel/EplNmtk.h21
-rw-r--r--drivers/staging/epl/kernel/EplNmtkCal.h9
-rw-r--r--drivers/staging/epl/kernel/EplObdk.h120
-rw-r--r--drivers/staging/epl/kernel/EplObdkCal.h9
-rw-r--r--drivers/staging/epl/kernel/EplPdok.h8
-rw-r--r--drivers/staging/epl/kernel/EplPdokCal.h9
-rw-r--r--drivers/staging/epl/kernel/EplTimerHighResk.h29
-rw-r--r--drivers/staging/epl/kernel/EplTimerk.h20
-rw-r--r--drivers/staging/epl/kernel/VirtualEthernet.h7
13 files changed, 144 insertions, 199 deletions
diff --git a/drivers/staging/epl/kernel/EplDllk.h b/drivers/staging/epl/kernel/EplDllk.h
index d48b8afab875..588e871a922b 100644
--- a/drivers/staging/epl/kernel/EplDllk.h
+++ b/drivers/staging/epl/kernel/EplDllk.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/08 d.k.: start of the implementation, version 1.00 67 2006/06/08 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_DLLK_H_ 71#ifndef _EPL_DLLK_H_
@@ -79,34 +78,31 @@
79// const defines 78// const defines
80//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
81 80
82
83//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
84// typedef 82// typedef
85//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
86 84
87typedef tEplKernel (* tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p); 85typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);
88 86
89typedef struct 87typedef struct {
90{ 88 BYTE m_be_abSrcMac[6];
91 BYTE m_be_abSrcMac[6];
92 89
93} tEplDllkInitParam; 90} tEplDllkInitParam;
94 91
95// forward declaration 92// forward declaration
96struct _tEdrvTxBuffer; 93struct _tEdrvTxBuffer;
97 94
98struct _tEplDllkNodeInfo 95struct _tEplDllkNodeInfo {
99{ 96 struct _tEplDllkNodeInfo *m_pNextNodeInfo;
100 struct _tEplDllkNodeInfo* m_pNextNodeInfo; 97 struct _tEdrvTxBuffer *m_pPreqTxBuffer;
101 struct _tEdrvTxBuffer* m_pPreqTxBuffer; 98 unsigned int m_uiNodeId;
102 unsigned int m_uiNodeId; 99 DWORD m_dwPresTimeout;
103 DWORD m_dwPresTimeout; 100 unsigned long m_ulDllErrorEvents;
104 unsigned long m_ulDllErrorEvents; 101 tEplNmtState m_NmtState;
105 tEplNmtState m_NmtState; 102 WORD m_wPresPayloadLimit;
106 WORD m_wPresPayloadLimit; 103 BYTE m_be_abMacAddr[6];
107 BYTE m_be_abMacAddr[6]; 104 BYTE m_bSoaFlag1;
108 BYTE m_bSoaFlag1; 105 BOOL m_fSoftDelete; // delete node after error and ignore error
109 BOOL m_fSoftDelete; // delete node after error and ignore error
110 106
111}; 107};
112 108
@@ -138,18 +134,18 @@ tEplKernel EplDllkRegAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
138tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p); 134tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
139 135
140// register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered 136// register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered
141tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p); 137tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p,
138 tEplDllAsndFilter Filter_p);
142 139
143// creates the buffer for a Tx frame and registers it to the ethernet driver 140// creates the buffer for a Tx frame and registers it to the ethernet driver
144tEplKernel EplDllkCreateTxFrame(unsigned int * puiHandle_p, 141tEplKernel EplDllkCreateTxFrame(unsigned int *puiHandle_p,
145 tEplFrame ** ppFrame_p, 142 tEplFrame ** ppFrame_p,
146 unsigned int * puiFrameSize_p, 143 unsigned int *puiFrameSize_p,
147 tEplMsgType MsgType_p, 144 tEplMsgType MsgType_p,
148 tEplDllAsndServiceId ServiceId_p); 145 tEplDllAsndServiceId ServiceId_p);
149 146
150tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p); 147tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p);
151 148
152
153#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 149#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
154 150
155tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p); 151tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p);
@@ -160,12 +156,10 @@ tEplKernel EplDllkSoftDeleteNode(unsigned int uiNodeId_p);
160 156
161tEplKernel EplDllkSetFlag1OfNode(unsigned int uiNodeId_p, BYTE bSoaFlag1_p); 157tEplKernel EplDllkSetFlag1OfNode(unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
162 158
163tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo** ppNodeInfo_p); 159tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo ** ppNodeInfo_p);
164 160
165#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 161#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
166 162
167#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0) 163#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
168 164
169#endif // #ifndef _EPL_DLLK_H_ 165#endif // #ifndef _EPL_DLLK_H_
170
171
diff --git a/drivers/staging/epl/kernel/EplDllkCal.h b/drivers/staging/epl/kernel/EplDllkCal.h
index 2db6747938eb..6c4dc7e4a80d 100644
--- a/drivers/staging/epl/kernel/EplDllkCal.h
+++ b/drivers/staging/epl/kernel/EplDllkCal.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/13 d.k.: start of the implementation, version 1.00 67 2006/06/13 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_DLLKCAL_H_ 71#ifndef _EPL_DLLKCAL_H_
@@ -83,14 +82,13 @@
83// typedef 82// typedef
84//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
85 84
86typedef struct 85typedef struct {
87{ 86 unsigned long m_ulCurTxFrameCountGen;
88 unsigned long m_ulCurTxFrameCountGen; 87 unsigned long m_ulCurTxFrameCountNmt;
89 unsigned long m_ulCurTxFrameCountNmt; 88 unsigned long m_ulCurRxFrameCount;
90 unsigned long m_ulCurRxFrameCount; 89 unsigned long m_ulMaxTxFrameCountGen;
91 unsigned long m_ulMaxTxFrameCountGen; 90 unsigned long m_ulMaxTxFrameCountNmt;
92 unsigned long m_ulMaxTxFrameCountNmt; 91 unsigned long m_ulMaxRxFrameCount;
93 unsigned long m_ulMaxRxFrameCount;
94 92
95} tEplDllkCalStatistics; 93} tEplDllkCalStatistics;
96 94
@@ -104,12 +102,16 @@ tEplKernel EplDllkCalAddInstance(void);
104 102
105tEplKernel EplDllkCalDelInstance(void); 103tEplKernel EplDllkCalDelInstance(void);
106 104
107tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p, unsigned int * puiCount_p); 105tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p,
108tEplKernel EplDllkCalAsyncGetTxFrame(void * pFrame_p, unsigned int * puiFrameSize_p, tEplDllAsyncReqPriority Priority_p); 106 unsigned int *puiCount_p);
107tEplKernel EplDllkCalAsyncGetTxFrame(void *pFrame_p,
108 unsigned int *puiFrameSize_p,
109 tEplDllAsyncReqPriority Priority_p);
109// only frames with registered AsndServiceIds are passed to CAL 110// only frames with registered AsndServiceIds are passed to CAL
110tEplKernel EplDllkCalAsyncFrameReceived(tEplFrameInfo * pFrameInfo_p); 111tEplKernel EplDllkCalAsyncFrameReceived(tEplFrameInfo * pFrameInfo_p);
111 112
112tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p); 113tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p,
114 tEplDllAsyncReqPriority Priority_p);
113 115
114tEplKernel EplDllkCalAsyncClearBuffer(void); 116tEplKernel EplDllkCalAsyncClearBuffer(void);
115 117
@@ -121,16 +123,19 @@ tEplKernel EplDllkCalProcess(tEplEvent * pEvent_p);
121 123
122tEplKernel EplDllkCalAsyncClearQueues(void); 124tEplKernel EplDllkCalAsyncClearQueues(void);
123 125
124tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p); 126tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p,
127 unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
125 128
126tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId* pReqServiceId_p, unsigned int* puiNodeId_p); 129tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId * pReqServiceId_p,
130 unsigned int *puiNodeId_p);
127 131
128tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p, tEplDllAsyncReqPriority AsyncReqPrio_p, unsigned int uiCount_p); 132tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p,
133 tEplDllAsyncReqPriority
134 AsyncReqPrio_p,
135 unsigned int uiCount_p);
129 136
130#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) 137#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
131 138
132#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0) 139#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
133 140
134#endif // #ifndef _EPL_DLLKCAL_H_ 141#endif // #ifndef _EPL_DLLKCAL_H_
135
136
diff --git a/drivers/staging/epl/kernel/EplErrorHandlerk.h b/drivers/staging/epl/kernel/EplErrorHandlerk.h
index 0f09ef3bfc86..4a67ef88b97a 100644
--- a/drivers/staging/epl/kernel/EplErrorHandlerk.h
+++ b/drivers/staging/epl/kernel/EplErrorHandlerk.h
@@ -66,7 +66,6 @@
66 66
67 2006/10/02 d.k.: start of the implementation, version 1.00 67 2006/10/02 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_ERRORHANDLERK_H_ 71#ifndef _EPL_ERRORHANDLERK_H_
@@ -98,7 +97,4 @@ tEplKernel PUBLIC EplErrorHandlerkDelInstance(void);
98// processes error events 97// processes error events
99tEplKernel PUBLIC EplErrorHandlerkProcess(tEplEvent * pEvent_p); 98tEplKernel PUBLIC EplErrorHandlerkProcess(tEplEvent * pEvent_p);
100 99
101 100#endif // #ifndef _EPL_ERRORHANDLERK_H_
102#endif // #ifndef _EPL_ERRORHANDLERK_H_
103
104
diff --git a/drivers/staging/epl/kernel/EplEventk.h b/drivers/staging/epl/kernel/EplEventk.h
index b889a62642ba..1d25aaa2ed49 100644
--- a/drivers/staging/epl/kernel/EplEventk.h
+++ b/drivers/staging/epl/kernel/EplEventk.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_EVENTK_H_ 71#ifndef _EPL_EVENTK_H_
@@ -103,12 +102,7 @@ tEplKernel PUBLIC EplEventkPost(tEplEvent * pEvent_p);
103 102
104// post errorevents from kernelspace 103// post errorevents from kernelspace
105tEplKernel PUBLIC EplEventkPostError(tEplEventSource EventSource_p, 104tEplKernel PUBLIC EplEventkPostError(tEplEventSource EventSource_p,
106 tEplKernel EplError_p, 105 tEplKernel EplError_p,
107 unsigned int uiArgSize_p, 106 unsigned int uiArgSize_p, void *pArg_p);
108 void* pArg_p);
109
110
111
112#endif // #ifndef _EPL_EVENTK_H_
113
114 107
108#endif // #ifndef _EPL_EVENTK_H_
diff --git a/drivers/staging/epl/kernel/EplNmtk.h b/drivers/staging/epl/kernel/EplNmtk.h
index a54dae6d2e78..53409cc89921 100644
--- a/drivers/staging/epl/kernel/EplNmtk.h
+++ b/drivers/staging/epl/kernel/EplNmtk.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#ifndef _EPLNMTK_H_ 71#ifndef _EPLNMTK_H_
@@ -75,36 +74,32 @@
75#include "../EplNmt.h" 74#include "../EplNmt.h"
76#include "EplEventk.h" 75#include "EplEventk.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//---------------------------------------------------------------------------
92#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0) 88#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
93EPLDLLEXPORT tEplKernel PUBLIC EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR); 89EPLDLLEXPORT tEplKernel PUBLIC EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR);
94 90
95EPLDLLEXPORT tEplKernel PUBLIC EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR); 91EPLDLLEXPORT tEplKernel PUBLIC
92EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
96 93
97EPLDLLEXPORT tEplKernel PUBLIC EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR); 94EPLDLLEXPORT tEplKernel PUBLIC
95EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
98 96
99EPLDLLEXPORT tEplKernel PUBLIC EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ 97EPLDLLEXPORT tEplKernel PUBLIC EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_
100 tEplEvent * pEvent_p); 98 tEplEvent * pEvent_p);
101 99
102EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR); 100EPLDLLEXPORT tEplNmtState PUBLIC
101EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR);
103 102
104#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0) 103#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
105 104
106 105#endif // #ifndef _EPLNMTK_H_
107
108#endif // #ifndef _EPLNMTK_H_
109
110
diff --git a/drivers/staging/epl/kernel/EplNmtkCal.h b/drivers/staging/epl/kernel/EplNmtkCal.h
index 2c76793ad255..9edeafca4920 100644
--- a/drivers/staging/epl/kernel/EplNmtkCal.h
+++ b/drivers/staging/epl/kernel/EplNmtkCal.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 "EplNmtk.h" 72#include "EplNmtk.h"
@@ -75,22 +74,16 @@
75#ifndef _EPLNMTKCAL_H_ 74#ifndef _EPLNMTKCAL_H_
76#define _EPLNMTKCAL_H_ 75#define _EPLNMTKCAL_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//---------------------------------------------------------------------------
92 88
93 89#endif // #ifndef _EPLNMTKCAL_H_
94#endif // #ifndef _EPLNMTKCAL_H_
95
96
diff --git a/drivers/staging/epl/kernel/EplObdk.h b/drivers/staging/epl/kernel/EplObdk.h
index ac2b17f14e16..cf9f5837dd38 100644
--- a/drivers/staging/epl/kernel/EplObdk.h
+++ b/drivers/staging/epl/kernel/EplObdk.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,12 +73,10 @@
74#ifndef _EPLOBDK_H_ 73#ifndef _EPLOBDK_H_
75#define _EPLOBDK_H_ 74#define _EPLOBDK_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//---------------------------------------------------------------------------
@@ -95,102 +92,105 @@ extern BYTE MEM abEplObdTrashObject_g[8];
95//--------------------------------------------------------------------------- 92//---------------------------------------------------------------------------
96#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0) 93#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
97// --------------------------------------------------------------------- 94// ---------------------------------------------------------------------
98EPLDLLEXPORT tEplKernel PUBLIC EplObdInit (EPL_MCO_DECL_PTR_INSTANCE_PTR_ 95EPLDLLEXPORT tEplKernel PUBLIC EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_
99 tEplObdInitParam MEM* pInitParam_p); 96 tEplObdInitParam MEM * pInitParam_p);
100 97
101// --------------------------------------------------------------------- 98// ---------------------------------------------------------------------
102EPLDLLEXPORT tEplKernel PUBLIC EplObdAddInstance (EPL_MCO_DECL_PTR_INSTANCE_PTR_ 99EPLDLLEXPORT tEplKernel PUBLIC EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_
103 tEplObdInitParam MEM* pInitParam_p); 100 tEplObdInitParam MEM *
101 pInitParam_p);
104 102
105// --------------------------------------------------------------------- 103// ---------------------------------------------------------------------
106EPLDLLEXPORT tEplKernel PUBLIC EplObdDeleteInstance (EPL_MCO_DECL_INSTANCE_PTR); 104EPLDLLEXPORT tEplKernel PUBLIC EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR);
107 105
108// --------------------------------------------------------------------- 106// ---------------------------------------------------------------------
109EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntry (EPL_MCO_DECL_INSTANCE_PTR_ 107EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_
110 unsigned int uiIndex_p, 108 unsigned int uiIndex_p,
111 unsigned int uiSubIndex_p, 109 unsigned int uiSubIndex_p,
112 void * pSrcData_p, 110 void *pSrcData_p,
113 tEplObdSize Size_p); 111 tEplObdSize Size_p);
114 112
115// --------------------------------------------------------------------- 113// ---------------------------------------------------------------------
116EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntry (EPL_MCO_DECL_INSTANCE_PTR_ 114EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_
117 unsigned int uiIndex_p, 115 unsigned int uiIndex_p,
118 unsigned int uiSubIndex_p, 116 unsigned int uiSubIndex_p,
119 void * pDstData_p, 117 void *pDstData_p,
120 tEplObdSize *pSize_p); 118 tEplObdSize * pSize_p);
121 119
122// --------------------------------------------------------------------- 120// ---------------------------------------------------------------------
123EPLDLLEXPORT tEplKernel PUBLIC EplObdSetStoreLoadObjCallback (EPL_MCO_DECL_INSTANCE_PTR_ 121EPLDLLEXPORT tEplKernel PUBLIC
124 tEplObdStoreLoadObjCallback fpCallback_p); 122EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_
123 tEplObdStoreLoadObjCallback fpCallback_p);
125 124
126// --------------------------------------------------------------------- 125// ---------------------------------------------------------------------
127EPLDLLEXPORT tEplKernel PUBLIC EplObdAccessOdPart (EPL_MCO_DECL_INSTANCE_PTR_ 126EPLDLLEXPORT tEplKernel PUBLIC EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_
128 tEplObdPart ObdPart_p, 127 tEplObdPart ObdPart_p,
129 tEplObdDir Direction_p); 128 tEplObdDir Direction_p);
130 129
131// --------------------------------------------------------------------- 130// ---------------------------------------------------------------------
132EPLDLLEXPORT tEplKernel PUBLIC EplObdDefineVar (EPL_MCO_DECL_INSTANCE_PTR_ 131EPLDLLEXPORT tEplKernel PUBLIC EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_
133 tEplVarParam MEM* pVarParam_p); 132 tEplVarParam MEM * pVarParam_p);
134 133
135// --------------------------------------------------------------------- 134// ---------------------------------------------------------------------
136EPLDLLEXPORT void* PUBLIC EplObdGetObjectDataPtr (EPL_MCO_DECL_INSTANCE_PTR_ 135EPLDLLEXPORT void *PUBLIC EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_
137 unsigned int uiIndex_p, 136 unsigned int uiIndex_p,
138 unsigned int uiSubIndex_p); 137 unsigned int uiSubIndex_p);
139// --------------------------------------------------------------------- 138// ---------------------------------------------------------------------
140EPLDLLEXPORT tEplKernel PUBLIC EplObdRegisterUserOd (EPL_MCO_DECL_INSTANCE_PTR_ 139EPLDLLEXPORT tEplKernel PUBLIC EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_
141 tEplObdEntryPtr pUserOd_p); 140 tEplObdEntryPtr pUserOd_p);
142 141
143// --------------------------------------------------------------------- 142// ---------------------------------------------------------------------
144EPLDLLEXPORT void PUBLIC EplObdInitVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ 143EPLDLLEXPORT void PUBLIC EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
145 tEplObdVarEntry MEM* pVarEntry_p, 144 tEplObdVarEntry MEM * pVarEntry_p,
146 tEplObdType Type_p, tEplObdSize ObdSize_p); 145 tEplObdType Type_p,
146 tEplObdSize ObdSize_p);
147 147
148// --------------------------------------------------------------------- 148// ---------------------------------------------------------------------
149EPLDLLEXPORT tEplObdSize PUBLIC EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ 149EPLDLLEXPORT tEplObdSize PUBLIC EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_
150 unsigned int uiIndex_p, 150 unsigned int uiIndex_p,
151 unsigned int uiSubIndex_p); 151 unsigned int uiSubIndex_p);
152 152
153// --------------------------------------------------------------------- 153// ---------------------------------------------------------------------
154EPLDLLEXPORT unsigned int PUBLIC EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR); 154EPLDLLEXPORT unsigned int PUBLIC EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR);
155 155
156// --------------------------------------------------------------------- 156// ---------------------------------------------------------------------
157EPLDLLEXPORT tEplKernel PUBLIC EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_ 157EPLDLLEXPORT tEplKernel PUBLIC EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_
158 unsigned int uiNodeId_p, 158 unsigned int uiNodeId_p,
159 tEplObdNodeIdType NodeIdType_p); 159 tEplObdNodeIdType NodeIdType_p);
160 160
161// --------------------------------------------------------------------- 161// ---------------------------------------------------------------------
162EPLDLLEXPORT tEplKernel PUBLIC EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ 162EPLDLLEXPORT tEplKernel PUBLIC EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_
163 unsigned int uiIndex_p, 163 unsigned int uiIndex_p,
164 unsigned int uiSubIndex_p, 164 unsigned int uiSubIndex_p,
165 BOOL* pfEntryNumerical); 165 BOOL * pfEntryNumerical);
166// --------------------------------------------------------------------- 166// ---------------------------------------------------------------------
167EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntryFromLe (EPL_MCO_DECL_INSTANCE_PTR_ 167EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_
168 unsigned int uiIndex_p, 168 unsigned int uiIndex_p,
169 unsigned int uiSubIndex_p, 169 unsigned int uiSubIndex_p,
170 void * pSrcData_p, 170 void *pSrcData_p,
171 tEplObdSize Size_p); 171 tEplObdSize Size_p);
172 172
173// --------------------------------------------------------------------- 173// ---------------------------------------------------------------------
174EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntryToLe (EPL_MCO_DECL_INSTANCE_PTR_ 174EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_
175 unsigned int uiIndex_p, 175 unsigned int uiIndex_p,
176 unsigned int uiSubIndex_p, 176 unsigned int uiSubIndex_p,
177 void * pDstData_p, 177 void *pDstData_p,
178 tEplObdSize *pSize_p); 178 tEplObdSize * pSize_p);
179 179
180// --------------------------------------------------------------------- 180// ---------------------------------------------------------------------
181EPLDLLEXPORT tEplKernel PUBLIC EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_ 181EPLDLLEXPORT tEplKernel PUBLIC EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_
182 unsigned int uiIndex_p, 182 unsigned int uiIndex_p,
183 unsigned int uiSubIndex_p, 183 unsigned int uiSubIndex_p,
184 tEplObdAccess* pAccessTyp_p); 184 tEplObdAccess *
185 pAccessTyp_p);
185 186
186// --------------------------------------------------------------------- 187// ---------------------------------------------------------------------
187EPLDLLEXPORT tEplKernel PUBLIC EplObdSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ 188EPLDLLEXPORT tEplKernel PUBLIC EplObdSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
188 unsigned int uiIndex_p, 189 unsigned int uiIndex_p,
189 unsigned int uiSubindex_p, 190 unsigned int uiSubindex_p,
190 tEplObdVarEntry MEM** ppVarEntry_p); 191 tEplObdVarEntry MEM **
192 ppVarEntry_p);
191 193
192#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0) 194#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
193 195
194#endif // #ifndef _EPLOBDK_H_ 196#endif // #ifndef _EPLOBDK_H_
195
196
diff --git a/drivers/staging/epl/kernel/EplObdkCal.h b/drivers/staging/epl/kernel/EplObdkCal.h
index 7f4f5ada7665..c173a950054f 100644
--- a/drivers/staging/epl/kernel/EplObdkCal.h
+++ b/drivers/staging/epl/kernel/EplObdkCal.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,22 +74,16 @@
75#ifndef _EPLOBDKCAL_H_ 74#ifndef _EPLOBDKCAL_H_
76#define _EPLOBDKCAL_H_ 75#define _EPLOBDKCAL_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//---------------------------------------------------------------------------
92 88
93 89#endif // #ifndef _EPLOBDKCAL_H_
94#endif // #ifndef _EPLOBDKCAL_H_
95
96
diff --git a/drivers/staging/epl/kernel/EplPdok.h b/drivers/staging/epl/kernel/EplPdok.h
index a9358ec6a9f7..b5b18f4cf687 100644
--- a/drivers/staging/epl/kernel/EplPdok.h
+++ b/drivers/staging/epl/kernel/EplPdok.h
@@ -66,7 +66,6 @@
66 66
67 2006/05/22 d.k.: start of the implementation, version 1.00 67 2006/05/22 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_PDOK_H_ 71#ifndef _EPL_PDOK_H_
@@ -80,12 +79,10 @@
80// const defines 79// const defines
81//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
82 81
83
84//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
85// typedef 83// typedef
86//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
87 85
88
89//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
90// function prototypes 87// function prototypes
91//--------------------------------------------------------------------------- 88//---------------------------------------------------------------------------
@@ -110,7 +107,4 @@ tEplKernel EplPdokAddInstance(void);
110 107
111tEplKernel EplPdokDelInstance(void); 108tEplKernel EplPdokDelInstance(void);
112 109
113 110#endif // #ifndef _EPL_PDOK_H_
114#endif // #ifndef _EPL_PDOK_H_
115
116
diff --git a/drivers/staging/epl/kernel/EplPdokCal.h b/drivers/staging/epl/kernel/EplPdokCal.h
index c852c770c177..6a183ebe81ef 100644
--- a/drivers/staging/epl/kernel/EplPdokCal.h
+++ b/drivers/staging/epl/kernel/EplPdokCal.h
@@ -66,7 +66,6 @@
66 66
67 2006/06/26 d.k.: start of the implementation, version 1.00 67 2006/06/26 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_PDOKCAL_H_ 71#ifndef _EPL_PDOKCAL_H_
@@ -79,12 +78,10 @@
79// const defines 78// const defines
80//--------------------------------------------------------------------------- 79//---------------------------------------------------------------------------
81 80
82
83//--------------------------------------------------------------------------- 81//---------------------------------------------------------------------------
84// typedef 82// typedef
85//--------------------------------------------------------------------------- 83//---------------------------------------------------------------------------
86 84
87
88//--------------------------------------------------------------------------- 85//---------------------------------------------------------------------------
89// function prototypes 86// function prototypes
90//--------------------------------------------------------------------------- 87//---------------------------------------------------------------------------
@@ -99,8 +96,4 @@ tEplKernel EplPdokCalSetTpdosValid(BOOL fValid_p);
99// gets flag for validity of TPDOs from shared memory 96// gets flag for validity of TPDOs from shared memory
100tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p); 97tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p);
101 98
102 99#endif // #ifndef _EPL_PDOKCAL_H_
103
104#endif // #ifndef _EPL_PDOKCAL_H_
105
106
diff --git a/drivers/staging/epl/kernel/EplTimerHighResk.h b/drivers/staging/epl/kernel/EplTimerHighResk.h
index abee2fdbfb5d..d5d046d4d370 100644
--- a/drivers/staging/epl/kernel/EplTimerHighResk.h
+++ b/drivers/staging/epl/kernel/EplTimerHighResk.h
@@ -66,7 +66,6 @@
66 66
67 2006/09/29 d.k.: start of the implementation 67 2006/09/29 d.k.: start of the implementation
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#include "../EplTimer.h" 71#include "../EplTimer.h"
@@ -82,7 +81,6 @@
82// typedef 81// typedef
83//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
84 83
85
86//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
87// function prototypes 85// function prototypes
88//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
@@ -93,20 +91,19 @@ tEplKernel PUBLIC EplTimerHighReskAddInstance(void);
93 91
94tEplKernel PUBLIC EplTimerHighReskDelInstance(void); 92tEplKernel PUBLIC EplTimerHighReskDelInstance(void);
95 93
96tEplKernel PUBLIC EplTimerHighReskSetTimerNs(tEplTimerHdl* pTimerHdl_p, 94tEplKernel PUBLIC EplTimerHighReskSetTimerNs(tEplTimerHdl * pTimerHdl_p,
97 unsigned long long ullTimeNs_p, 95 unsigned long long ullTimeNs_p,
98 tEplTimerkCallback pfnCallback_p, 96 tEplTimerkCallback pfnCallback_p,
99 unsigned long ulArgument_p, 97 unsigned long ulArgument_p,
100 BOOL fContinuously_p); 98 BOOL fContinuously_p);
101
102tEplKernel PUBLIC EplTimerHighReskModifyTimerNs(tEplTimerHdl* pTimerHdl_p,
103 unsigned long long ullTimeNs_p,
104 tEplTimerkCallback pfnCallback_p,
105 unsigned long ulArgument_p,
106 BOOL fContinuously_p);
107
108tEplKernel PUBLIC EplTimerHighReskDeleteTimer(tEplTimerHdl* pTimerHdl_p);
109 99
110#endif // #ifndef _EPLTIMERHIGHRESK_H_ 100tEplKernel PUBLIC EplTimerHighReskModifyTimerNs(tEplTimerHdl * pTimerHdl_p,
101 unsigned long long ullTimeNs_p,
102 tEplTimerkCallback
103 pfnCallback_p,
104 unsigned long ulArgument_p,
105 BOOL fContinuously_p);
111 106
107tEplKernel PUBLIC EplTimerHighReskDeleteTimer(tEplTimerHdl * pTimerHdl_p);
112 108
109#endif // #ifndef _EPLTIMERHIGHRESK_H_
diff --git a/drivers/staging/epl/kernel/EplTimerk.h b/drivers/staging/epl/kernel/EplTimerk.h
index ab2bb051f58a..9160e7260de8 100644
--- a/drivers/staging/epl/kernel/EplTimerk.h
+++ b/drivers/staging/epl/kernel/EplTimerk.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"
@@ -96,7 +95,6 @@
96// typedef 95// typedef
97//--------------------------------------------------------------------------- 96//---------------------------------------------------------------------------
98 97
99
100//--------------------------------------------------------------------------- 98//---------------------------------------------------------------------------
101// function prototypes 99// function prototypes
102//--------------------------------------------------------------------------- 100//---------------------------------------------------------------------------
@@ -107,16 +105,14 @@ tEplKernel PUBLIC EplTimerkAddInstance(void);
107 105
108tEplKernel PUBLIC EplTimerkDelInstance(void); 106tEplKernel PUBLIC EplTimerkDelInstance(void);
109 107
110tEplKernel PUBLIC EplTimerkSetTimerMs(tEplTimerHdl* pTimerHdl_p, 108tEplKernel PUBLIC EplTimerkSetTimerMs(tEplTimerHdl * pTimerHdl_p,
111 unsigned long ulTime_p, 109 unsigned long ulTime_p,
112 tEplTimerArg Argument_p); 110 tEplTimerArg Argument_p);
113 111
114tEplKernel PUBLIC EplTimerkModifyTimerMs(tEplTimerHdl* pTimerHdl_p, 112tEplKernel PUBLIC EplTimerkModifyTimerMs(tEplTimerHdl * pTimerHdl_p,
115 unsigned long ulTime_p, 113 unsigned long ulTime_p,
116 tEplTimerArg Argument_p); 114 tEplTimerArg Argument_p);
117 115
118tEplKernel PUBLIC EplTimerkDeleteTimer(tEplTimerHdl* pTimerHdl_p); 116tEplKernel PUBLIC EplTimerkDeleteTimer(tEplTimerHdl * pTimerHdl_p);
119#endif 117#endif
120#endif // #ifndef _EPLTIMERK_H_ 118#endif // #ifndef _EPLTIMERK_H_
121
122
diff --git a/drivers/staging/epl/kernel/VirtualEthernet.h b/drivers/staging/epl/kernel/VirtualEthernet.h
index 850174787d72..deff8720e37f 100644
--- a/drivers/staging/epl/kernel/VirtualEthernet.h
+++ b/drivers/staging/epl/kernel/VirtualEthernet.h
@@ -66,7 +66,6 @@
66 66
67 2006/09/19 d.k.: start of the implementation, version 1.00 67 2006/09/19 d.k.: start of the implementation, version 1.00
68 68
69
70****************************************************************************/ 69****************************************************************************/
71 70
72#ifndef _EPL_VETH_H_ 71#ifndef _EPL_VETH_H_
@@ -78,12 +77,10 @@
78// const defines 77// const defines
79//--------------------------------------------------------------------------- 78//---------------------------------------------------------------------------
80 79
81
82//--------------------------------------------------------------------------- 80//---------------------------------------------------------------------------
83// typedef 81// typedef
84//--------------------------------------------------------------------------- 82//---------------------------------------------------------------------------
85 83
86
87//--------------------------------------------------------------------------- 84//---------------------------------------------------------------------------
88// function prototypes 85// function prototypes
89//--------------------------------------------------------------------------- 86//---------------------------------------------------------------------------
@@ -96,6 +93,4 @@ tEplKernel PUBLIC VEthDelInstance(void);
96 93
97#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0) 94#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)
98 95
99#endif // #ifndef _EPL_VETH_H_ 96#endif // #ifndef _EPL_VETH_H_
100
101