Path: blob/master/drivers/media/dvb/ttpci/ttpci-eeprom.h
15112 views
/*1Retrieve encoded MAC address from ATMEL ttpci_eeprom serial 2-wire EEPROM,2decode it and store it in associated adapter net device34Robert Schlabbach GMX5Michael Glaum KVH Industries6Holger Waechtler Convergence78This program is free software; you can redistribute it and/or modify9it under the terms of the GNU General Public License as published by10the Free Software Foundation; either version 2 of the License, or11(at your option) any later version.1213This program is distributed in the hope that it will be useful,14but WITHOUT ANY WARRANTY; without even the implied warranty of15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16GNU General Public License for more details.1718You should have received a copy of the GNU General Public License19along with this program; if not, write to the Free Software20Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.2122*/2324#ifndef __TTPCI_EEPROM_H__25#define __TTPCI_EEPROM_H__2627#include <linux/types.h>28#include <linux/i2c.h>2930extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);3132#endif333435