mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 08:35:19 +02:00
0198b8c8cf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21568 3c298f89-4303-0410-b956-a3cf2f4a3e73
30 lines
920 B
Diff
30 lines
920 B
Diff
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
|
|
|
|
The ralink SoC platforms do not have an MCU.
|
|
|
|
Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
|
|
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
|
|
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
|
|
---
|
|
drivers/net/wireless/rt2x00/rt2800pci.c | 6 ++++++
|
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
|
|
@@ -66,6 +66,12 @@ static void rt2800pci_mcu_status(struct
|
|
if (rt2x00_is_soc(rt2x00dev))
|
|
return;
|
|
|
|
+ /*
|
|
+ * SOC devices don't support MCU requests.
|
|
+ */
|
|
+ if (rt2x00_is_soc(rt2x00dev))
|
|
+ return;
|
|
+
|
|
for (i = 0; i < 200; i++) {
|
|
rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, ®);
|
|
|