Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932339AbVIJWdm (ORCPT ); Sat, 10 Sep 2005 18:33:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932341AbVIJWdl (ORCPT ); Sat, 10 Sep 2005 18:33:41 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:58325 "EHLO palinux.hppa") by vger.kernel.org with ESMTP id S932339AbVIJWdk (ORCPT ); Sat, 10 Sep 2005 18:33:40 -0400 Date: Sat, 10 Sep 2005 16:33:33 -0600 From: Matthew Wilcox To: Jeff Garzik Cc: 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 Subject: Re: [PATCH] include: pci_find_device remove (include/asm-i386/ide.h) Message-ID: <20050910223333.GF4770@parisc-linux.org> References: <200509102032.j8AKWxMC006246@localhost.localdomain> <4323482E.2090409@pobox.com> <20050910211932.GA13679@kroah.com> <432352A8.3010605@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <432352A8.3010605@pobox.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 531 Lines: 11 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()? - 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/