diff mbox

sunhme: fix up GREG_STAT and GREG_IMASK register offsets

Message ID 1501172760-26293-1-git-send-email-mark.cave-ayland@ilande.co.uk
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Mark Cave-Ayland July 27, 2017, 4:26 p.m. UTC
Update the values to match those from the STP2002QFP documentation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 drivers/net/ethernet/sun/sunhme.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

David Miller July 31, 2017, 11:23 p.m. UTC | #1
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Date: Thu, 27 Jul 2017 17:26:00 +0100

> Update the values to match those from the STP2002QFP documentation.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Applied to the networking GIT tree, you should have posted this to
netdev@vger.kernel.org not (just) the sparc list.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Mark Cave-Ayland Aug. 1, 2017, 7:22 p.m. UTC | #2
On 01/08/17 00:23, David Miller wrote:

> From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> Date: Thu, 27 Jul 2017 17:26:00 +0100
> 
>> Update the values to match those from the STP2002QFP documentation.
>>
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> 
> Applied to the networking GIT tree, you should have posted this to
> netdev@vger.kernel.org not (just) the sparc list.

Ah sorry my bad, noted for future reference. Thanks a lot for queuing
the patch, it will be interesting to see what happens when someone tries
it on real hardware...


ATB,

Mark.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/ethernet/sun/sunhme.h b/drivers/net/ethernet/sun/sunhme.h
index 4a8d5b1..0d3bb1e 100644
--- a/drivers/net/ethernet/sun/sunhme.h
+++ b/drivers/net/ethernet/sun/sunhme.h
@@ -13,9 +13,9 @@ 
 /* Happy Meal global registers. */
 #define GREG_SWRESET	0x000UL	/* Software Reset  */
 #define GREG_CFG	0x004UL	/* Config Register */
-#define GREG_STAT	0x108UL	/* Status          */
-#define GREG_IMASK	0x10cUL	/* Interrupt Mask  */
-#define GREG_REG_SIZE	0x110UL
+#define GREG_STAT	0x100UL	/* Status          */
+#define GREG_IMASK	0x104UL	/* Interrupt Mask  */
+#define GREG_REG_SIZE	0x108UL
 
 /* Global reset register. */
 #define GREG_RESET_ETX         0x01