diff options
author | Wolfgang Denk <wd@denx.de> | 2009-02-01 21:31:37 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-01 21:31:37 +0100 |
commit | ee924e00300bd1136589b2d5f8ad1f008df01bd4 (patch) | |
tree | 4f517ecc2faf55dbaa3145835eef2eac2e0a4033 /board/bf537-stamp/bf537-stamp.c | |
parent | f4b6f45dcba989f5a900edc07ececae80c79abdf (diff) | |
parent | fc01ea1e27d5b124f0a1868d0ce569f156d58dfe (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'board/bf537-stamp/bf537-stamp.c')
-rw-r--r-- | board/bf537-stamp/bf537-stamp.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/board/bf537-stamp/bf537-stamp.c b/board/bf537-stamp/bf537-stamp.c index 63992f6093..5b619be11b 100644 --- a/board/bf537-stamp/bf537-stamp.c +++ b/board/bf537-stamp/bf537-stamp.c @@ -34,22 +34,6 @@ #include <asm/mach-common/bits/bootrom.h> #include <netdev.h> -/** - * is_valid_ether_addr - Determine if the given Ethernet address is valid - * @addr: Pointer to a six-byte array containing the Ethernet address - * - * Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not - * a multicast address, and is not FF:FF:FF:FF:FF:FF. - * - * Return true if the address is valid. - */ -static inline int is_valid_ether_addr(const u8 * addr) -{ - /* FF:FF:FF:FF:FF:FF is a multicast address so we don't need to - * explicitly check for it here. */ - return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr); -} - DECLARE_GLOBAL_DATA_PTR; #define POST_WORD_ADDR 0xFF903FFC |