2010-04-03 17:30:50 +03:00
|
|
|
From f18d4463d092162f34a8bd226505627ceeac3e8a Mon Sep 17 00:00:00 2001
|
|
|
|
From: Luis Correia <luis.f.correia@gmail.com>
|
|
|
|
Date: Sat, 3 Apr 2010 12:49:53 +0100
|
|
|
|
Subject: [PATCH] rt2x00: remove MCU requests for SoC platforms
|
|
|
|
|
2010-04-01 18:39:23 +03:00
|
|
|
The ralink SoC platforms do not have an MCU.
|
|
|
|
|
|
|
|
Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
|
2010-04-03 17:30:50 +03:00
|
|
|
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
|
|
|
|
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
|
2010-04-01 18:39:23 +03:00
|
|
|
---
|
2010-04-03 17:30:50 +03:00
|
|
|
drivers/net/wireless/rt2x00/rt2800pci.c | 6 ++++++
|
|
|
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
2010-04-01 18:39:23 +03:00
|
|
|
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
|
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
|
|
|
@@ -60,6 +60,12 @@ static void rt2800pci_mcu_status(struct
|
|
|
|
unsigned int i;
|
|
|
|
u32 reg;
|
|
|
|
|
|
|
|
+ /*
|
2010-04-03 17:30:50 +03:00
|
|
|
+ * SOC devices don't support MCU requests.
|
2010-04-01 18:39:23 +03:00
|
|
|
+ */
|
2010-04-03 17:30:50 +03:00
|
|
|
+ if (rt2x00_is_soc(rt2x00dev))
|
2010-04-01 18:39:23 +03:00
|
|
|
+ return;
|
|
|
|
+
|
|
|
|
for (i = 0; i < 200; i++) {
|
|
|
|
rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, ®);
|
|
|
|
|