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