All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Ralink 3090 must load rt3090.bin firmware, not rt2860.bin.
@ 2011-04-21 19:25 Catalin(ux) M. BOIE
  2011-04-21 19:52 ` Ivo Van Doorn
  2011-04-21 20:25 ` Larry Finger
  0 siblings, 2 replies; 5+ messages in thread
From: Catalin(ux) M. BOIE @ 2011-04-21 19:25 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: TEXT/PLAIN, Size: 119 bytes --]

Hello.

Please apply it.
Thank you!

P.S. Please keep me in To/CC.

--
Catalin(ux) M. BOIE
http://kernel.embedromix.ro/

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1580 bytes --]

From cf0c7999f1620bb5dfbacfd83cecaa3cb69a1897 Mon Sep 17 00:00:00 2001
From: Catalin(ux) M. BOIE <catab@embedromix.ro>
Date: Wed, 20 Apr 2011 23:32:18 +0300
Subject: [PATCH] Ralink 3090 must load rt3090.bin firmware, not rt2860.bin.

rt2860.bin is working, I can get a link, but the led flashes continuously;
rt2860.bin is version 0.11, rt3090.bin is version 0.19.
I transfered a lot of data and is stable.

Signed-off-by: Catalin(ux) M. BOIE <catab@embedromix.ro>
---
 drivers/net/wireless/rt2x00/rt2800pci.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index 808073a..01745e3 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -282,7 +282,13 @@ static void rt2800pci_stop_queue(struct data_queue *queue)
  */
 static char *rt2800pci_get_firmware_name(struct rt2x00_dev *rt2x00dev)
 {
-	return FIRMWARE_RT2860;
+	switch (rt2x00dev->chip.rt) {
+	case RT3090:
+		return "rt3090.bin";
+
+	default:
+		return FIRMWARE_RT2860;
+	}
 }
 
 static int rt2800pci_write_firmware(struct rt2x00_dev *rt2x00dev,
@@ -1146,6 +1152,7 @@ MODULE_DESCRIPTION("Ralink RT2800 PCI & PCMCIA Wireless LAN driver.");
 MODULE_SUPPORTED_DEVICE("Ralink RT2860 PCI & PCMCIA chipset based cards");
 #ifdef CONFIG_PCI
 MODULE_FIRMWARE(FIRMWARE_RT2860);
+MODULE_FIRMWARE("rt3090.bin");
 MODULE_DEVICE_TABLE(pci, rt2800pci_device_table);
 #endif /* CONFIG_PCI */
 MODULE_LICENSE("GPL");
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-22 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 19:25 [PATCH] Ralink 3090 must load rt3090.bin firmware, not rt2860.bin Catalin(ux) M. BOIE
2011-04-21 19:52 ` Ivo Van Doorn
2011-04-21 20:25 ` Larry Finger
2011-04-22 10:05   ` Catalin(ux) M. BOIE
2011-04-22 10:10     ` Ivo Van Doorn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.