aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2022-06-06 22:02:08 +0200
committerJakub Kicinski <[email protected]>2022-06-13 23:11:24 -0700
commitbfa54812f0bc802819051b4084cd07a3d467ce79 (patch)
tree98b4b875fb8cc3ac05dcb97ba55a438b51151bc8 /tools/perf/scripts/python/event_analyzing_sample.py
parentc04245328dd7e915e21ac6395ffd218616e22754 (diff)
net: phy: fixed_phy: set phy_mask before calling mdiobus_register()
There's no point probing for phys on this artificial bus, so we can save a little bit of boot time by telling mdiobus_register() not to do that. This doesn't have any functional change, since, at this point, fixed_mdio_read() returns 0xffff for all addresses/registers, so mdiobus_scan() -> get_phy_device() -> get_phy_c22_id() will return -ENODEV, which is just ignored. Signed-off-by: Rasmus Villemoes <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions