Commit b5aa3f17 authored by Emrys Bayliss's avatar Emrys Bayliss Committed by Greg Kroah-Hartman

Staging: vt6655: Checkpatch fix: unnecessary whitespace

This patch fixes the following checkpatch.pl errors in mac.h:
ERROR: space prohibited before that ',' (ctx:WxW)
Signed-off-by: default avatarEmrys Bayliss <emrys@paradise.net.nz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 53d484b1
...@@ -888,7 +888,7 @@ do { \ ...@@ -888,7 +888,7 @@ do { \
VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1) VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1)
#define MACvReadMIBCounter(dwIoBase, pdwCounter) \ #define MACvReadMIBCounter(dwIoBase, pdwCounter) \
VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR , pdwCounter) VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR, pdwCounter)
#define MACvPwrEvntDisable(dwIoBase) \ #define MACvPwrEvntDisable(dwIoBase) \
VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000) VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000)
...@@ -896,7 +896,7 @@ do { \ ...@@ -896,7 +896,7 @@ do { \
#define MACvEnableProtectMD(dwIoBase) \ #define MACvEnableProtectMD(dwIoBase) \
do { \ do { \
unsigned long dwOrgValue; \ unsigned long dwOrgValue; \
VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue); \ VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue); \
dwOrgValue = dwOrgValue | EnCFG_ProtectMd; \ dwOrgValue = dwOrgValue | EnCFG_ProtectMd; \
VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \ VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \
} while (0) } while (0)
...@@ -904,7 +904,7 @@ do { \ ...@@ -904,7 +904,7 @@ do { \
#define MACvDisableProtectMD(dwIoBase) \ #define MACvDisableProtectMD(dwIoBase) \
do { \ do { \
unsigned long dwOrgValue; \ unsigned long dwOrgValue; \
VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue); \ VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue); \
dwOrgValue = dwOrgValue & ~EnCFG_ProtectMd; \ dwOrgValue = dwOrgValue & ~EnCFG_ProtectMd; \
VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \ VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \
} while (0) } while (0)
...@@ -912,7 +912,7 @@ do { \ ...@@ -912,7 +912,7 @@ do { \
#define MACvEnableBarkerPreambleMd(dwIoBase) \ #define MACvEnableBarkerPreambleMd(dwIoBase) \
do { \ do { \
unsigned long dwOrgValue; \ unsigned long dwOrgValue; \
VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue); \ VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue); \
dwOrgValue = dwOrgValue | EnCFG_BarkerPream; \ dwOrgValue = dwOrgValue | EnCFG_BarkerPream; \
VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \ VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \
} while (0) } while (0)
...@@ -920,7 +920,7 @@ do { \ ...@@ -920,7 +920,7 @@ do { \
#define MACvDisableBarkerPreambleMd(dwIoBase) \ #define MACvDisableBarkerPreambleMd(dwIoBase) \
do { \ do { \
unsigned long dwOrgValue; \ unsigned long dwOrgValue; \
VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue); \ VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue); \
dwOrgValue = dwOrgValue & ~EnCFG_BarkerPream; \ dwOrgValue = dwOrgValue & ~EnCFG_BarkerPream; \
VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \ VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \
} while (0) } while (0)
...@@ -928,7 +928,7 @@ do { \ ...@@ -928,7 +928,7 @@ do { \
#define MACvSetBBType(dwIoBase, byTyp) \ #define MACvSetBBType(dwIoBase, byTyp) \
do { \ do { \
unsigned long dwOrgValue; \ unsigned long dwOrgValue; \
VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue); \ VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue); \
dwOrgValue = dwOrgValue & ~EnCFG_BBType_MASK; \ dwOrgValue = dwOrgValue & ~EnCFG_BBType_MASK; \
dwOrgValue = dwOrgValue | (unsigned long)byTyp; \ dwOrgValue = dwOrgValue | (unsigned long)byTyp; \
VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \ VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment