|
@@ -953,15 +953,18 @@ do { \
|
|
|
#define MACvSetRFLE_LatchBase(dwIoBase) \
|
|
|
MACvWordRegBitsOn(dwIoBase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT)
|
|
|
|
|
|
-bool MACbIsRegBitsOn(void __iomem *dwIoBase, unsigned char byRegOfs, unsigned char byTestBits);
|
|
|
-bool MACbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byRegOfs, unsigned char byTestBits);
|
|
|
+bool MACbIsRegBitsOn(void __iomem *dwIoBase, unsigned char byRegOfs,
|
|
|
+ unsigned char byTestBits);
|
|
|
+bool MACbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byRegOfs,
|
|
|
+ unsigned char byTestBits);
|
|
|
|
|
|
bool MACbIsIntDisable(void __iomem *dwIoBase);
|
|
|
|
|
|
void MACvSetShortRetryLimit(void __iomem *dwIoBase, unsigned char byRetryLimit);
|
|
|
|
|
|
void MACvSetLongRetryLimit(void __iomem *dwIoBase, unsigned char byRetryLimit);
|
|
|
-void MACvGetLongRetryLimit(void __iomem *dwIoBase, unsigned char *pbyRetryLimit);
|
|
|
+void MACvGetLongRetryLimit(void __iomem *dwIoBase,
|
|
|
+ unsigned char *pbyRetryLimit);
|
|
|
|
|
|
void MACvSetLoopbackMode(void __iomem *dwIoBase, unsigned char byLoopbackMode);
|
|
|
|
|
@@ -975,22 +978,32 @@ bool MACbSafeTxOff(void __iomem *dwIoBase);
|
|
|
bool MACbSafeStop(void __iomem *dwIoBase);
|
|
|
bool MACbShutdown(void __iomem *dwIoBase);
|
|
|
void MACvInitialize(void __iomem *dwIoBase);
|
|
|
-void MACvSetCurrRx0DescAddr(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrRx1DescAddr(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrTXDescAddr(int iTxType, void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrTx0DescAddrEx(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrAC0DescAddrEx(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrSyncDescAddrEx(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
-void MACvSetCurrATIMDescAddrEx(void __iomem *dwIoBase, unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrRx0DescAddr(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrRx1DescAddr(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrTXDescAddr(int iTxType, void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrTx0DescAddrEx(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrAC0DescAddrEx(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrSyncDescAddrEx(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
+void MACvSetCurrATIMDescAddrEx(void __iomem *dwIoBase,
|
|
|
+ unsigned long dwCurrDescAddr);
|
|
|
void MACvTimer0MicroSDelay(void __iomem *dwIoBase, unsigned int uDelay);
|
|
|
void MACvOneShotTimer1MicroSec(void __iomem *dwIoBase, unsigned int uDelayTime);
|
|
|
|
|
|
-void MACvSetMISCFifo(void __iomem *dwIoBase, unsigned short wOffset, unsigned long dwData);
|
|
|
+void MACvSetMISCFifo(void __iomem *dwIoBase, unsigned short wOffset,
|
|
|
+ unsigned long dwData);
|
|
|
|
|
|
bool MACbPSWakeup(void __iomem *dwIoBase);
|
|
|
|
|
|
-void MACvSetKeyEntry(void __iomem *dwIoBase, unsigned short wKeyCtl, unsigned int uEntryIdx,
|
|
|
- unsigned int uKeyIdx, unsigned char *pbyAddr, u32 *pdwKey, unsigned char byLocalID);
|
|
|
+void MACvSetKeyEntry(void __iomem *dwIoBase, unsigned short wKeyCtl,
|
|
|
+ unsigned int uEntryIdx, unsigned int uKeyIdx,
|
|
|
+ unsigned char *pbyAddr, u32 *pdwKey,
|
|
|
+ unsigned char byLocalID);
|
|
|
void MACvDisableKeyEntry(void __iomem *dwIoBase, unsigned int uEntryIdx);
|
|
|
|
|
|
#endif /* __MAC_H__ */
|