16 Apr, 2019
1 commit
-
Recently genphy_read_abilities() has been added that dynamically detects
clause 22 PHY abilities. I *think* this detection should work with all
supported PHY's, at least for the ones with basic features sets, i.e.
PHY_BASIC_FEATURES and PHY_GBIT_FEATURES. So let's remove setting these
features explicitly and rely on phylib feature detection.I don't have access to most of these PHY's, therefore I'd appreciate
regression testing.v2:
- make the feature constant a comment so that readers know which
features are supported by the respective PHYSigned-off-by: Heiner Kallweit
Tested-by: Andrew Lunn
Signed-off-by: David S. Miller
23 Jan, 2019
1 commit
-
Where the license text and the MODULE_LICENSE() value agree, convert
to using an SPDX header, removing the license text.Signed-off-by: Andrew Lunn
Signed-off-by: David S. Miller
12 Nov, 2018
1 commit
-
Now that flag PHY_HAS_INTERRUPT has been replaced with a check for
callbacks config_intr and ack_interrupt, we can remove setting this
flag from all driver configs.
Last but not least remove flag PHY_HAS_INTERRUPT completely.Signed-off-by: Heiner Kallweit
Reviewed-by: Andrew Lunn
Signed-off-by: David S. Miller
02 Dec, 2017
1 commit
-
Remove generic settings for callbacks config_aneg and read_status
from drivers.Signed-off-by: Heiner Kallweit
Reviewed-by: Florian Fainelli
Signed-off-by: David S. Miller
08 Jan, 2016
1 commit
-
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
Reviewed-by: Florian Fainelli
Signed-off-by: David S. Miller
13 Nov, 2014
1 commit
-
Replace module init/exit which only calls phy_driver_register with
module_phy_driver macro.Compile tested only.
Signed-off-by: Johan Hovold
Signed-off-by: David S. Miller
09 Jul, 2012
1 commit
-
If registering of one of them fails, all already registered drivers
of this module will be unregistered.Use the new register/unregister functions in all drivers
registering more than one driver.amd.c, realtek.c: Simplify: directly return registration result.
Tested with broadcom.c
All others compile-tested.Signed-off-by: Christian Hohnstaedt
Signed-off-by: David S. Miller
20 Mar, 2012
1 commit
-
Signed-off-by: Heiko Schocher
Signed-off-by: Anatolij Gustschin
Signed-off-by: David S. Miller