summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-10 19:44:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:45 +0200
commitbac65c6cde68e0bf76c8d01462321d8af98f0b81 (patch)
tree95ca6ed492b060aaeb21a4461c2c350d16320b4b /include/net.h
parentaa611e7e690bc41e2fa855631b85bde91a5a26a2 (diff)
downloadbarebox-bac65c6cde68e0bf76c8d01462321d8af98f0b81.tar.gz
barebox-bac65c6cde68e0bf76c8d01462321d8af98f0b81.tar.xz
net: Get rid of DEVICE_TYPE_ETHER usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 63e25a012a..476124ad7e 100644
--- a/include/net.h
+++ b/include/net.h
@@ -76,6 +76,8 @@ struct eth_device {
struct param_d param_ethaddr;
struct device_d *dev;
+
+ struct list_head list;
};
int eth_register(struct eth_device* dev); /* Register network device */
@@ -422,5 +424,6 @@ void ethaddr_to_string(const unsigned char *enetaddr, char *str);
void eth_set_current(struct eth_device *eth);
struct eth_device *eth_get_current(void);
+struct eth_device *eth_get_byname(char *name);
#endif /* __NET_H__ */