[U-Boot] [PATCH v2 2/6] net: e1000: Prepare for driver model conversion
Joe Hershberger
joe.hershberger at gmail.com
Tue Aug 11 17:57:35 CEST 2015
Hi Simon,
On Tue, Aug 11, 2015 at 8:39 AM, Simon Glass <sjg at chromium.org> wrote:
> Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid
> using it in the driver unless necessary. Most of the time it is better to
> pass the private driver pointer anyway.
>
> Also refactor the code so that code that the driver model implementation
> will share are available in functions that can be called. Add stubs where
> necessary.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
*Include list this time.
More information about the U-Boot
mailing list