diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-04 19:31:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-04 19:31:56 -0500 |
commit | d779188d2baf436e67fe8816fca2ef53d246900f (patch) | |
tree | 9bac75842a5611172860feec3c4019ff874a2b89 /drivers/net/ixp2000/pm3386.h | |
parent | f61ea1b0c825a20a1826bb43a226387091934586 (diff) | |
parent | ac67c6247361b3b8644b34e5301a46d5069c1373 (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Diffstat (limited to 'drivers/net/ixp2000/pm3386.h')
-rw-r--r-- | drivers/net/ixp2000/pm3386.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/pm3386.h b/drivers/net/ixp2000/pm3386.h new file mode 100644 index 000000000000..fe92bb056ac4 --- /dev/null +++ b/drivers/net/ixp2000/pm3386.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Helper functions for the PM3386s on the Radisys ENP2611 | ||
3 | * Copyright (C) 2004, 2005 Lennert Buytenhek <buytenh@wantstofly.org> | ||
4 | * Dedicated to Marija Kulikova. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | #ifndef __PM3386_H | ||
13 | #define __PM3386_H | ||
14 | |||
15 | void pm3386_reset(void); | ||
16 | void pm3386_init_port(int port); | ||
17 | void pm3386_get_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); | ||
20 | void pm3386_set_carrier(int port, int state); | ||
21 | int pm3386_is_link_up(int port); | ||
22 | void pm3386_enable_rx(int port); | ||
23 | void pm3386_disable_rx(int port); | ||
24 | void pm3386_enable_tx(int port); | ||
25 | void pm3386_disable_tx(int port); | ||
26 | |||
27 | |||
28 | #endif | ||