Hello.
Please apply it.
Thank you!
P.S. Please keep me in To/CC.
--
Catalin(ux) M. BOIE
http://kernel.embedromix.ro/
From cf0c7999f1620bb5dfbacfd83cecaa3cb69a1897 Mon Sep 17 00:00:00 2001
From: Catalin(ux) M. BOIE <catab@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
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