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

From: Jeff Garzik
Date: Sat Sep 10 2005 - 18:35:43 EST


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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/