linux/drivers/staging/rtl8712/rtl871x_eeprom.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
#ifndef __RTL871X_EEPROM_H__
#define __RTL871X_EEPROM_H__

#include "osdep_service.h"

#define RTL8712_EEPROM_ID
#define EEPROM_MAX_SIZE
#define CLOCK_RATE

/*- EEPROM opcodes*/
#define EEPROM_READ_OPCODE
#define EEPROM_WRITE_OPCODE
#define EEPROM_ERASE_OPCODE
#define EEPROM_EWEN_OPCODE
#define EEPROM_EWDS_OPCODE

#define EEPROM_CID_DEFAULT
#define EEPROM_CID_ALPHA
#define EEPROM_CID_Senao
#define EEPROM_CID_NetCore
#define EEPROM_CID_CAMEO
#define EEPROM_CID_SITECOM
#define EEPROM_CID_COREGA
#define EEPROM_CID_EDIMAX_BELKIN
#define EEPROM_CID_SERCOMM_BELKIN
#define EEPROM_CID_CAMEO1
#define EEPROM_CID_WNC_COREGA
#define EEPROM_CID_CLEVO
#define EEPROM_CID_WHQL

enum RT_CUSTOMER_ID {};

struct eeprom_priv {};

void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data);
u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg);

#endif  /*__RTL871X_EEPROM_H__*/