23 lines · c
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 device5 6 Robert Schlabbach GMX7 Michael Glaum KVH Industries8 Holger Waechtler Convergence9 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#endif23