nvram.h 574 B

12345678910111213141516171819
  1. /*
  2. * Atheros AR71xx minimal nvram support
  3. *
  4. * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published
  8. * by the Free Software Foundation.
  9. */
  10. #ifndef _ATH79_NVRAM_H
  11. #define _ATH79_NVRAM_H
  12. char *ath79_nvram_find_var(const char *name, const char *buf,
  13. unsigned buf_len);
  14. int ath79_nvram_parse_mac_addr(const char *nvram, unsigned nvram_len,
  15. const char *name, char *mac);
  16. #endif /* _ATH79_NVRAM_H */