From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Millescamps Subject: Re: [PATCH v2 1/2] pci: do not check BAR0 mapping Date: Tue, 17 Sep 2013 13:26:23 +0200 Message-ID: <52383C5F.6010903@6wind.com> References: <1379363340-20870-1-git-send-email-thomas.monjalon@6wind.com> <6d68788d4315a3c2e13e244b0658429334df2572.1379413101.git.thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <6d68788d4315a3c2e13e244b0658429334df2572.1379413101.git.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 09/17/2013 12:21 PM, Thomas Monjalon wrote: > From: David Marchand > > Since DPDK 1.4, bars mapping is checked and prevent from initializing > drivers which do not use igb_uio mapping. > There is no need to check for bars mapping, especially BAR0 is not required. > If bars mapping failed, then pci_uio_map_resource will fail and we won't reach > this check. So get rid of BAR0 check. > > Signed-off-by: David Marchand > Acked-by: Stephen Hemminger Acked-by: Damien Millescamps