[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <78C9135A3D2ECE4B8162EBDCE82CAD7702CAA89B@nekter>
Date: Tue, 8 Jan 2008 13:17:03 -0500
From: "Ramkrishna Vepa" <Ramkrishna.Vepa@...erion.com>
To: "David Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>
Subject: RE: [PATCH 3/7]: [NET]: Do not check netif_running() and carrier state in ->poll()
Dave,
This change is not required as the macro, is_s2io_card_up() checks for
an internal state of the adapter and not netif's state. We want to make
sure that the adapter registers are not accessed when the adapter is
being brought down.
> @@ -2704,9 +2704,6 @@ static int s2io_poll(struct napi_struct *napi,
int
> budget)
> struct XENA_dev_config __iomem *bar0 = nic->bar0;
> int i;
>
> - if (!is_s2io_card_up(nic))
> - return 0;
> -
> mac_control = &nic->mac_control;
> config = &nic->config;
>
Ram
--
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