hrtimer: Add tracepoint for hrtimers
[linux-2.6/cjktty.git] / drivers / staging / rtl8192su / r8180_93cx6.h
blobca228d3681741844482737bce9a4da2e9ce51af2
1 /*
2 This is part of rtl8187 OpenSource driver
3 Copyright (C) Andrea Merello 2004-2005 <andreamrl@tiscali.it>
4 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 Parts of this driver are based on the rtl8180 driver skeleton from Patric Schenke & Andres Salomon
8 Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
10 We want to tanks the Authors of such projects and the Ndiswrapper project Authors.
13 /*This files contains card eeprom (93c46 or 93c56) programming routines*/
14 /*memory is addressed by WORDS*/
16 #ifdef RTL8192SU
17 #include "r8192U.h"
18 #include "r8192S_hw.h"
19 #else
20 #include "r8192U.h"
21 #include "r8192U_hw.h"
22 #endif
24 #define EPROM_DELAY 10
26 #define EPROM_ANAPARAM_ADDRLWORD 0xd
27 #define EPROM_ANAPARAM_ADDRHWORD 0xe
29 #define EPROM_RFCHIPID 0x6
30 #define EPROM_TXPW_BASE 0x05
31 #define EPROM_RFCHIPID_RTL8225U 5
32 #define EPROM_RF_PARAM 0x4
33 #define EPROM_CONFIG2 0xc
35 #define EPROM_VERSION 0x1E
36 #define MAC_ADR 0x7
38 #define CIS 0x18
40 #define EPROM_TXPW0 0x16
41 #define EPROM_TXPW2 0x1b
42 #define EPROM_TXPW1 0x3d
45 u32 eprom_read(struct net_device *dev,u32 addr); //reads a 16 bits word