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

Jeff Garzik
2005-09-10T23:35:26Z

Matthew Wilcox wrote:
> On Sat, Sep 10, 2005 at 05:39:52PM -0400, Jeff Garzik wrote:
>
>>Look at what the IDE code is trying to do. All it cares about is
>>whether -any PCI device at all- is present, a boolean value.
>
>
> Why not change it to query whether any IDE device is present, perhaps
> using pci_get_class()?

Because that's not what the code is attempting to discover.

Jeff