[rt2x00-users] [PATCH V4] rt2x00: remove MCU requests for SoC platforms

Ivo van Doorn ivdoorn at gmail.com
Sat Apr 3 11:55:38 UTC 2010


On Saturday 03 April 2010, Luis Correia wrote:
> The ralink SoC platforms do not have an MCU.
> 
> Signed-off-by: Luis Correia <luis.f.correia at gmail.com>

Acked-by: Ivo van Doorn <IvDoorn at gmail.com>

> ---
> 
> Removed flag usage as per Gertjan suggestion.
> 
> diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c
> b/drivers/net/wireless/rt2x00/rt2800pci.c
> index ce7e88e..1df2d44 100644
> --- a/drivers/net/wireless/rt2x00/rt2800pci.c
> +++ b/drivers/net/wireless/rt2x00/rt2800pci.c
> @@ -60,6 +60,12 @@ static void rt2800pci_mcu_status(struct rt2x00_dev
> *rt2x00dev, const u8 token)
>        unsigned int i;
>        u32 reg;
> 
> +       /*
> +        * 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, &reg);
> 





More information about the users mailing list