Merge tag 'xfs-for-linus-4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / drivers / staging / rtl8192u / r8180_93cx6.h
CommitLineData
8fc8598e
JC
1/*
2 This is part of rtl8187 OpenSource driver
559a4c31 3 Copyright (C) Andrea Merello 2004-2005 <andrea.merello@gmail.com>
8fc8598e
JC
4 Released under the terms of GPL (General Public Licence)
5
6b261669
SS
6 Parts of this driver are based on the GPL part of the
7 official realtek driver
8 Parts of this driver are based on the rtl8180 driver skeleton
9 from Patric Schenke & Andres Salomon
8fc8598e
JC
10 Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
11
6b261669
SS
12 We want to thank the Authors of such projects and the Ndiswrapper
13 project Authors.
8fc8598e
JC
14*/
15
16/*This files contains card eeprom (93c46 or 93c56) programming routines*/
17/*memory is addressed by WORDS*/
18
19#include "r8192U.h"
20#include "r8192U_hw.h"
21
22#define EPROM_DELAY 10
23
24#define EPROM_ANAPARAM_ADDRLWORD 0xd
25#define EPROM_ANAPARAM_ADDRHWORD 0xe
26
27#define EPROM_RFCHIPID 0x6
28#define EPROM_TXPW_BASE 0x05
29#define EPROM_RFCHIPID_RTL8225U 5
30#define EPROM_RF_PARAM 0x4
31#define EPROM_CONFIG2 0xc
32
33#define EPROM_VERSION 0x1E
34#define MAC_ADR 0x7
35
36#define CIS 0x18
37
38#define EPROM_TXPW0 0x16
39#define EPROM_TXPW2 0x1b
40#define EPROM_TXPW1 0x3d
41
42
6b261669 43u32 eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */
This page took 0.450071 seconds and 5 git commands to generate.