-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch is a starting point for moving phylib-internal declarations to a private header file. Signed-off-by: Heiner Kallweit <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information
Showing
7 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
/* | ||
* phylib-internal header | ||
*/ | ||
|
||
#ifndef __PHYLIB_INTERNAL_H | ||
#define __PHYLIB_INTERNAL_H | ||
|
||
struct phy_device; | ||
|
||
/* | ||
* phy_supported_speeds - return all speeds currently supported by a PHY device | ||
*/ | ||
unsigned int phy_supported_speeds(struct phy_device *phy, | ||
unsigned int *speeds, | ||
unsigned int size); | ||
void of_set_phy_supported(struct phy_device *phydev); | ||
void of_set_phy_eee_broken(struct phy_device *phydev); | ||
void of_set_phy_timing_role(struct phy_device *phydev); | ||
int phy_speed_down_core(struct phy_device *phydev); | ||
void phy_check_downshift(struct phy_device *phydev); | ||
|
||
int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv); | ||
|
||
#endif /* __PHYLIB_INTERNAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters