[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHXqBF+5WxSzGhrTLMEG1NXcULdnwWDHS8koTr907qRT9H5U8A@mail.gmail.com>
Date: Sat, 28 Jan 2012 06:41:34 +0100
From: Michał Mirosław <mirqus@...il.com>
To: Francois Romieu <romieu@...zoreil.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
Hayes Wang <hayeswang@...ltek.com>
Subject: Re: [PATCH net-next 7/7] r8169: remove work from irq handler.
2012/1/27 Francois Romieu <romieu@...zoreil.com>:
[...]
> --- a/drivers/net/ethernet/realtek/r8169.c
> +++ b/drivers/net/ethernet/realtek/r8169.c
[...]
> @@ -716,7 +722,10 @@ struct rtl8169_private {
> int (*do_ioctl)(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd);
>
> struct {
> + DECLARE_BITMAP(flags, RTL_FLAG_MAX);
> + struct mutex mutex;
> struct work_struct work;
> + bool enabled;
> } wk;
>
> unsigned features;
You could pull the "enabled" flag into "flags".
Best Regards,
Michał Mirosław
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists