Re: [PATCH] include: pci_find_device remove (include/asm-i386/ide.h)

Matthew Wilcox
2005-09-12T11:21:43Z

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.