summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2005-10-28 22:30:33 +0200
committerMarian Balakowicz <m8@semihalf.com>2005-10-28 22:30:33 +0200
commit63ff004c4fcad9f690bf44dbd15d568bb47aac2d (patch)
tree7b64074a85da8118b6c862f14de1171b36ade0f7 /include/net.h
parentfe93483a0ab9dcbf7794ffbf0b029ba138380e81 (diff)
Add support for multiple PHYs.
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 47eab59dde2..461e0380141 100644
--- a/include/net.h
+++ b/include/net.h
@@ -114,6 +114,7 @@ extern void eth_try_another(int first_restart); /* Change the device */
extern void eth_set_current(void); /* set nterface to ethcur var. */
#endif
extern struct eth_device *eth_get_dev(void); /* get the current device MAC */
+extern struct eth_device *eth_get_dev_by_name(char *devname); /* get device */
extern int eth_get_dev_index (void); /* get the device index */
extern void eth_set_enetaddr(int num, char* a); /* Set new MAC address */