aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800pci.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-11-08 08:39:48 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 17:09:16 -0500
commit30e840346c516ad4e36f710fa485933ccc7afa66 (patch)
treea8489add516573512e64ebd534c07963e5ba3c05 /drivers/net/wireless/rt2x00/rt2800pci.h
parent4116cb483ec148e30f70408ad0600304a5de2a3c (diff)
rt2800: add eFuse EEPROM support code to rt2800lib
eFuse EEPROM is used also by USB chips (i.e. RT3070) so move the needed code from rt2800pci to rt2800lib. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800pci.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800pci.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.h b/drivers/net/wireless/rt2x00/rt2800pci.h
index 8f944ee8a970..b866dd01f286 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.h
+++ b/drivers/net/wireless/rt2x00/rt2800pci.h
@@ -56,35 +56,6 @@
56#define TX_DTX_IDX(__x) TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET) 56#define TX_DTX_IDX(__x) TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)
57 57
58/* 58/*
59 * EFUSE_CSR: RT3090 EEPROM
60 */
61#define EFUSE_CTRL 0x0580
62#define EFUSE_CTRL_ADDRESS_IN FIELD32(0x03fe0000)
63#define EFUSE_CTRL_MODE FIELD32(0x000000c0)
64#define EFUSE_CTRL_KICK FIELD32(0x40000000)
65#define EFUSE_CTRL_PRESENT FIELD32(0x80000000)
66
67/*
68 * EFUSE_DATA0
69 */
70#define EFUSE_DATA0 0x0590
71
72/*
73 * EFUSE_DATA1
74 */
75#define EFUSE_DATA1 0x0594
76
77/*
78 * EFUSE_DATA2
79 */
80#define EFUSE_DATA2 0x0598
81
82/*
83 * EFUSE_DATA3
84 */
85#define EFUSE_DATA3 0x059c
86
87/*
88 * 8051 firmware image. 59 * 8051 firmware image.
89 */ 60 */
90#define FIRMWARE_RT2860 "rt2860.bin" 61#define FIRMWARE_RT2860 "rt2860.bin"