net/ibm/emac: wrong emac_calc_base call was used by typo
Subsystems (2)
PATCH 1/2 net/ibm/emac: wrong emac_calc_base call was used by typo
__emac_calc_base_mr1 was used instead of __emac4_calc_base_mr1 by copy-paste mistake for emac4syn.
--- drivers/net/ethernet/ibm/emac/core.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/ibm/emac/core.c +3 -3
@@ -494,9 +494,6 @@ static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_scase 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
Quoted 5 lines · CEST Ivan Mikhaylov
__emac_calc_base_mr1was used instead of__emac4_calc_base_mr1by copy-paste mistake for emac4syn.Fixes 45d6e545505fd32edb812f085be7de45b6a5c0af ("net/ibm/emac: add 8192 rx/tx fifo size")Signed-off-by Ivan Mikhaylov <[email protected]>
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
Quoted 5 lines
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.