From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751302AbWFETJy (ORCPT ); Mon, 5 Jun 2006 15:09:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751308AbWFETJx (ORCPT ); Mon, 5 Jun 2006 15:09:53 -0400 Received: from nf-out-0910.google.com ([64.233.182.186]:47285 "EHLO nf-out-0910.google.com") by vger.kernel.org with ESMTP id S1751255AbWFETJw (ORCPT ); Mon, 5 Jun 2006 15:09:52 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=QDmQ56Z1+uJ2muO4JFYnSOuIzDN+tNaXUvXyIsMqYpk7xX6G28b8RlAs0izbY7YSNAnfxFXgu3uksmoR4F7r0SJYL5VDNlw4U18vN8Nu4V0eK/P0c+c1S/rE/GIADyzw2VBMQrG65koR6+X4rcNwJ+ywKhZy3oOV2DeCJrUtyDw= Message-ID: <44848184.5080102@gmail.com> Date: Mon, 05 Jun 2006 21:09:33 +0159 From: Jiri Slaby User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Jiri Slaby , Jeff Garzik , Greg KH , Linux Kernel Mailing List , linux-pci@atrey.karlin.mff.cuni.cz, netdev@vger.kernel.org, mb@bu3sch.de, st3@riseup.net Subject: Re: [PATCH 2/3] pci: bcm43xx avoid pci_find_device References: <20060526001053.D2349C7C58@atrey.karlin.mff.cuni.cz> <44764D4B.6050105@pobox.com> <4476D63E.8090207@gmail.com> <4476D6EC.4060501@pobox.com> <4476D95B.5030601@gmail.com> <4476DA5C.9080602@pobox.com> <4476DE47.7010907@gmail.com> <4476E203.1080701@pobox.com> <4476E69F.6020502@gmail.com> <20060605185614.GG6068@tuxdriver.com> In-Reply-To: <20060605185614.GG6068@tuxdriver.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org John W. Linville napsal(a): > On Fri, May 26, 2006 at 01:29:12PM +0159, Jiri Slaby wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Jeff Garzik napsal(a): >>> Jiri Slaby wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Jeff Garzik napsal(a): >>>>> The point is that you don't need to loop over the table, >>>>> pci_match_one_device() does that for you. >>>> The problem is, that there is no such function, I think. >>>> If you take a look at pci_dev_present: >>> The function you want is pci_dev_present(). >> Nope, it returns only 0/1. > > Did we get a resolution on this? I don't think Jeff is going to pull > this patch from me until you satisfy him that it is correct... :-) Yup: to use pci_get_device in some nice loop. But unfortunately here is no time now, that's the problem, I'll post corrected ones next month, sorry. regards, -- Jiri Slaby www.fi.muni.cz/~xslaby \_.-^-._ jirislaby@gmail.com _.-^-._/ B67499670407CE62ACC8 22A032CC55C339D47A7E