Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267251AbUJIRPq (ORCPT ); Sat, 9 Oct 2004 13:15:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267254AbUJIRPq (ORCPT ); Sat, 9 Oct 2004 13:15:46 -0400 Received: from puzzle.sasl.smtp.pobox.com ([207.8.226.4]:55494 "EHLO sasl.smtp.pobox.com") by vger.kernel.org with ESMTP id S267251AbUJIRPn (ORCPT ); Sat, 9 Oct 2004 13:15:43 -0400 Subject: Re: [KJ] [RFT 2.6] pci-gart.c replace pci_find_device with pci_get_device From: Scott Feldman Reply-To: sfeldma@pobox.com To: Hanna Linder Cc: lkml , kernel-janitors , greg@kroah.com, ak@suse.de In-Reply-To: <87680000.1097276112@w-hlinder.beaverton.ibm.com> References: <87680000.1097276112@w-hlinder.beaverton.ibm.com> Content-Type: text/plain Message-Id: <1097342134.3903.14.camel@sfeldma-mobl2.dsl-verizon.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 09 Oct 2004 10:15:34 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 694 Lines: 19 On Fri, 2004-10-08 at 15:55, Hanna Linder wrote: > @@ -81,7 +81,7 @@ static u32 gart_unmapped_entry; > > #define for_all_nb(dev) \ > dev = NULL; \ > - while ((dev = pci_find_device(PCI_VENDOR_ID_AMD, 0x1103, dev))!=NULL)\ > + while ((dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x1103, dev))!=NULL)\ > if (dev->bus->number == 0 && \ > (PCI_SLOT(dev->devfn) >= 24) && (PCI_SLOT(dev->devfn) <= 31)) for_each_pci_dev? -scott - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/