diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-19 17:06:12 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:37 -0800 |
commit | ba338d462655cbcc436ace8b73afa003cd485928 (patch) | |
tree | 0c00c9d650b5b60fe3a2f05a6d2cafe692fa5491 /drivers/staging/epl/kernel/EplDllk.h | |
parent | 9d7164cfdb611c2f864d535ae5794f23db3d84f7 (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>
Diffstat (limited to 'drivers/staging/epl/kernel/EplDllk.h')
-rw-r--r-- | drivers/staging/epl/kernel/EplDllk.h | 52 |
1 files changed, 23 insertions, 29 deletions
diff --git a/drivers/staging/epl/kernel/EplDllk.h b/drivers/staging/epl/kernel/EplDllk.h index d48b8afab87..588e871a922 100644 --- a/drivers/staging/epl/kernel/EplDllk.h +++ b/drivers/staging/epl/kernel/EplDllk.h @@ -66,7 +66,6 @@ 2006/06/08 d.k.: start of the implementation, version 1.00 - ****************************************************************************/ #ifndef _EPL_DLLK_H_ @@ -79,34 +78,31 @@ // const defines //--------------------------------------------------------------------------- - //--------------------------------------------------------------------------- // typedef //--------------------------------------------------------------------------- -typedef tEplKernel (* tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p); +typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p); -typedef struct -{ - BYTE m_be_abSrcMac[6]; +typedef struct { + BYTE m_be_abSrcMac[6]; } tEplDllkInitParam; // forward declaration struct _tEdrvTxBuffer; -struct _tEplDllkNodeInfo -{ - struct _tEplDllkNodeInfo* m_pNextNodeInfo; - struct _tEdrvTxBuffer* m_pPreqTxBuffer; - unsigned int m_uiNodeId; - DWORD m_dwPresTimeout; - unsigned long m_ulDllErrorEvents; - tEplNmtState m_NmtState; - WORD m_wPresPayloadLimit; - BYTE m_be_abMacAddr[6]; - BYTE m_bSoaFlag1; - BOOL m_fSoftDelete; // delete node after error and ignore error +struct _tEplDllkNodeInfo { + struct _tEplDllkNodeInfo *m_pNextNodeInfo; + struct _tEdrvTxBuffer *m_pPreqTxBuffer; + unsigned int m_uiNodeId; + DWORD m_dwPresTimeout; + unsigned long m_ulDllErrorEvents; + tEplNmtState m_NmtState; + WORD m_wPresPayloadLimit; + BYTE m_be_abMacAddr[6]; + BYTE m_bSoaFlag1; + BOOL m_fSoftDelete; // delete node after error and ignore error }; @@ -138,18 +134,18 @@ tEplKernel EplDllkRegAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p); tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p); // register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered -tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p); +tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, + tEplDllAsndFilter Filter_p); // creates the buffer for a Tx frame and registers it to the ethernet driver -tEplKernel EplDllkCreateTxFrame(unsigned int * puiHandle_p, - tEplFrame ** ppFrame_p, - unsigned int * puiFrameSize_p, - tEplMsgType MsgType_p, - tEplDllAsndServiceId ServiceId_p); +tEplKernel EplDllkCreateTxFrame(unsigned int *puiHandle_p, + tEplFrame ** ppFrame_p, + unsigned int *puiFrameSize_p, + tEplMsgType MsgType_p, + tEplDllAsndServiceId ServiceId_p); tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p); - #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p); @@ -160,12 +156,10 @@ tEplKernel EplDllkSoftDeleteNode(unsigned int uiNodeId_p); tEplKernel EplDllkSetFlag1OfNode(unsigned int uiNodeId_p, BYTE bSoaFlag1_p); -tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo** ppNodeInfo_p); +tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo ** ppNodeInfo_p); #endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0) -#endif // #ifndef _EPL_DLLK_H_ - - +#endif // #ifndef _EPL_DLLK_H_ |