linux-mips
[Top] [All Lists]

[2.4 PATCH] mips/mips64 mv64340 parenthesis fixes

To: ralf@linux-mips.org
Subject: [2.4 PATCH] mips/mips64 mv64340 parenthesis fixes
From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Mon, 4 Dec 2006 10:36:21 +0100
Cc: linux-mips@linux-mips.org, Willy Tarreau <wtarreau@hera.kernel.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.5
Hello,

        This patch fixes parenthesis mv64340 stuff in both mips and mips64 code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 include/asm-mips/mv64340.h   |    2 +-
 include/asm-mips64/mv64340.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -upr linux-2.4.34-pre6-a/include/asm-mips/mv64340.h 
linux-2.4.34-pre6-b/include/asm-mips/mv64340.h
--- linux-2.4.34-pre6-a/include/asm-mips/mv64340.h      2003-08-25 
13:44:43.000000000 +0200
+++ linux-2.4.34-pre6-b/include/asm-mips/mv64340.h      2006-12-01 
11:56:57.000000000 +0100
@@ -718,7 +718,7 @@
 #define MV64340_ETH_RX_FIFO_URGENT_THRESHOLD_REG(port)             (0x2470 + 
(port<<10))
 #define MV64340_ETH_TX_FIFO_URGENT_THRESHOLD_REG(port)             (0x2474 + 
(port<<10))
 #define MV64340_ETH_RX_MINIMAL_FRAME_SIZE_REG(port)                (0x247c + 
(port<<10))
-#define MV64340_ETH_RX_DISCARDED_FRAMES_COUNTER(port)              (0x2484 + 
(port<<10)
+#define MV64340_ETH_RX_DISCARDED_FRAMES_COUNTER(port)              (0x2484 + 
(port<<10))
 #define MV64340_ETH_PORT_DEBUG_0_REG(port)                         (0x248c + 
(port<<10))
 #define MV64340_ETH_PORT_DEBUG_1_REG(port)                         (0x2490 + 
(port<<10))
 #define MV64340_ETH_PORT_INTERNAL_ADDR_ERROR_REG(port)             (0x2494 + 
(port<<10))
diff -upr linux-2.4.34-pre6-a/include/asm-mips64/mv64340.h 
linux-2.4.34-pre6-b/include/asm-mips64/mv64340.h
--- linux-2.4.34-pre6-a/include/asm-mips64/mv64340.h    2003-08-25 
13:44:44.000000000 +0200
+++ linux-2.4.34-pre6-b/include/asm-mips64/mv64340.h    2006-12-01 
12:01:03.000000000 +0100
@@ -718,7 +718,7 @@
 #define MV64340_ETH_RX_FIFO_URGENT_THRESHOLD_REG(port)             (0x2470 + 
(port<<10))
 #define MV64340_ETH_TX_FIFO_URGENT_THRESHOLD_REG(port)             (0x2474 + 
(port<<10))
 #define MV64340_ETH_RX_MINIMAL_FRAME_SIZE_REG(port)                (0x247c + 
(port<<10))
-#define MV64340_ETH_RX_DISCARDED_FRAMES_COUNTER(port)              (0x2484 + 
(port<<10)
+#define MV64340_ETH_RX_DISCARDED_FRAMES_COUNTER(port)              (0x2484 + 
(port<<10))
 #define MV64340_ETH_PORT_DEBUG_0_REG(port)                         (0x248c + 
(port<<10))
 #define MV64340_ETH_PORT_DEBUG_1_REG(port)                         (0x2490 + 
(port<<10))
 #define MV64340_ETH_PORT_INTERNAL_ADDR_ERROR_REG(port)             (0x2494 + 
(port<<10))


-- 
Regards,

        Mariusz Kozlowski

<Prev in Thread] Current Thread [Next in Thread>