staging: rtl8192e: Remove rf_chip variable, hardcode to RF_8256
[deliverable/linux.git] / drivers / staging / rtl8192e / r8180_93cx6.h
1 /* r8180_93cx6.h - 93c46 or 93c56 eeprom card programming routines
2 *
3 * This is part of rtl8187 OpenSource driver
4 * Copyright (C) Andrea Merello 2004-2005 <andreamrl@tiscali.it>
5 * Released under the terms of GPL (General Public Licence)
6 * Parts of this driver are based on the GPL part of the official realtek driver
7 *
8 * Parts of this driver are based on the rtl8180 driver skeleton from
9 * Patric Schenke & Andres Salomon.
10 *
11 * Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
12 *
13 * We want to thank the authors of the above mentioned projects and to
14 * the authors of the Ndiswrapper project.
15 */
16
17 #include "r8192E.h"
18 #include "r8192E_hw.h"
19
20 #define EPROM_DELAY 10
21
22 #define EPROM_ANAPARAM_ADDRLWORD 0xd
23 #define EPROM_ANAPARAM_ADDRHWORD 0xe
24
25 #define EPROM_RFCHIPID 0x6
26 #define EPROM_TXPW_BASE 0x05
27 #define EPROM_RFCHIPID_RTL8225U 5
28 #define EPROM_RF_PARAM 0x4
29 #define EPROM_CONFIG2 0xc
30
31 #define EPROM_VERSION 0x1E
32 #define MAC_ADR 0x7
33
34 #define CIS 0x18
35
36 #define EPROM_TXPW0 0x16
37 #define EPROM_TXPW2 0x1b
38 #define EPROM_TXPW1 0x3d
39
40 /* Reads a 16 bits word. */
41 u32 eprom_read(struct net_device *dev, u32 addr);
This page took 0.031822 seconds and 5 git commands to generate.