From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH] include: pci_find_device remove (include/asm-i386/ide.h) Date: Mon, 12 Sep 2005 05:21:30 -0600 Message-ID: <20050912112130.GB32395@parisc-linux.org> References: <200509102032.j8AKWxMC006246@localhost.localdomain> <4323482E.2090409@pobox.com> <20050910211932.GA13679@kroah.com> <432352A8.3010605@pobox.com> <20050910223333.GF4770@parisc-linux.org> <43236DAE.8000802@pobox.com> <20050911003409.GB25282@colo.lackof.org> <1126400817.30449.22.camel@localhost.localdomain> <20050911013004.GI4770@parisc-linux.org> <1126520241.30449.42.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1126520241.30449.42.camel@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Alan Cox Cc: Grant Grundler , Jeff Garzik , Greg KH , Jiri Slaby , Greg KH , Linux Kernel Mailing List , linux-pci@atrey.karlin.mff.cuni.cz, linux-ide@vger.kernel.org, B.Zolnierkiewicz@elka.pw.edu.pl List-Id: linux-ide@vger.kernel.org On Mon, Sep 12, 2005 at 11:17:21AM +0100, Alan Cox wrote: > On Sad, 2005-09-10 at 19:30 -0600, Matthew Wilcox wrote: > > > Lots of them. We also want to know if PCI is present so we can know > > > whether to do the IDE tertiary scan which isn't safe on a PCI bus box. > > > > surely this is worthy of a comment in the code. there's at least 3 > > people on the cc who're confused bby what it's for. > > Thats because someone removed the obvious pci_present() function some > time ago. Huh? Even if we had pci_present(), it still wouldn't be obvious that a tertiary scan is unsafe on a PCI-based box.