All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo
@ 2018-08-27 16:43 Ivan Mikhaylov
  2018-08-28 19:35 ` Christian Lamparter
  2018-08-31 10:18 ` Ivan Mikhaylov1
  0 siblings, 2 replies; 3+ messages in thread
From: Ivan Mikhaylov @ 2018-08-27 16:43 UTC (permalink / raw)
  To: netdev; +Cc: David S . Miller, Christian Lamparter, linux-kernel

__emac_calc_base_mr1 was used instead of __emac4_calc_base_mr1
by copy-paste mistake for emac4syn.

Fixes: 45d6e545505fd32edb812f085be7de45b6a5c0af ("net/ibm/emac: add 8192 rx/tx fifo size")
Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>
---
 drivers/net/ethernet/ibm/emac/core.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c
index 354c098..3726646 100644
--- a/drivers/net/ethernet/ibm/emac/core.c
+++ b/drivers/net/ethernet/ibm/emac/core.c
@@ -494,9 +494,6 @@ static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_s
 	case 16384:
 		ret |= EMAC_MR1_RFS_16K;
 		break;
-	case 8192:
-		ret |= EMAC4_MR1_RFS_8K;
-		break;
 	case 4096:
 		ret |= EMAC_MR1_RFS_4K;
 		break;
@@ -537,6 +534,9 @@ static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_
 	case 16384:
 		ret |= EMAC4_MR1_RFS_16K;
 		break;
+	case 8192:
+		ret |= EMAC4_MR1_RFS_8K;
+		break;
 	case 4096:
 		ret |= EMAC4_MR1_RFS_4K;
 		break;
--
1.7.1


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

* Re: [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo
  2018-08-27 16:43 [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo Ivan Mikhaylov
@ 2018-08-28 19:35 ` Christian Lamparter
  2018-08-31 10:18 ` Ivan Mikhaylov1
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Lamparter @ 2018-08-28 19:35 UTC (permalink / raw)
  To: Ivan Mikhaylov; +Cc: netdev, David S . Miller, linux-kernel

On Monday, August 27, 2018 6:43:35 PM CEST Ivan Mikhaylov wrote:
> __emac_calc_base_mr1 was used instead of __emac4_calc_base_mr1
> by copy-paste mistake for emac4syn.
> 
> Fixes: 45d6e545505fd32edb812f085be7de45b6a5c0af ("net/ibm/emac: add 8192 rx/tx fifo size")
> Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>

Always nice to see :) .

I do have a ot question though:
Since you are working for IBM and probably have access to all the
wonderful docs and the working hardware: Would you consider to be
the emac/emac4/emac-sync maintainer? From what I can parse from
the /MAINTAINERS file, there isn't currently anyone listed.

Thanks,
Christian




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

* Re: [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo
  2018-08-27 16:43 [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo Ivan Mikhaylov
  2018-08-28 19:35 ` Christian Lamparter
@ 2018-08-31 10:18 ` Ivan Mikhaylov1
  1 sibling, 0 replies; 3+ messages in thread
From: Ivan Mikhaylov1 @ 2018-08-31 10:18 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: netdev, David S . Miller, linux-kernel

>I do have a ot question though:
>Since you are working for IBM and probably have access to all the
>wonderful docs and the working hardware: Would you consider to be
>the emac/emac4/emac-sync maintainer? From what I can parse from
>the /MAINTAINERS file, there isn't currently anyone listed.

Unfortunately, I can't take this obligation due to some circumstances
in the future. 



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

end of thread, other threads:[~2018-08-31 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-27 16:43 [PATCH 1/2] net/ibm/emac: wrong emac_calc_base call was used by typo Ivan Mikhaylov
2018-08-28 19:35 ` Christian Lamparter
2018-08-31 10:18 ` Ivan Mikhaylov1

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.