diff options
| author | Wolfgang Denk <wd@denx.de> | 2009-08-08 12:08:09 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2009-08-08 12:08:09 +0200 |
| commit | 81813cb01f509adceb52fa3130dd65f30288416c (patch) | |
| tree | c6d8f8fb5f03d08f5d0fc81cb279ad7cdeab5bf1 /include/net.h | |
| parent | 3b9043a7c03290c9bdbef03848307263f5f3472c (diff) | |
| parent | aa0707897c49c330b7d6b8d8362e44f60f224732 (diff) | |
| download | olio-uboot-2014.01-81813cb01f509adceb52fa3130dd65f30288416c.tar.xz olio-uboot-2014.01-81813cb01f509adceb52fa3130dd65f30288416c.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'include/net.h')
| -rw-r--r-- | include/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index 4a03717ae..4873000c0 100644 --- a/include/net.h +++ b/include/net.h @@ -119,10 +119,10 @@ 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 struct eth_device *eth_get_dev_by_index(int index); /* get dev @ index */ extern int eth_get_dev_index (void); /* get the device index */ -extern void eth_set_enetaddr(int num, char* a); /* Set new MAC address */ extern void eth_parse_enetaddr(const char *addr, uchar *enetaddr); extern int eth_getenv_enetaddr(char *name, uchar *enetaddr); extern int eth_setenv_enetaddr(char *name, const uchar *enetaddr); +extern int eth_getenv_enetaddr_by_index(int index, uchar *enetaddr); extern int eth_init(bd_t *bis); /* Initialize the device */ extern int eth_send(volatile void *packet, int length); /* Send a packet */ |