diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2005-11-23 06:49:51 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 02:25:27 -0500 |
commit | df86550602f320d28fdaeb577c25f9821525bfa0 (patch) | |
tree | babe84aafa5f1dda0849d87954f76d6b844e1d28 /drivers/net/ixp2000/pm3386.h | |
parent | 0b85c0ebde63a41d57b6214977ac2752bf5a086f (diff) |
[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>
Diffstat (limited to 'drivers/net/ixp2000/pm3386.h')
-rw-r--r-- | drivers/net/ixp2000/pm3386.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/pm3386.h b/drivers/net/ixp2000/pm3386.h index 117f50afcdea..fe92bb056ac4 100644 --- a/drivers/net/ixp2000/pm3386.h +++ b/drivers/net/ixp2000/pm3386.h | |||
@@ -17,6 +17,7 @@ void pm3386_init_port(int port); | |||
17 | void pm3386_get_mac(int port, u8 *mac); | 17 | void pm3386_get_mac(int port, u8 *mac); |
18 | void pm3386_set_mac(int port, u8 *mac); | 18 | void pm3386_set_mac(int port, u8 *mac); |
19 | void pm3386_get_stats(int port, struct net_device_stats *stats); | 19 | void pm3386_get_stats(int port, struct net_device_stats *stats); |
20 | void pm3386_set_carrier(int port, int state); | ||
20 | int pm3386_is_link_up(int port); | 21 | int pm3386_is_link_up(int port); |
21 | void pm3386_enable_rx(int port); | 22 | void pm3386_enable_rx(int port); |
22 | void pm3386_disable_rx(int port); | 23 | void pm3386_disable_rx(int port); |