Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1459717
| From | Simon Horman <horms@verge.net.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] net: ethernet: renesas: sh_eth: use phydev from struct net_device |
| Date | 2016-08-10 21:50 +0200 |
| Message-ID | <s4HFM-12V-41@gated-at.bofh.it> (permalink) |
| References | <s4nnH-4Yg-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[CC linux-sh as some of those boards use this driver] On Wed, Aug 10, 2016 at 12:04:48AM +0200, Philippe Reynes wrote: > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy_dev in the private structure, and update the driver to use the > one contained in struct net_device. > > Signed-off-by: Philippe Reynes <tremyfr@gmail.com> I have looked over this and it seems good to me. I have also tested it on the r8a7790/Lager board and it appears to work. Tested-by: Simon Horman <horms+renesas@verge.net.au>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] net: ethernet: renesas: sh_eth: use phydev from struct net_device Philippe Reynes <tremyfr@gmail.com> - 2016-08-10 00:10 +0200 Re: [PATCH 1/2] net: ethernet: renesas: sh_eth: use phydev from struct net_device Simon Horman <horms@verge.net.au> - 2016-08-10 21:50 +0200
csiph-web