xref: /linux/drivers/media/common/ttpci-eeprom.h (revision 762f99f4f3cb41a775b5157dd761217beba65873)
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 
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);
21 
22 #endif
23