]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/winbond/mds.c
Staging: w35und: Convert MDS typedef to struct w35_mds
[mv-sheeva.git] / drivers / staging / winbond / mds.c
index 59d6d67a9f7e4ff85c8b31620100c8bee4c99973..9550e1a517335defbba6124589c4e221d86921c6 100644 (file)
@@ -8,7 +8,7 @@
 unsigned char
 Mds_initial(struct wbsoft_priv * adapter)
 {
-       PMDS pMds = &adapter->Mds;
+       struct wb35_mds *pMds = &adapter->Mds;
 
        pMds->TxPause = false;
        pMds->TxRTSThreshold = DEFAULT_RTSThreshold;
@@ -220,7 +220,7 @@ static void Mds_DurationSet(struct wbsoft_priv *adapter,  PDESCRIPTOR pDes,  u8
 static u16 Mds_BodyCopy(struct wbsoft_priv *adapter, PDESCRIPTOR pDes, u8 *TargetBuffer)
 {
        PT00_DESCRIPTOR pT00;
-       PMDS    pMds = &adapter->Mds;
+       struct wb35_mds *pMds = &adapter->Mds;
        u8      *buffer;
        u8      *src_buffer;
        u8      *pctmp;
@@ -320,7 +320,7 @@ static u16 Mds_BodyCopy(struct wbsoft_priv *adapter, PDESCRIPTOR pDes, u8 *Targe
 
 static void Mds_HeaderCopy(struct wbsoft_priv * adapter, PDESCRIPTOR pDes, u8 *TargetBuffer)
 {
-       PMDS    pMds = &adapter->Mds;
+       struct wb35_mds *pMds = &adapter->Mds;
        u8      *src_buffer = pDes->buffer_address[0];//931130.5.g
        PT00_DESCRIPTOR pT00;
        PT01_DESCRIPTOR pT01;
@@ -417,7 +417,7 @@ void
 Mds_Tx(struct wbsoft_priv * adapter)
 {
        struct hw_data *        pHwData = &adapter->sHwData;
-       PMDS            pMds = &adapter->Mds;
+       struct wb35_mds *pMds = &adapter->Mds;
        DESCRIPTOR      TxDes;
        PDESCRIPTOR     pTxDes = &TxDes;
        u8              *XmitBufAddress;
@@ -552,7 +552,7 @@ Mds_Tx(struct wbsoft_priv * adapter)
 void
 Mds_SendComplete(struct wbsoft_priv * adapter, PT02_DESCRIPTOR pT02)
 {
-       PMDS    pMds = &adapter->Mds;
+       struct wb35_mds *pMds = &adapter->Mds;
        struct hw_data *        pHwData = &adapter->sHwData;
        u8      PacketId = (u8)pT02->T02_Tx_PktID;
        unsigned char   SendOK = true;