summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/teranetics.c
Commit message (Collapse)AuthorAgeFilesLines
* net: phy: add missing phy driver featuresCamelia Groza2019-01-171-0/+1
| | | | | | | | | | The phy drivers for CS4340 and TN2020 are missing their features attributes. Add them. Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap") Reported-by: Scott Wood <oss@buserror.net> Signed-off-by: Camelia Groza <camelia.groza@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: phy: teranetics: Utilize generic functionsFlorian Fainelli2018-03-011-27/+5
| | | | | | | | Update teranetics_aneg_done() to use genphy_c45_aneg_done() instead of duplicating that code, and switch to gen10g_* functions where appropriate instead of maintaining identical copies doing nothing. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* phy: Centralize setting driver module ownerAndrew Lunn2016-01-071-1/+0
| | | | | | | | | | Rather than have each driver set the driver owner field, do it once in the core code. This will also help with later changes, when the device structure will move. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: phy: aquantia/teranetics: Convert to use module_phy_driver macroAxel Lin2015-10-141-14/+1
| | | | | | | Use module_phy_driver macro to simplify the code a bit. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: phy: fix auto negotiation checking for teraneticsShaohui Xie2015-07-271-2/+9
| | | | | | | | When using fiber port, the phy cannot report it's auto negotiation state, driver should always report auto negotiation is done when using fiber port. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* phylib: add driver for Teranetics TN2020Shaohui Xie2015-07-201-0/+128
Teranetics TN2020 is compliant with IEEE 802.3an 10 Gigabit. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud