Re: [PATCH] Staging: vt6655: removed redundant comments from mac.h

2014-07-27 Thread Greg KH
On Fri, Jul 25, 2014 at 07:45:53PM +0300, Igor Bezukh wrote:
 Removed redundant comments from mac.h header file.
 
 Signed-off-by: Igor Bezukh igb...@gmail.com
 ---
  drivers/staging/vt6655/mac.h |  388 
 --
  1 file changed, 188 insertions(+), 200 deletions(-)

Also doesn't apply :(
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] Staging: vt6655: removed redundant comments from mac.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from mac.h header file.

Signed-off-by: Igor Bezukh igb...@gmail.com
---
 drivers/staging/vt6655/mac.h |  388 --
 1 file changed, 188 insertions(+), 200 deletions(-)

diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h
index 7333b8b..e417742 100644
--- a/drivers/staging/vt6655/mac.h
+++ b/drivers/staging/vt6655/mac.h
@@ -38,7 +38,6 @@
 #include tmacro.h
 #include upc.h
 
-/*-  Export Definitions -*/
 //
 // Registers in the MAC
 //
@@ -72,14 +71,14 @@
 #define MAC_REG_TMCTL1  0x19
 #define MAC_REG_TMDATA0 0x1C
 // MAC Parameter related
-#define MAC_REG_LRT 0x20//
-#define MAC_REG_SRT 0x21//
-#define MAC_REG_SIFS0x22//
-#define MAC_REG_DIFS0x23//
-#define MAC_REG_EIFS0x24//
-#define MAC_REG_SLOT0x25//
-#define MAC_REG_BI  0x26//
-#define MAC_REG_CWMAXMIN0   0x28//
+#define MAC_REG_LRT 0x20
+#define MAC_REG_SRT 0x21
+#define MAC_REG_SIFS0x22
+#define MAC_REG_DIFS0x23
+#define MAC_REG_EIFS0x24
+#define MAC_REG_SLOT0x25
+#define MAC_REG_BI  0x26
+#define MAC_REG_CWMAXMIN0   0x28
 #define MAC_REG_LINKOFFTOTM 0x2A
 #define MAC_REG_SWTMOT  0x2B
 #define MAC_REG_MIBCNTR 0x2C
@@ -88,25 +87,25 @@
 #define MAC_REG_ACKFAILCNT  0x2E
 #define MAC_REG_FCSERRCNT   0x2F
 // TSF Related
-#define MAC_REG_TSFCNTR 0x30//
-#define MAC_REG_NEXTTBTT0x38//
-#define MAC_REG_TSFOFST 0x40//
-#define MAC_REG_TFTCTL  0x48//
+#define MAC_REG_TSFCNTR 0x30
+#define MAC_REG_NEXTTBTT0x38
+#define MAC_REG_TSFOFST 0x40
+#define MAC_REG_TFTCTL  0x48
 // WMAC Control/Status Related
-#define MAC_REG_ENCFG   0x4C//
-#define MAC_REG_PAGE1SEL0x4F//
-#define MAC_REG_CFG 0x50//
-#define MAC_REG_TEST0x52//
-#define MAC_REG_HOSTCR  0x54//
-#define MAC_REG_MACCR   0x55//
-#define MAC_REG_RCR 0x56//
-#define MAC_REG_TCR 0x57//
-#define MAC_REG_IMR 0x58//
+#define MAC_REG_ENCFG   0x4C
+#define MAC_REG_PAGE1SEL0x4F
+#define MAC_REG_CFG 0x50
+#define MAC_REG_TEST0x52
+#define MAC_REG_HOSTCR  0x54
+#define MAC_REG_MACCR   0x55
+#define MAC_REG_RCR 0x56
+#define MAC_REG_TCR 0x57
+#define MAC_REG_IMR 0x58
 #define MAC_REG_ISR 0x5C
 // Power Saving Related
-#define MAC_REG_PSCFG   0x60//
-#define MAC_REG_PSCTL   0x61//
-#define MAC_REG_PSPWRSIG0x62//
+#define MAC_REG_PSCFG   0x60
+#define MAC_REG_PSCTL   0x61
+#define MAC_REG_PSPWRSIG0x62
 #define MAC_REG_BBCR13  0x63
 #define MAC_REG_AIDATIM 0x64
 #define MAC_REG_PWBT0x66
@@ -115,30 +114,30 @@
 #define MAC_REG_SYNSPACCNT  0x6A
 #define MAC_REG_WAKSYNOPT   0x6B
 // Baseband/IF Control Group
-#define MAC_REG_BBREGCTL0x6C//
+#define MAC_REG_BBREGCTL0x6C
 #define MAC_REG_CHANNEL 0x6D
 #define MAC_REG_BBREGADR0x6E
 #define MAC_REG_BBREGDATA   0x6F
-#define MAC_REG_IFREGCTL0x70//
-#define MAC_REG_IFDATA  0x71//
-#define MAC_REG_ITRTMSET0x74//
+#define MAC_REG_IFREGCTL0x70
+#define MAC_REG_IFDATA  0x71
+#define MAC_REG_ITRTMSET0x74
 #define MAC_REG_PAPEDELAY   0x77
-#define MAC_REG_SOFTPWRCTL  0x78//
-#define MAC_REG_GPIOCTL00x7A//
-#define MAC_REG_GPIOCTL10x7B//
+#define MAC_REG_SOFTPWRCTL  0x78
+#define MAC_REG_GPIOCTL00x7A
+#define MAC_REG_GPIOCTL10x7B
 
 // MAC DMA Related Group
-#define MAC_REG_TXDMACTL0   0x7C//
-#define MAC_REG_TXDMAPTR0   0x80//
-#define MAC_REG_AC0DMACTL   0x84//
-#define MAC_REG_AC0DMAPTR   0x88//
-#define MAC_REG_BCNDMACTL   0x8C//
-#define MAC_REG_BCNDMAPTR   0x90//
-#define MAC_REG_RXDMACTL0   0x94//
-#define MAC_REG_RXDMAPTR0   0x98//
-#define MAC_REG_RXDMACTL1   0x9C//
-#define MAC_REG_RXDMAPTR1   0xA0//
-#define MAC_REG_SYNCDMACTL  0xA4//
+#define MAC_REG_TXDMACTL0   0x7C
+#define MAC_REG_TXDMAPTR0   0x80
+#define MAC_REG_AC0DMACTL   0x84
+#define MAC_REG_AC0DMAPTR   0x88
+#define MAC_REG_BCNDMACTL   0x8C
+#define MAC_REG_BCNDMAPTR   0x90
+#define MAC_REG_RXDMACTL0   0x94
+#define MAC_REG_RXDMAPTR0   0x98
+#define MAC_REG_RXDMACTL1   0x9C
+#define MAC_REG_RXDMAPTR1   0xA0
+#define MAC_REG_SYNCDMACTL  0xA4
 #define MAC_REG_SYNCDMAPTR  0xA8
 #define MAC_REG_ATIMDMACTL  0xAC
 #define MAC_REG_ATIMDMAPTR  0xB0
@@ -158,7 +157,6 @@
 #define MAC_REG_WAKE128_2   0xE4
 #define MAC_REG_WAKE128_3   0xF4
 
-/// Page 1 ///
 #define MAC_REG_CRC_128_0   0x04
 #define MAC_REG_CRC_128_1   0x06
 #define MAC_REG_CRC_128_2   0x08
@@ -219,20 +217,20