mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
37688e3f53
Generate software phy registers as and when requested, rather than duplicating the state in fixed_phy. This allows us to eliminate the duplicate storage of of the same data, which is only different in format. As fixed_phy_update_regs() no longer updates register state, rename it to fixed_phy_update(). Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
198 B
C
10 lines
198 B
C
#ifndef SWPHY_H
|
|
#define SWPHY_H
|
|
|
|
struct fixed_phy_status;
|
|
|
|
int swphy_validate_state(const struct fixed_phy_status *state);
|
|
int swphy_read_reg(int reg, const struct fixed_phy_status *state);
|
|
|
|
#endif
|