linux/drivers/net/phy/swphy.h
Russell King 5ae68b0ce1 phy: move fixed_phy MII register generation to a library
Move the fixed_phy MII register generation to a library to allow other
software phy implementations to use this code.

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>
2016-06-27 10:40:57 -04:00

9 lines
139 B
C

#ifndef SWPHY_H
#define SWPHY_H
struct fixed_phy_status;
int swphy_update_regs(u16 *regs, const struct fixed_phy_status *state);
#endif