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
6    Robert Schlabbach	GMX
7    Michael Glaum	KVH Industries
8    Holger Waechtler	Convergence
9
10
11*/
12
13#ifndef __TTPCI_EEPROM_H__
14#define __TTPCI_EEPROM_H__
15
16#include <linux/types.h>
17#include <linux/i2c.h>
18
19extern int ttpci_eeprom_decode_mac(u8 *decodedMAC, u8 *encodedMAC);
20extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);
21
22#endif
23