aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixp2000/pm3386.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2005-11-23 06:49:47 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:25:26 -0500
commit0b85c0ebde63a41d57b6214977ac2752bf5a086f (patch)
tree3ea968ce6be1c92aa6057958633af6392341b105 /drivers/net/ixp2000/pm3386.h
parent7ed98bfdea45dbdc66261660357659470935a03a (diff)
[PATCH] pm3386: add hook for setting MAC address
When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/pm3386.h b/drivers/net/ixp2000/pm3386.h
index 55ecb1834219..117f50afcdea 100644
--- a/drivers/net/ixp2000/pm3386.h
+++ b/drivers/net/ixp2000/pm3386.h
@@ -15,6 +15,7 @@
15void pm3386_reset(void); 15void pm3386_reset(void);
16void pm3386_init_port(int port); 16void pm3386_init_port(int port);
17void pm3386_get_mac(int port, u8 *mac); 17void pm3386_get_mac(int port, u8 *mac);
18void pm3386_set_mac(int port, u8 *mac);
18void pm3386_get_stats(int port, struct net_device_stats *stats); 19void pm3386_get_stats(int port, struct net_device_stats *stats);
19int pm3386_is_link_up(int port); 20int pm3386_is_link_up(int port);
20void pm3386_enable_rx(int port); 21void pm3386_enable_rx(int port);