Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003     Retrieve encoded MAC address from ATMEL ttpci_eeprom serial 2-wire EEPROM,
0004     decode it and store it in associated adapter net device
0005 
0006     Robert Schlabbach   GMX
0007     Michael Glaum   KVH Industries
0008     Holger Waechtler    Convergence
0009 
0010 
0011 */
0012 
0013 #ifndef __TTPCI_EEPROM_H__
0014 #define __TTPCI_EEPROM_H__
0015 
0016 #include <linux/types.h>
0017 #include <linux/i2c.h>
0018 
0019 extern int ttpci_eeprom_decode_mac(u8 *decodedMAC, u8 *encodedMAC);
0020 extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);
0021 
0022 #endif