aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-19net: phy: fix phy_read_poll_timeout argument type in genphy_loopbackNikita Kiryushin1-2/+2
2024-03-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-03-08net: phy: fix phy_get_internal_delay accessing an empty arrayKévin L'hôpital1-1/+1
2024-03-05net: phy: Add phy_support_eee() indicating MAC support EEEAndrew Lunn1-0/+28
2024-02-17net: phy: add PHY_EEE_CAP2_FEATURESHeiner Kallweit1-0/+11
2024-02-15net: mdio_bus: make mdio_bus_type constRicardo B. Marliere1-2/+1
2024-02-10net: phy: provide whether link has changed in c37_read_statusChristian Marangi1-2/+9
2024-02-10net: phy: add devm/of_phy_package_join helperChristian Marangi1-0/+96
2024-02-07net: phy: c45 scanning: Don't consider -ENODEV fatalAndrew Lunn1-2/+6
2024-02-06net: phy: add helper phy_advertise_eee_allHeiner Kallweit1-0/+16
2024-02-06net: phy: constify phydev->drvRussell King (Oracle)1-3/+3
2024-01-31net: phy: phy_device: Prevent nullptr exceptions on ISRAndre Werner1-5/+8
2024-01-26net: phy: add support for PHY LEDs polarity modesChristian Marangi1-0/+16
2024-01-04Revert "Introduce PHY listing and link_topology tracking"Jakub Kicinski1-55/+0
2024-01-01net: phy: add helpers to handle sfp phy connect/disconnectMaxime Chevallier1-0/+40
2024-01-01net: sfp: pass the phy_device when disconnecting an sfp module's PHYMaxime Chevallier1-0/+8
2024-01-01net: phy: Introduce ethernet link topology representationMaxime Chevallier1-0/+7
2023-12-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-2/+4
2023-12-17net: phy: extend PHY package API to support multiple global addressChristian Marangi1-16/+19
2023-12-15net: phy: skip LED triggers on PHYs on SFP modulesDaniel Golle1-2/+4
2023-11-30net: phy: mdio_device: Reset device only when necessaryAndrew Halaney1-0/+1
2023-11-27net: phy: add possible interfacesRussell King (Oracle)1-0/+2
2023-11-24net: phy: correctly check soft_reset ret ONLY if defined for PHYChristian Marangi1-5/+4
2023-11-18net: partial revert of the "Make timestamping selectable: seriesJakub Kicinski1-37/+0
2023-11-18net: Change the API of PHY default timestamp to MACKory Maincent1-0/+37
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-11/+2
2023-08-13net: phy: fix IRQ-based wake-on-lan over hibernate / power offRussell King (Oracle)1-11/+2
2023-08-10net: phy: phy_device: Call into the PHY driver to set LED offloadAndrew Lunn1-0/+68
2023-08-04net: phy: move marking PHY on SFP module into SFP codeRussell King (Oracle)1-2/+0
2023-08-02net: phy: provide phylib stubs for hardware timestamping operationsVladimir Oltean1-0/+19
2023-08-02net: transfer rtnl_lock() requirement from ethtool_set_ethtool_phy_ops() to c...Vladimir Oltean1-0/+7
2023-07-20net: phy: prevent stale pointer dereference in phy_init()Vladimir Oltean1-7/+14
2023-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+14
2023-06-18net: phy: Manual remove LEDs to ensure correct orderingAndrew Lunn1-1/+14
2023-05-22net: phy: add helpers for comparing phy IDsRussell King1-9/+7
2023-05-13net: phy: Allow drivers to always call into ->suspend()Florian Fainelli1-2/+3
2023-04-24net: phy: Fix reading LED reg propertyAlexander Stein1-1/+5
2023-04-20net: phy: fix circular LEDS_CLASS dependenciesArnd Bergmann1-1/+2
2023-04-19net: phy: phy_device: Call into the PHY driver to set LED blinkingAndrew Lunn1-0/+18
2023-04-19net: phy: phy_device: Call into the PHY driver to set LED brightnessAndrew Lunn1-3/+12
2023-04-19net: phy: Add a binding for PHY LEDsAndrew Lunn1-0/+76
2023-03-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-03-27net: phy: constify fwnode_get_phy_node() fwnode argumentRussell King (Oracle)1-1/+1
2023-03-15net: phy: update obsolete comment about PHY_STARTINGWolfram Sang1-3/+1
2023-03-06net: phylib: get rid of unnecessary lockingRussell King (Oracle)1-7/+1
2023-02-28net: phy: unlock on error in phy_probe()Dan Carpenter1-1/+1
2023-02-23net: phy: do not force EEE supportOleksij Rempel1-0/+19
2023-02-23net: phy: c45: add genphy_c45_an_config_eee_aneg() functionOleksij Rempel1-1/+1
2023-02-20net: phy: Read EEE abilities when using .featuresAndrew Lunn1-1/+3
2023-02-13net: phy: c22: migrate to genphy_c45_write_eee_adv()Oleksij Rempel1-1/+9
2023-02-13net: phy: add genphy_c45_read_eee_abilities() functionOleksij Rempel1-0/+16
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-01-30net: phy: fix null dereference in phy_attach_directColin Foster1-1/+1
2023-01-19net: phy: Decide on C45 capabilities based on presence of methodAndrew Lunn1-1/+1
2023-01-11drivers/net/phy: add connection between ethtool and phylib for PLCAPiergiorgio Beruto1-0/+3
2023-01-11drivers/net/phy: add the link modes for the 10BASE-T1S Ethernet PHYPiergiorgio Beruto1-0/+14
2023-01-10net: phy: allow a phy to opt-out of interrupt handlingMichael Walle1-0/+7
2022-11-30net: phy: Add link between phy dev and mac devXiaolei Wang1-0/+12
2022-11-28net: mdiobus: fix unbalanced node reference countYang Yingliang1-0/+1
2022-11-27net: phy: fix null-ptr-deref while probe() failedYang Yingliang1-0/+1
2022-10-03net: mdiobus: search for PSE nodes by parsing PHY nodes.Oleksij Rempel1-0/+2
2022-09-29net: phy: Convert to use sysfs_emit() APIsWang Yufen1-5/+5
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+6
2022-09-27net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()Lukas Wunner1-4/+6
2022-08-31net: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-22net: phy: Don't WARN for PHY_READY state in mdio_bus_phy_resume()Xiaolei Wang1-4/+4
2022-08-03net: phy: Warn about incorrect mdio_bus_phy_resume() stateFlorian Fainelli1-0/+6
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+23
2022-06-29net: phy: Don't trigger state machine while in suspendLukas Wunner1-0/+23
2022-06-19net: phy: use mii_bmcr_encode_fixed()Russell King (Oracle)1-15/+3
2022-05-01net: phy: Add 10BASE-T1L support in phy-c45Alexandru Tachici1-0/+1
2022-05-01ethtool: Add 10base-T1L link mode entryAlexandru Tachici1-1/+2
2022-04-28net: phy: Deduplicate interrupt disablement on PHY attachLukas Wunner1-4/+2
2022-03-08net: phy: exported the genphy_read_master_slave functionArun Ramadoss1-10/+9
2022-01-20phylib: fix potential use-after-freeMarek Behún1-3/+3
2021-10-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2021-10-09net: phy: Do not shutdown PHYs in READY stateFlorian Fainelli1-0/+3
2021-10-08net: phylib: ensure phy device drivers do not match by DTRussell King (Oracle)1-0/+10
2021-09-15Revert "net: phy: Uniform PHY driver access"Vladimir Oltean1-1/+3
2021-08-20net: phy: Uniform PHY driver accessGerhard Engleder1-3/+1
2021-08-20net: phy: Support set_loopback overrideGerhard Engleder1-5/+4
2021-07-20net: phy: add API to read 802.3-c45 IDsXu Liang1-0/+14
2021-06-16net: phy: fix formatting issues with bracesWenpeng Liang1-5/+4
2021-06-11net: mii_timestamper: check NULL in unregister_mii_timestamper()Calvin Johnson1-2/+1
2021-06-11net: phy: Introduce fwnode_get_phy_id()Calvin Johnson1-0/+21
2021-06-11net: phy: Introduce phy related fwnode functionsCalvin Johnson1-0/+62
2021-06-11net: phy: Introduce fwnode_mdio_find_device()Calvin Johnson1-0/+23
2021-06-10net: phy: probe for C45 PHYs that return PHY ID of zero in C22 spaceWong Vee Khee1-0/+12
2021-05-21net: phy: Fix inconsistent indentingJiapeng Chong1-1/+1
2021-04-20net: phy: genphy_loopback: add link speed configurationOleksij Rempel1-2/+26
2021-04-20net: phy: execute genphy_loopback() per default on all PHYsOleksij Rempel1-2/+5
2021-04-09net: phy: make PHY PM ops a no-op if MAC driver manages PHY PMHeiner Kallweit1-0/+6
2021-03-11net: phy: Expose phydev::dev_flags through sysfsFlorian Fainelli1-0/+11
2021-02-26net: phy: make mdio_bus_phy_suspend/resume as __maybe_unusedArnd Bergmann1-4/+2
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-36/+17
2021-02-16net: phy: Add is_on_sfp_module flag and phy_on_sfp helperRobert Hancock1-0/+2
2021-02-15net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPTHeiner Kallweit1-2/+2
2021-02-11net: phy: consider that suspend2ram may cut off PHY powerHeiner Kallweit1-36/+17
2021-02-11net: phy: introduce phydev->portMichael Walle1-0/+9
2021-01-07net: phy: replace mutex_is_locked with lockdep_assert_held in phylibHeiner Kallweit1-1/+1
2020-11-25net: phy: remove the .did_interrupt() and .ack_interrupt() callbackIoana Ciornei1-1/+1
2020-11-17net: phy: fix kernel-doc markupsMauro Carvalho Chehab1-1/+1
2020-11-17net: phy: don't duplicate driver name in phy_attached_printHeiner Kallweit1-8/+6
2020-11-05net: phy: add genphy_handle_interrupt_no_ack()Ioana Ciornei1-0/+13
2020-11-05net: phy: make .ack_interrupt() optionalIoana Ciornei1-1/+1
2020-11-05net: phy: add a shutdown procedureIoana Ciornei1-0/+8
2020-09-17net: phy: Avoid NPD upon phy_detach() when driver is unboundFlorian Fainelli1-1/+2
2020-09-10net: phy: call phy_disable_interrupts() in phy_attach_direct() insteadYoshihiro Shimoda1-4/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-08net: phy: fix memory leak in device-create error pathJohan Hovold1-4/+4
2020-07-22net: phy: fix check in get_phy_c45_idsVladimir Oltean1-2/+2
2020-07-17net: phy: continue searching for C45 MMDs even if first returned ffff:ffffVladimir Oltean1-1/+2
2020-07-08net: phy: Define PHY statistics ethtool_phy_opsFlorian Fainelli1-0/+3
2020-07-07net: phy: Register ethtool PHY operationsFlorian Fainelli1-0/+7
2020-07-07net: phy: Make phy_10gbit_fec_features_array staticAndrew Lunn1-2/+1
2020-07-07net: phy: Properly define genphy_c45_driverAndrew Lunn1-1/+0
2020-06-26net: phy: reset the PHY even if probe() is not implementedBartosz Golaszewski1-11/+12
2020-06-26net: phy: arrange headers in phy_device.c alphabeticallyBartosz Golaszewski1-15/+15
2020-06-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+8
2020-06-25net: phy: Add a helper to return the index for of the internal delayDan Murphy1-0/+99
2020-06-24net: phy: call phy_disable_interrupts() in phy_init_hw()Jisheng Zhang1-0/+4
2020-06-19net: phy: read MMD ID from all present MMDsRussell King1-0/+13
2020-06-19net: phy: split devices_in_packageRussell King1-3/+3
2020-06-19net: phy: set devices_in_package only after validationRussell King1-7/+9
2020-06-19net: phy: add support for probing MMDs >= 8 for devices-in-packageRussell King1-2/+38
2020-06-19net: phy: reword get_phy_device() kerneldocRussell King1-2/+11
2020-06-19net: phy: clean up get_phy_c22_id() invalid ID handlingRussell King1-6/+8
2020-06-19net: phy: clean up get_phy_c45_ids() failure handlingRussell King1-12/+10
2020-06-19net: phy: clean up PHY ID readingRussell King1-16/+9
2020-06-19net: phy: clean up cortina workaroundRussell King1-15/+13
2020-06-19net: phy: Check harder for errors in get_phy_id()Florian Fainelli1-2/+4
2020-05-26net: mdiobus: add clause 45 mdiobus accessorsRussell King1-12/+8
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+2
2020-05-18net: phy: simplify phy_link_change argumentsDoug Berger1-7/+5
2020-05-17net: phy: propagate an error back to the callers of phy_sfp_probeLeon Romanovsky1-2/+2
2020-05-07net: phy: fix less than zero comparison with unsigned variable valColin Ian King1-1/+1
2020-05-06ethtool: provide UAPI for PHY master/slave configuration.Oleksij Rempel1-0/+94
2020-05-06net: phy: add concept of shared storage for PHYsMichael Walle1-0/+138
2020-04-24net: phy: clear phydev->suspended after soft resetHeiner Kallweit1-1/+11
2020-04-24net: phy: remove genphy_no_soft_resetHeiner Kallweit1-1/+0
2020-04-24net: phy: make phy_suspend a no-op if PHY is suspended alreadyHeiner Kallweit1-0/+3
2020-03-26net: phy: don't touch suspended flag if there's no suspend/resume callbackHeiner Kallweit1-17/+15
2020-03-26net: phy: probe PHY drivers synchronouslyHeiner Kallweit1-0/+1
2020-03-23net: phy: use phy_read_poll_timeout() to simplify the codeDejin Zheng1-11/+5
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+5
2020-03-12net: phy: fix MDIO bus PM PHY resumingHeiner Kallweit1-1/+5
2020-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+6
2020-02-26net: phy: corrected the return value for genphy_check_and_restart_aneg and ge...Sudheesh Mavila1-3/+3
2020-02-23net: phy: Avoid multiple suspendsFlorian Fainelli1-2/+3
2020-02-19phy: avoid unnecessary link-up delay in polling modePetr Oros1-2/+3
2020-02-16net: add linkmode helper for setting flow control advertisementRussell King1-16/+1
2020-02-16net: add helpers to resolve negotiated flow controlRussell King1-0/+26
2020-01-14net: phy: Added IRQ print to phylink_bringup_phy()Florian Fainelli1-2/+10
2019-12-25net: mdio: of: Register discovered MII time stampers.Richard Cochran1-0/+3
2019-12-25net: Introduce a new MII time stamping interface.Richard Cochran1-0/+2
2019-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+4
2019-12-20net: phy: ensure that phy IDs are correctly typedRussell King1-4/+4
2019-12-19net: phy: provide and use genphy_read_status_fixed()Russell King1-16/+33
2019-12-19net: phy: add genphy_check_and_restart_aneg()Russell King1-17/+31
2019-12-19net: phy: remove redundant .aneg_done initialisersRussell King1-1/+0
2019-11-23net: phy: initialise phydev speed and duplex sanelyRussell King1-2/+2
2019-11-18net: phy: avoid matching all-ones clause 45 PHY IDsRussell King1-3/+6
2019-11-18net: phy: add core phylib sfp supportRussell King1-0/+66
2019-10-23net: phy: add support for clause 37 auto-negotiationHeiner Kallweit1-0/+139
2019-10-23net: phy: modify assignment to OR for dev_flags in phy_attach_directTao Ren1-1/+1
2019-10-16net: phy: Fix "link partner" information disappear issueYonglong Liu1-1/+10
2019-10-04net: phy: extract link partner advertisement readingRussell King1-25/+40
2019-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+11
2019-08-17net: phy: remove genphy_config_initHeiner Kallweit1-51/+0
2019-08-15net: phy: read MII_CTRL1000 in genphy_read_status only if neededHeiner Kallweit1-5/+6
2019-08-13net: phy: consider AN_RESTART status when reading link statusHeiner Kallweit1-1/+11
2019-08-11net: phy: prepare phylib to deal with PHY's extending Clause 22Heiner Kallweit1-15/+12
2019-08-11net: phy: simplify genphy_config_advert by using the linkmode_adv_to_xxx_t fu...Heiner Kallweit1-16/+6
2019-08-02net: phy: fix race in genphy_update_linkHeiner Kallweit1-0/+6
2019-07-12net: phy: make exported variables non-staticDenis Efremov1-3/+3
2019-06-14net: phy: Add more 1000BaseX support detectionRobert Hancock1-0/+2
2019-06-06net: phy: Add detection of 1000BaseX link mode supportRobert Hancock1-0/+3
2019-05-30net: phy: enable interrupts when PHY is attached alreadyHeiner Kallweit1-1/+1
2019-05-29net: phy: Add phy_standalone sysfs entryIoana Ciornei1-0/+22
2019-05-29net: phy: Check against net_device being NULLIoana Ciornei1-0/+6
2019-05-29net: phy: Guard against the presence of a netdevIoana Ciornei1-10/+23
2019-05-29net: phy: Add phy_sysfs_create_links helper functionVladimir Oltean1-17/+26
2019-05-22net: phy: Make phy_basic_t1_features use base100t1.Andrew Lunn1-1/+1
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+7
2019-05-05net: phy: fix phy_validate_pauseHeiner Kallweit1-4/+7
2019-05-04net: phy: improve pause handlingHeiner Kallweit1-7/+29
2019-04-28net: phy: avoid unneeded MDIO reads in genphy_read_statusHeiner Kallweit1-1/+5
2019-04-26net: phy: improve genphy_soft_resetHeiner Kallweit1-2/+14
2019-04-18net: phy: don't set autoneg if it's not supportedHeiner Kallweit1-0/+4
2019-04-08net: phy: fix setting autoneg_complete in genphy_update_linkHeiner Kallweit1-6/+4
2019-04-08net: phy: replace genphy_10g_driver with genphy_c45_driverHeiner Kallweit1-8/+8
2019-04-08net: phy: improve link partner capability detectionHeiner Kallweit1-4/+8
2019-04-04net: phy: allow a PHY driver to define neither features nor get_featuresHeiner Kallweit1-7/+12
2019-04-03net: phy: fix autoneg mismatch case in genphy_read_statusHeiner Kallweit1-5/+3
2019-04-02net: phy: use genphy_read_abilities in genphy driverHeiner Kallweit1-2/+1
2019-04-02net: phy: add genphy_read_abilitiesHeiner Kallweit1-0/+48
2019-04-01net: phy: improve genphy_read_statusHeiner Kallweit1-15/+8
2019-03-25net: phy: don't clear BMCR in genphy_soft_resetHeiner Kallweit1-1/+1
2019-02-21net: phy: export genphy_config_eee_advertHeiner Kallweit1-1/+2
2019-02-21net: phy: don't use 10BaseT/half as default in genphy_read_statusHeiner Kallweit1-2/+2