All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets
@ 2017-07-27 16:26 Mark Cave-Ayland
  2017-07-31 23:23 ` David Miller
  2017-08-01 19:22 ` Mark Cave-Ayland
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Cave-Ayland @ 2017-07-27 16:26 UTC (permalink / raw)
  To: sparclinux

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(-)

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
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets
  2017-07-27 16:26 [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets Mark Cave-Ayland
@ 2017-07-31 23:23 ` David Miller
  2017-08-01 19:22 ` Mark Cave-Ayland
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-07-31 23:23 UTC (permalink / raw)
  To: sparclinux

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets
  2017-07-27 16:26 [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets Mark Cave-Ayland
  2017-07-31 23:23 ` David Miller
@ 2017-08-01 19:22 ` Mark Cave-Ayland
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Cave-Ayland @ 2017-08-01 19:22 UTC (permalink / raw)
  To: sparclinux

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-01 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27 16:26 [PATCH] sunhme: fix up GREG_STAT and GREG_IMASK register offsets Mark Cave-Ayland
2017-07-31 23:23 ` David Miller
2017-08-01 19:22 ` Mark Cave-Ayland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.