summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/ethernet.h
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-22 16:50:14 -0800
committerNick Foster <nick@nerdnetworks.org>2010-11-22 16:50:14 -0800
commita2dfa1988c6f624c3c45bd55ca7a7af9c10eb041 (patch)
treeeca7163356bc9dda13cd9af937d399ff41c6a3f1 /firmware/microblaze/lib/ethernet.h
parente7b98030eb3ea7e42bd8d6fa5f115b0219ae2685 (diff)
downloaduhd-a2dfa1988c6f624c3c45bd55ca7a7af9c10eb041.tar.gz
uhd-a2dfa1988c6f624c3c45bd55ca7a7af9c10eb041.tar.bz2
uhd-a2dfa1988c6f624c3c45bd55ca7a7af9c10eb041.zip
N200 comes up with default IP and MAC when booted in safe mode (button pushed).
Diffstat (limited to 'firmware/microblaze/lib/ethernet.h')
-rw-r--r--firmware/microblaze/lib/ethernet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/microblaze/lib/ethernet.h b/firmware/microblaze/lib/ethernet.h
index 8c6d8b567..52b297349 100644
--- a/firmware/microblaze/lib/ethernet.h
+++ b/firmware/microblaze/lib/ethernet.h
@@ -44,6 +44,9 @@ void ethernet_register_link_changed_callback(ethernet_link_changed_callback_t cb
*/
const eth_mac_addr_t *ethernet_mac_addr(void);
+/*!set mac addr to default*/
+void set_default_mac_addr(void);
+
/*!
* \brief write mac address to eeprom and begin using it
*/
@@ -54,6 +57,9 @@ bool ethernet_set_mac_addr(const eth_mac_addr_t *t);
*/
const struct ip_addr *get_ip_addr(void);
+/*!set ip addr to default*/
+void set_default_ip_addr(void);
+
/*!
* \brief write ip address to eeprom and begin using it
*/