diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-11-22 16:50:14 -0800 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-11-22 16:50:14 -0800 |
commit | a2dfa1988c6f624c3c45bd55ca7a7af9c10eb041 (patch) | |
tree | eca7163356bc9dda13cd9af937d399ff41c6a3f1 /firmware/microblaze/lib/ethernet.h | |
parent | e7b98030eb3ea7e42bd8d6fa5f115b0219ae2685 (diff) | |
download | uhd-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.h | 6 |
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 */ |