ttpci-eeprom.h 550 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. Retrieve encoded MAC address from ATMEL ttpci_eeprom serial 2-wire EEPROM,
  4. decode it and store it in associated adapter net device
  5. Robert Schlabbach GMX
  6. Michael Glaum KVH Industries
  7. Holger Waechtler Convergence
  8. */
  9. #ifndef __TTPCI_EEPROM_H__
  10. #define __TTPCI_EEPROM_H__
  11. #include <linux/types.h>
  12. #include <linux/i2c.h>
  13. extern int ttpci_eeprom_decode_mac(u8 *decodedMAC, u8 *encodedMAC);
  14. extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);
  15. #endif