Searched hist:"80721 e7fa68f914a21b2685a01399b3aa80ac116" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.h | diff 80721e7fa68f914a21b2685a01399b3aa80ac116 Thu Jul 14 16:44:52 CDT 2016 Philippe Reynes <tremyfr@gmail.com> net: ethernet: pasemi_mac: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy 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> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pasemi_mac_ethtool.c | diff 80721e7fa68f914a21b2685a01399b3aa80ac116 Thu Jul 14 16:44:52 CDT 2016 Philippe Reynes <tremyfr@gmail.com> net: ethernet: pasemi_mac: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy 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> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pasemi_mac.c | diff 80721e7fa68f914a21b2685a01399b3aa80ac116 Thu Jul 14 16:44:52 CDT 2016 Philippe Reynes <tremyfr@gmail.com> net: ethernet: pasemi_mac: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy 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> Signed-off-by: David S. Miller <davem@davemloft.net>
|