[PATCH v2 1/2] net: phy: add uapi/linux/mdio.h from kernel for MDIO MMD access
Sascha Hauer
s.hauer at pengutronix.de
Sun Jul 5 10:24:32 EDT 2020
Hi Ahmad,
On Thu, Jul 02, 2020 at 01:58:10PM +0200, Ahmad Fatoum wrote:
> Hello Sascha,
>
> On 6/30/20 1:06 PM, Michael Grzeschik wrote:
> > The headerfile is used in the kernel for access of MDIO Managed Devices
> > (MMD) indirect access. Some drivers already use those device addresses.
> > We add the headerfile from the kernel and change the current users to
> > use the defines instead
> >
> > Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> > Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
> >
> > ---
> > v1 -> v2: - moved the header file from uapi one to include/linux
> >
> > drivers/net/phy/dp83867.c | 3 +-
> > drivers/net/phy/micrel.c | 5 +-
> > include/linux/mdio.h | 327 ++++++++++++++++++++++++++++++++++++++
>
> a626211f3d36a in upstream/next lacks the <linux/mdio.h> header.
> Can you take a look?
One of my classic mistakes. The patch didn't apply cleanly, I then
applied it manually and only git added the changed files, but not the
new ones.
Fixed, thanks for noting.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list