[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190822131047.GE13020@lunn.ch>
Date: Thu, 22 Aug 2019 15:10:47 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marek BehĂșn <marek.behun@....cz>
Cc: netdev@...r.kernel.org, Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>
Subject: Re: [PATCH net-next 03/10] net: dsa: mv88e6xxx: move hidden
registers operations in own file
On Thu, Aug 22, 2019 at 01:27:17AM +0200, Marek BehĂșn wrote:
> This patch moves the functions operating on the hidden debug registers
> into it's own file, hidden.c.
Humm, actually...
These are in the port register space. Maybe it would be better to move
them into port.c/port.h?
What you really need is that they have global scope within the driver
so you can call them. So add the functions definitions to port.h.
Vivien, what do you think?
Andrew
Powered by blists - more mailing lists