/****************************************************************************** * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello , et al. * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA * * The full GNU General Public License is included in this distribution in the * file called LICENSE. * * Contact Information: * wlanfae ******************************************************************************/ #define EPROM_DELAY 10 #if 0 #define EPROM_ANAPARAM_ADDRLWORD 0xd #define EPROM_ANAPARAM_ADDRHWORD 0xe #define EPROM_RFCHIPID 0x6 #define EPROM_TXPW_BASE 0x05 #define EPROM_RFCHIPID_RTL8225U 5 #define EPROM_RF_PARAM 0x4 #define EPROM_CONFIG2 0xc #define EPROM_VERSION 0x1E #define MAC_ADR 0x7 #define CIS 0x18 #define EPROM_TXPW0 0x16 #define EPROM_TXPW2 0x1b #define EPROM_TXPW1 0x3d #endif u32 eprom_read(struct net_device *dev,u32 addr);