aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_bus.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11net: mdio_bus: Remove unused of_gpio.hAndy Shevchenko1-2/+0
2024-02-15net: mdio_bus: make mdio_bus_type constRicardo B. Marliere1-1/+1
2024-02-10net: phy: add support for scanning PHY in PHY packages nodesChristian Marangi1-8/+36
2024-01-04net: mdio_bus: add refcounting for fwnodes to mdiobusRussell King (Oracle)1-0/+13
2024-01-02Revert "net: mdio: get/put device node during (un)registration"Jakub Kicinski1-3/+0
2024-01-01net: mdio: get/put device node during (un)registrationLuiz Angelo Daros de Luca1-0/+3
2023-12-10net: mdio_bus: replace deprecated strncpy with strscpyJustin Stitt1-1/+1
2023-07-25net: mdio_bus: validate "addr" for mdiobus_is_registered_device()Russell King (Oracle)1-4/+9
2023-07-14net: mdio: add unlocked mdiobus and mdiodev bus accessorsRussell King (Oracle)1-2/+22
2023-06-20net: mdio: fix the wrong parametersJiawen Wu1-1/+1
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-1/+1
2023-01-23net: mdio: warn once if addr parameter is invalid in mdiobus_get_phy()Heiner Kallweit1-1/+2
2023-01-20net: phy: Remove fallback to old C45 methodAndrew Lunn1-8/+2
2023-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2023-01-19net: mdio: scan bus based on bus capabilities for C22 and C45Andrew Lunn1-6/+2
2023-01-19net: mdio: Add workaround for Micrel PHYs which are not C45 compatibleAndrew Lunn1-3/+34
2023-01-19net: mdio: Rework scanning of bus ready for quirksAndrew Lunn1-39/+86
2023-01-19net: mdio: Move mdiobus_scan() within fileAndrew Lunn1-51/+50
2023-01-17net: mdio: validate parameter addr in mdiobus_get_phy()Heiner Kallweit1-1/+6
2023-01-10net: mdio: add mdiobus_c45_read/write_nested helpersAndrew Lunn1-0/+55
2023-01-10net: mdio: Move mdiobus_c45_addr() next to usersAndrew Lunn1-0/+5
2023-01-10net: mdio: C22 is now optional, EOPNOTSUPP if not providedAndrew Lunn1-2/+8
2023-01-10net: mdio: mdiobus_register: update validation testAndrew Lunn1-2/+9
2023-01-10net: mdio: Add dedicated C45 API to MDIO bus driversAndrew Lunn1-0/+189
2022-11-02net: mdio: fix undefined behavior in bit shift for __mdiobus_registerGaosheng Cui1-1/+1
2022-09-29net: phy: Convert to use sysfs_emit() APIsWang Yufen1-2/+2
2022-06-08net: mdio: unexport __init-annotated mdio_bus_init()Masahiro Yamada1-1/+0
2022-01-03net: mdio: Demote probed message to debug printFlorian Fainelli1-1/+1
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2021-12-13net: phy: add a note about refcountingRussell King (Oracle)1-0/+3
2021-11-18net: mdio: Replaced BUG_ON() with WARN()Florian Fainelli1-6/+10
2021-10-08net: mdio: ensure the type of mdio devices match mdio driversRussell King (Oracle)1-0/+6
2021-10-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+11
2021-10-07Merge tag 'net-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+7
2021-10-06net: mdio: add mdiobus_modify_changed()Russell King (Oracle)1-0/+22
2021-10-03Merge tag 'driver-core-5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+4
2021-09-30phy: mdio: fix memory leakPavel Skripkin1-0/+7
2021-09-30Revert "net: mdiobus: Fix memory leak in __mdiobus_register"Pavel Skripkin1-1/+0
2021-09-27net: mdiobus: Fix memory leak in __mdiobus_registerYanfei Xu1-0/+1
2021-09-23net: mdiobus: Set FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD for mdiobus parentsSaravana Kannan1-0/+4
2021-06-17net: mdio: use device_set_node() to setup both fwnode and ofIoana Ciornei1-2/+1
2021-06-16net: phy: change format of some declarationsWenpeng Liang1-0/+1
2021-05-17net: mdiobus: get rid of a BUG_ON()Dan Carpenter1-1/+2
2021-03-30net: phy: remove repeated wordPeng Li1-1/+1
2021-02-03net: mdiobus: Prevent spike on MDIO bus reset signalMike Looijmans1-4/+2
2021-01-07net: phy: replace mutex_is_locked with lockdep_assert_held in phylibHeiner Kallweit1-2/+2
2020-11-20mdio_bus: suppress err message for reset gpio EPROBE_DEFERGrygorii Strashko1-3/+4
2020-11-17net: phy: fix kernel-doc markupsMauro Carvalho Chehab1-1/+1
2020-09-29net: mdiobus: Remove WARN_ON_ONCE(in_interrupt())Sebastian Andrzej Siewior1-15/+0
2020-08-03net: mdiobus: add reset-post-delay-us handlingBruno Thomsen1-0/+2
2020-08-03net: mdiobus: use flexible sleeping for reset-delay-usBruno Thomsen1-1/+1
2020-06-30net: phy: don't abuse devres in devm_mdiobus_register()Bartosz Golaszewski1-73/+0
2020-06-26net: phy: arrange headers in mdio_bus.c alphabeticallyBartosz Golaszewski1-16/+16
2020-06-23net: phy: Allow mdio buses to auto-probe c45 devicesJeremy Linton1-2/+16
2020-06-04net: mdiobus: Disable preemption upon u64_stats updateAhmed S. Darwish1-0/+2
2020-05-06net: phy: add concept of shared storage for PHYsMichael Walle1-0/+1
2020-04-22net: phy: Use IS_ERR() to check and simplify codeTang Bin1-5/+2
2020-04-22net: phy: add device-managed devm_mdiobus_registerHeiner Kallweit1-1/+7
2020-04-20net: phy: Propagate error from bus->resetFlorian Fainelli1-3/+6
2020-04-07Documentation: mdio_bus.c - fix warningsLothar Rubusch1-1/+1
2020-03-17net: mdiobus: add APIs for modifying a MDIO device registerRussell King1-0/+56
2020-03-17net: mdiobus: avoid BUG_ON() in mdiobus accessorsRussell King1-4/+8
2020-02-24mdio_bus: Add generic mdio_find_bus()Jeremy Linton1-0/+17
2020-01-17net: phy: Maintain MDIO device and bus statisticsFlorian Fainelli1-2/+249
2020-01-14mdio_bus: Simplify reset handling and extend to non-DT systemsGeert Uytterhoeven1-11/+5
2019-11-25mdio_bus: don't use managed reset-controllerDavid Bauer1-2/+4
2019-11-19mdio_bus: Fix init if CONFIG_RESET_CONTROLLER=nGeert Uytterhoeven1-1/+1
2019-11-11mdio_bus: Fix PTR_ERR applied after initialization to constantYueHaibing1-5/+6
2019-09-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-13/+9
2019-09-16net: mdio: switch to using gpiod_get_optional()Dmitry Torokhov1-13/+9
2019-07-30drivers: Introduce device lookup variants by of_nodeSuzuki K Poulose1-8/+1
2019-04-18net: mdio: rename mdio_device reset to reset_gpioDavid Bauer1-3/+3
2019-04-18net: phy: add support for reset-controllerDavid Bauer1-2/+25
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2019-02-22mdio_bus: Fix use-after-free on device_register failsYueHaibing1-1/+0
2019-02-18mdio_bus: Fix PTR_ERR() usage after initialization to constantYueHaibing1-5/+6
2019-01-22net: phy: Convert some PHY and MDIO driver files to SPDX headersAndrew Lunn1-6/+1
2019-01-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-01-18net: phy: mdio_bus: add missing device_del() in mdiobus_register() error hand...Thomas Petazzoni1-0/+1
2019-01-16net: phy: don't include asm/irq.h directlyHeiner Kallweit1-2/+0
2018-09-17net: mdio: remove duplicated include from mdio_bus.cYueHaibing1-1/+0
2018-06-05net: phy: remove PM ops from MDIO busHeiner Kallweit1-48/+0
2018-02-06net: phy: Handle not having GPIO enabled in the kernelAndrew Lunn1-1/+2
2018-01-03net: mdio: Only perform gpio reset for PHYsAndrew Lunn1-4/+17
2018-01-03net: mdiobus: add unlocked accessorsRussell King1-12/+53
2017-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-12-13of_mdio / mdiobus: ensure mdio devices have fwnode correctly populatedRussell King1-0/+1
2017-12-05phylib: Add device reset GPIO supportSergei Shtylyov1-0/+21
2017-09-08Revert "mdio_bus: Remove unneeded gpiod NULL check"Florian Fainelli1-2/+4
2017-07-17mdio_bus: Remove unneeded gpiod NULL checkFabio Estevam1-4/+2
2017-06-13mdio_bus: use devm_gpiod_get_optional()Sergei Shtylyov1-9/+5
2017-06-13mdio_bus: handle only single PHY reset GPIOSergei Shtylyov1-34/+19
2017-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+13
2017-06-02net: phy: use of_mdio_parse_addrJon Mason1-13/+2
2017-05-31net: fix auto-loading of Marvell DSA driverRussell King1-0/+13
2017-05-11net: phy: Call bus->reset() after releasing PHYs from resetFlorian Fainelli1-3/+3
2017-04-24mdio_bus: Issue GPIO RESET to PHYs.Roger Quadros1-0/+47
2017-03-29net: phy: Allow building mdio-boardinfo into the kernelFlorian Fainelli1-1/+31
2017-03-24net: phy: Allow splitting MDIO bus/device support from PHYsFlorian Fainelli1-0/+9
2017-02-07net: phy: Allow pre-declaration of MDIO devicesFlorian Fainelli1-0/+4
2016-11-24net/phy: add trace events for mdio accessesUwe Kleine-König1-0/+11
2016-05-04mdio_bus: don't return NULL from mdiobus_scan()Sergei Shtylyov1-1/+1
2016-05-01mdio_bus: Fix MDIO bus scanning in __mdiobus_register()Marek Vasut1-1/+1
2016-04-26mdio_bus: get_phy_device() doesn't return NULL anymoreSergei Shtylyov1-1/+1
2016-04-11net: mdio: Fix lockdep falls positive splatAndrew Lunn1-2/+2
2016-01-12mdio_bus: NULL dereference on allocation errorDan Carpenter1-5/+6
2016-01-07mdio: Abstract device_remove() and device_free()Andrew Lunn1-14/+9
2016-01-07mdio: Add support for mdio drivers.Andrew Lunn1-2/+11
2016-01-07mdio_bus: Add comment to mdiobus_scan() and __mdiobus_register()Andrew Lunn1-1/+15
2016-01-07mdio_bus: Generalise of_mdiobus_link_phydev()Andrew Lunn1-14/+15
2016-01-07phy: Move phy specific bus match into phy_deviceAndrew Lunn1-26/+12
2016-01-07phy: Move PHY PM operations into phy_deviceAndrew Lunn1-73/+10
2016-01-07phy_device: Move phy attributes into phy_deviceAndrew Lunn1-42/+0
2016-01-07phy: Add API for {un}registering an mdio device to a bus.Andrew Lunn1-2/+44
2016-01-07phy: Add an mdio_device structureAndrew Lunn1-6/+6
2016-01-07mdio: Move allocation of interrupts into coreAndrew Lunn1-0/+5
2015-10-23net: phy: Add nested variants of mdiobus read/writeNeil Armstrong1-0/+55
2015-09-25net: update docbook comment for __mdiobus_register()Russell King1-2/+5
2015-09-24phy: add phy_device_remove()Russell King1-5/+10
2015-09-24phy: fix mdiobus module safetyRussell King1-2/+3
2015-09-24phy: fix of_mdio_find_bus() device refcount leakRussell King1-1/+3
2015-09-01phylib: fix device deletion order in mdiobus_unregister()Mark Salter1-1/+1
2015-07-21net/mdio: fix mdio_bus_match for c45 PHYShaohui Xie1-2/+17
2015-01-27net: phy: avoid suspending twice a PHYFlorian Fainelli1-2/+6
2015-01-27net: phy: utilize phy_suspend and phy_resumeFlorian Fainelli1-4/+2
2014-08-29net: phy: properly report internal PHYs through sysfsFlorian Fainelli1-1/+7
2014-08-05Revert "net: phy: Set the driver when registering an MDIO bus device"Fabio Estevam1-1/+0
2014-07-24net: phy: Set the driver when registering an MDIO bus deviceEzequiel Garcia1-0/+1
2014-07-02net: fix circular dependency in of_mdio codeDaniel Mack1-0/+44
2014-05-29net: of_mdio: add of_mdiobus_link_phydev()Daniel Mack1-0/+6
2014-05-09mdio_bus: fix devm_mdiobus_alloc_size exportArnd Bergmann1-1/+1
2014-05-02mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_freeGrygorii Strashko1-0/+67
2014-02-12net: phy: expose phydev->has_fixups to sysfsFlorian Fainelli1-0/+10
2014-02-12net: phy: expose PHY device interface modeFlorian Fainelli1-0/+10
2014-01-30drivers/net/phy/mdio_bus.c: call put_device on device_register() failureLevente Kurusa1-0/+1
2014-01-04phylib: remove unused adjust_state() callbackSergei Shtylyov1-2/+2
2014-01-04mdio_bus: coding style fixesSergei Shtylyov1-18/+9
2013-12-18net: phy: mdio_bus: fix checkpath errorFlorian Fainelli1-2/+2
2013-10-29mdio_bus: convert bus code to use dev_groupsGreg Kroah-Hartman1-4/+6
2013-02-06driver-core: constify data for class_find_device()Michał Mirosław1-1/+1
2012-11-09phylib: mdio: Add sysfs attribute for PHY identifiers.Nick Bowler1-0/+14
2012-10-09netdev/phy: Prototype of_mdio_find_bus()Mark Brown1-0/+1
2012-06-27netdev/phy/of: Add more methods for binding PHY devices to drivers.David Daney1-0/+7
2012-06-27netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYsDavid Daney1-1/+1
2012-06-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2012-06-11phy: Use pr_<level>Joe Perches1-1/+4
2012-06-08netdev: fix drivers/net/phy/ kernel-doc warningsRandy Dunlap1-1/+1
2012-05-11net: of/phy: fix build error when phylib is built as a moduleBjørn Mork1-1/+1
2012-05-07netdev/of/phy: New function: of_mdio_find_bus().David Daney1-0/+32
2012-01-22kernel-doc: fix new warning in net/phy/mdio_bus.cRandy Dunlap1-3/+2
2012-01-12phylib: introduce mdiobus_alloc_size()Timur Tabi1-5/+19
2010-09-14phylib: fix PAL state machine restart on resumeSimon Guinot1-2/+2
2010-03-16NET: Support clause 45 MDIO commands at the MDIO bus levelJason Gunthorpe1-2/+2
2009-12-30phylib: Properly reinitialize PHYs after hibernationAnton Vorontsov1-7/+43
2009-12-30phylib: Fix deadlock on resumeAnton Vorontsov1-2/+22
2009-04-27phylib: rework to prepare for OF registration of PHYsGrant Likely1-26/+3
2009-02-26mdio: fix non-constant printk warningsStephen Hemminger1-1/+1
2009-02-01phylib: Rework suspend/resume code to check netdev wakeup capabilityAnton Vorontsov1-14/+40
2009-01-22phylib: Fix oops in suspend/resume pathsAnton Vorontsov1-5/+3
2008-12-25net: PHYLIB mdio fixes #2Krzysztof Halasa1-7/+15
2008-12-23Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+3
2008-12-17net: kernel BUG at drivers/net/phy/mdio_bus.c:165!Krzysztof Halasa1-2/+3
2008-11-28phy: power management supportGiuseppe Cavallaro1-4/+10
2008-11-18Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2008-11-14phylib: fix premature freeing of struct mii_busLennert Buytenhek1-1/+1
2008-11-10net: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-2/+2
2008-10-13net/phy: add missing kernel-docRandy Dunlap1-0/+1
2008-10-08phylib: add mdiobus_{read,write}Lennert Buytenhek1-0/+49
2008-10-08phylib: give mdio buses a device tree presenceLennert Buytenhek1-4/+71
2008-10-08phylib: move to dynamic allocation of struct mii_busLennert Buytenhek1-0/+24
2008-10-08phylib: rename mii_bus::dev to mii_bus::parentLennert Buytenhek1-1/+1
2008-09-19phylib: allow incremental scanning of an mii busLennert Buytenhek1-41/+48
2008-04-25phylib: Add support for board-level PHY fixupsAndy Fleming1-0/+3
2008-02-23net/phy/mdio_bus.c: fix a check-after-useAdrian Bunk1-2/+2
2008-02-03PHYLIB: Locking fixes for PHY I/O potentially sleepingNate Case1-1/+1
2007-12-04PHY: Add the phy_device_release device method.Anton Vorontsov1-4/+5
2007-06-28phy: Fix phy_id for Vitesse 824x PHYKumar Gala1-1/+2
2007-04-28phy layer: add kernel-doc + DocBookRandy Dunlap1-6/+13
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2006-08-19[PATCH] PAL: Support of the fixed PHYVitaly Bordug1-0/+1
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-05-10phy: mdiobus_register(): initialize all phy_map entriesHerbert Valerio Riedel1-1/+3
2006-01-12[PATCH] phy: Added a macro to represent the string format used to match a phy...Kumar Gala1-1/+1
2005-11-05Remove linux/version.h include from drivers/net/phy/* and net/ieee80211/*.Jeff Garzik1-1/+0
2005-11-05[PATCH] phy address mask support for generic phy layerMatt Porter1-0/+3
2005-10-28[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacksRussell King1-14/+6
2005-09-05[PATCH] 'mdio_bus_exit' in discarded section .text.exitPeter Chubb1-1/+1
2005-09-05[PATCH] swsusp: fix remaining u32 vs. pm_message_t confusionPavel Machek1-1/+1
2005-08-28[PATCH] PHY Layer fixupAndy Fleming1-1/+78
2005-08-11phy subsystem: more cleanupsJeff Garzik1-74/+0
2005-08-11Fix numerous minor problems with new phy subsystem.Jeff Garzik1-2/+2
2005-07-30This patch adds a PHY Abstraction Layer to the Linux Kernel, enablingAndy Fleming1-0/+173