2009-02-21 22:38:07 +02:00
|
|
|
From 7519f0a01c65f7b34eeff9411aa90373e082e501 Mon Sep 17 00:00:00 2001
|
2009-02-16 21:55:09 +02:00
|
|
|
From: Ivo van Doorn <IvDoorn@gmail.com>
|
|
|
|
Date: Sun, 8 Feb 2009 17:08:28 +0100
|
|
|
|
Subject: [PATCH] rt2x00: Remove check for rf word 0 (rt2800pci)
|
|
|
|
|
|
|
|
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
|
|
|
|
---
|
|
|
|
drivers/net/wireless/rt2x00/rt2800pci.c | 3 ---
|
|
|
|
drivers/net/wireless/rt2x00/rt2800pci.h | 4 ++--
|
|
|
|
2 files changed, 2 insertions(+), 5 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
|
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
2009-02-26 20:03:20 +02:00
|
|
|
@@ -125,9 +125,6 @@ static void rt2800pci_rf_write(struct rt
|
2009-02-16 21:55:09 +02:00
|
|
|
{
|
|
|
|
u32 reg;
|
|
|
|
|
|
|
|
- if (!word)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
mutex_lock(&rt2x00dev->csr_mutex);
|
|
|
|
|
|
|
|
/*
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.h
|
|
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.h
|
|
|
|
@@ -68,8 +68,8 @@
|
|
|
|
#define EEPROM_SIZE 0x0110
|
|
|
|
#define BBP_BASE 0x0000
|
|
|
|
#define BBP_SIZE 0x0080
|
|
|
|
-#define RF_BASE 0x0000
|
|
|
|
-#define RF_SIZE 0x0014
|
|
|
|
+#define RF_BASE 0x0004
|
|
|
|
+#define RF_SIZE 0x0010
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Number of TX queues.
|