summaryrefslogtreecommitdiff
path: root/drivers/staging/et131x/et1310_address_map.h
diff options
context:
space:
mode:
authorMichael Sprecher <sprecher.m@gmail.com>2010-03-10 13:15:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:35:35 -0700
commitf3fd4cd59132ff81be9507762d00afa9445827b6 (patch)
tree2805814652455d1ac2b311280e8c6e1da313f89c /drivers/staging/et131x/et1310_address_map.h
parent67a7b3788cd2b9f63a6cfe68e9e937c25709f053 (diff)
Staging: et131x: fix most coding style issues in et131x
This is a patch to the et131x driver that fixes up almost all coding style issues Signed-off-by: Michael Sprecher <sprecher.m@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_address_map.h')
-rw-r--r--drivers/staging/et131x/et1310_address_map.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h
index ea746ba41faf..e6c8cb3828e9 100644
--- a/drivers/staging/et131x/et1310_address_map.h
+++ b/drivers/staging/et131x/et1310_address_map.h
@@ -117,7 +117,7 @@
/*
* Software reset reg at address 0x0028
- * 0: txdma_sw_reset
+ * 0: txdma_sw_reset
* 1: rxdma_sw_reset
* 2: txmac_sw_reset
* 3: rxmac_sw_reset
@@ -1052,7 +1052,7 @@ typedef struct _RXMAC_t { /* Location: */
* 4-0: register
*/
-#define MII_ADDR(phy,reg) ((phy) << 8 | (reg))
+#define MII_ADDR(phy, reg) ((phy) << 8 | (reg))
/*
* structure for MII Management Control reg in mac address map.
@@ -1249,8 +1249,7 @@ typedef struct _MAC_t { /* Location: */
/*
* MAC STATS Module of JAGCore Address Mapping
*/
-struct macstat_regs
-{ /* Location: */
+struct macstat_regs { /* Location: */
u32 pad[32]; /* 0x6000 - 607C */
/* Tx/Rx 0-64 Byte Frame Counter */