[PATCH] pm3386: add hook for setting carrier
Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
committed by
Jeff Garzik
parent
0b85c0ebde
commit
df86550602
@@ -17,6 +17,7 @@ void pm3386_init_port(int port);
|
||||
void pm3386_get_mac(int port, u8 *mac);
|
||||
void pm3386_set_mac(int port, u8 *mac);
|
||||
void pm3386_get_stats(int port, struct net_device_stats *stats);
|
||||
void pm3386_set_carrier(int port, int state);
|
||||
int pm3386_is_link_up(int port);
|
||||
void pm3386_enable_rx(int port);
|
||||
void pm3386_disable_rx(int port);
|
||||
|
Reference in New Issue
Block a user