lkml.org 
[lkml]   [2022]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [net-next RFC PATCH 4/4] net: dsa: qca8k: split qca8k in common and 8xxx specific code
On Sat, Jul 16, 2022 at 07:49:58PM +0200, Christian Marangi wrote:
> The qca8k family reg structure is also used in the internal ipq40xx
> switch. Split qca8k common code from specific code for future
> implementation of ipq40xx internal switch based on qca8k.
>
> While at it also fix minor wrong format for comments and reallign
> function as we had to drop static declaration.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> drivers/net/dsa/qca/Makefile | 1 +
> drivers/net/dsa/qca/{qca8k.c => qca8k-8xxx.c} | 1210 +----------------
> drivers/net/dsa/qca/qca8k-common.c | 1174 ++++++++++++++++
> drivers/net/dsa/qca/qca8k.h | 58 +
> 4 files changed, 1245 insertions(+), 1198 deletions(-)
> rename drivers/net/dsa/qca/{qca8k.c => qca8k-8xxx.c} (64%)
> create mode 100644 drivers/net/dsa/qca/qca8k-common.c

Sorry, this patch is very difficult to review for correctness.
Could you try to split it to multiple individual function movements?

\
 
 \ /
  Last update: 2022-07-18 19:22    [W:0.112 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site