[PATCH firmware 3/3] rt2870sta: Use latest firmware for RT3070 and RT3071

Ben Hutchings
2011-05-17T12:27:33Z

Ralink's original drivers for RT2800U-family chips used multiple
different versions of the firmware for different chips. The rt2870sta
driver in staging was briefly converted to load different files for
different chips. However, the current rt2870.bin provides 2 images
that are supposed to cover all of them, so:

- Replace rt3070.bin with a symlink. The driver will use the first
image and ignore the second.
- Replace rt3071.bin with a copy of the second image in the current
rt2870.bin.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
WHENCE | 12 +++++++++++-
rt3070.bin | Bin 4096 -> 10 bytes
rt3071.bin | Bin 4096 -> 4096 bytes
3 files changed, 11 insertions(+), 1 deletions(-)
mode change 100644 => 120000 rt3070.bin

diff --git a/WHENCE b/WHENCE
index e28b0cc..f005c0f 100644
--- a/WHENCE
+++ b/WHENCE
@@ -1120,12 +1120,22 @@ This is a link to rt2860.bin for compatibility.
Driver: rt2800usb - Ralink RT2870, RT3070, RT3071, RT3072, RT5370 wireless MACs

File: rt2870.bin
+
+Licence: Redistributable. See LICENCE.ralink-firmware.txt for details
+
+Binary file supplied by Shiang Tu <shiang_tu@ralinktech.com>. Firmware Version 29
+
+--------------------------------------------------------------------------
+
+Driver: rt2870sta - Ralink RT2870, RT3070, RT3071 wireless MACs
+
File: rt3070.bin
File: rt3071.bin

Licence: Redistributable. See LICENCE.ralink-firmware.txt for details

-Binary file supplied by Shiang Tu <shiang_tu@ralinktech.com>. Firmware Version 29
+rt3070.bin is a link to rt2870.bin for compatibility.
+rt3071.bin is a copy of bytes 4096-8191 of rt2870.bin for compatibility.

--------------------------------------------------------------------------

diff --git a/rt3070.bin b/rt3070.bin
deleted file mode 100644
index cd49e9601489592323d63bfe309dc8c0d18564b7..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 4096
zcmeHJ-A^3X72mltyDTi2*_qj}n*bS4b_1q0nO1HK$Zg27fX&x}JzyiXW`eBBaX=m0
zyZNdD)7ZRJRWl_Y50N585Gha2D%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0yRd#`9Ga)q2~V{ZhW8#=+hFa2wH;1w#r`~SSiN$SZNLzOZLscvwH?+js*k`J
hOS3WNh5?ACg?9dSGO&|@oeb<`U?&4C1Mxpz{x4dSGD-jd

diff --git a/rt3070.bin b/rt3070.bin
new file mode 120000
index 0000000..d233a1d
--- /dev/null
+++ b/rt3070.bin
@@ -0,0 +1 @@
+rt2870.bin
\ No newline at end of file
diff --git a/rt3071.bin b/rt3071.bin
index 6db66b3bc3ba367bee086e09adf314982abba71d..b1f44e0207aef4728ec0d401a499512f048a0b7b 100644
GIT binary patch
delta 1625
zcmb7EU2GIp6yCWrv)%s5?Cj52wm<8pEv3co&=!fYT@kkyp@z~9J1Z?_Vj5qJ$$+~w
zC^F+#UW|#i9Ryws*o}!Xnm$P6!5EXp7$1xpjETNo=w2U4v^Ua8j7rxtyMU!n`f|^A
zzx$n^d*;lw<90k%sZ@~EgQNi@y@n!#C^Cei9E$qoC`zE%KGgamQr<z)?^V$sZ|3E;
zi3H}}BI-(<W>q3BJUaGtWB{8oaWhyDh}`h0baSWl?IXd^L~#G1;M8PrYAQIT1<xK1
zu4LpVX62Vm`NA>ztK*?lFNfaCg)i9Q&v2M6_<WIph0hf+GJqm|3qQBt0e=^2z?tXf
zMB!T4?snF>?yWSlX7Z@2#im5u-uwukPj!^t<RTvl+&yx-Q1>183ABBtCYOA~)yr<y
zeHKeRx!fb>vz$F##VTNAt5rM*Sg<>*cvlma5V?FDsDK@;Q4Lkf;qzGu8gbn@j~*U2
zhjKevG1tvX(Xu<^9&x9!sj?z-drJxy!a19ju^D2Uitnr}I_297*Q3_G0<pA%VJVs0
z!>}17n&s+5v#~h<TZvSt{=>yRd$Bo4^%?<?0CkL1Ktm2<(Z^_3+hPcoVk0YvMQ#<!
z;#iJn6}kC4PabCWmzyG7wJuI1|3?U+8UpJ1Z%Lu=cduo!^6lk}-1y;!rX;ZG{DIo7
zleXzy5}FeA?(WWftZ$G)Kj{%xq|>ZiYj3riM%sSN6N8gd9fza$I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