Patchwork [OpenWrt-Devel,v2] mac80211: enable support for RaLink Rt53xx USB devices in rt2800usb

login
register
Submitter Daniel Golle
Date 2011-12-25 16:16:30
Message ID <20111225161630.GA28319@localhost>
Download mbox | patch
Permalink /patch/1705/
State Accepted
Delegated to: Gabor Juhos
Headers show

Comments

Daniel Golle - 2011-12-25 16:16:30
Hi!

On Mon, Nov 14, 2011 at 03:01:34PM +0100, Daniel Golle wrote:
> The driver works quite nice and stable for me using a RaLink Rt5370 USB device.
> 
> Signed-off-by: Daniel Golle <dgolle@allnet.de>
> 
> Index: package/mac80211/Makefile
> ===================================================================
> --- package/mac80211/Makefile	(revision 29114)
> +++ package/mac80211/Makefile	(working copy)
> @@ -1147,6 +1147,7 @@
>  	CONFIG_RT2800_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \
>  	CONFIG_RT2800PCI=$(if $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \
>  	CONFIG_RT2800USB=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \
> +	CONFIG_RT2800USB_RT53XX=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),y) \
>  	CONFIG_RTL8180=$(if $(CONFIG_PACKAGE_kmod-rtl8180),m) \
>  	CONFIG_RTL8187=$(if $(CONFIG_PACKAGE_kmod-rtl8187),m) \
>  	CONFIG_RTL8192CE= \

Aparently this was wrong, CONFIG_RT2800USB_RT53XX is supposed to live in 
BUILDARGS rather than MAKE_OPTS to actually get support for the Rt5370.
Thanks to actmnophn for the hint!

This reverts changeset 29116 and adds it to the right section in the Makefile.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Gabor Juhos - 2012-01-25 07:47:06
2011.12.25. 17:16 keltezéssel, Daniel Golle írta:
> Hi!
> 
> On Mon, Nov 14, 2011 at 03:01:34PM +0100, Daniel Golle wrote:
>> The driver works quite nice and stable for me using a RaLink Rt5370 USB
>> device.
>> 
>> Signed-off-by: Daniel Golle <dgolle@allnet.de>
>> 
>> Index: package/mac80211/Makefile 
>> =================================================================== ---
>> package/mac80211/Makefile	(revision 29114) +++ package/mac80211/Makefile
>> (working copy) @@ -1147,6 +1147,7 @@ CONFIG_RT2800_LIB=$(if
>> $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \ CONFIG_RT2800PCI=$(if
>> $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \ CONFIG_RT2800USB=$(if
>> $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \ +	CONFIG_RT2800USB_RT53XX=$(if
>> $(CONFIG_PACKAGE_kmod-rt2800-usb),y) \ CONFIG_RTL8180=$(if
>> $(CONFIG_PACKAGE_kmod-rtl8180),m) \ CONFIG_RTL8187=$(if
>> $(CONFIG_PACKAGE_kmod-rtl8187),m) \ CONFIG_RTL8192CE= \
> 
> Aparently this was wrong, CONFIG_RT2800USB_RT53XX is supposed to live in 
> BUILDARGS rather than MAKE_OPTS to actually get support for the Rt5370. 
> Thanks to actmnophn for the hint!
> 
> This reverts changeset 29116 and adds it to the right section in the
> Makefile.
> 
> Signed-off-by: Daniel Golle <dgolle@allnet.de>

Applied.

Thanks,
Gabor

Patch

Index: package/mac80211/Makefile
===================================================================
--- package/mac80211/Makefile	(revision 29569)
+++ package/mac80211/Makefile	(working copy)
@@ -1095,6 +1096,7 @@ 
 	$(if $(NEED_RT2X00_LIB_LEDS),-DCONFIG_RT2X00_LIB_LEDS) \
 	$(if $(CONFIG_PACKAGE_kmod-rt2x00-pci),-DCONFIG_RT2X00_LIB_PCI) \
 	$(if $(CONFIG_PACKAGE_kmod-rt2x00-usb),-DCONFIG_RT2X00_LIB_USB) \
+	$(if $(CONFIG_PACKAGE_kmod-rt2x00-usb),-DCONFIG_RT2800USB_RT53XX) \
 	$(if $(CONFIG_PACKAGE_kmod-rt2x00-soc),-DCONFIG_RT2X00_LIB_SOC) \
 	$(if $(CONFIG_TARGET_atheros),-DCONFIG_ATH5K_AHB,-DCONFIG_ATH5K_PCI) \
 	$(if $(CONFIG_PACKAGE_kmod-iwl3945),-DCONFIG_IWL3945) \
@@ -1171,7 +1173,6 @@ 
 	CONFIG_RT2800_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \
 	CONFIG_RT2800PCI=$(if $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \
 	CONFIG_RT2800USB=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \
-	CONFIG_RT2800USB_RT53XX=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),y) \
 	CONFIG_RTL8180=$(if $(CONFIG_PACKAGE_kmod-rtl8180),m) \
 	CONFIG_RTL8187=$(if $(CONFIG_PACKAGE_kmod-rtl8187),m) \
 	CONFIG_RTL8192CE= \