commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
23 lines
550 B
C
23 lines
550 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
Retrieve encoded MAC address from ATMEL ttpci_eeprom serial 2-wire EEPROM,
|
|
decode it and store it in associated adapter net device
|
|
|
|
Robert Schlabbach GMX
|
|
Michael Glaum KVH Industries
|
|
Holger Waechtler Convergence
|
|
|
|
|
|
*/
|
|
|
|
#ifndef __TTPCI_EEPROM_H__
|
|
#define __TTPCI_EEPROM_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/i2c.h>
|
|
|
|
extern int ttpci_eeprom_decode_mac(u8 *decodedMAC, u8 *encodedMAC);
|
|
extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);
|
|
|
|
#endif
|