From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 30 Apr 2020 16:47:54 -0600 Subject: [PATCH 7/8] net: dwc_eth_qos: Export common struct and interface at head file In-Reply-To: <20200430104502.31126-1-david.wu@rock-chips.com> References: <20200430103656.29728-1-david.wu@rock-chips.com> <20200430104502.31126-1-david.wu@rock-chips.com> Message-ID: <592b7ab0-da62-a9f8-89b5-6e5596c20724@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/30/20 4:45 AM, David Wu wrote: > Open structure data and interface, so that Soc using dw_eth_qos > controller can reference. This shouldn't be necessary; nothing outside of this driver should need access to the registers. At most, perhaps implement some additional functions so that other code can call into the driver to perform specific actions. However, even that's probably not a good idea.