Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262474AbVDOX4n (ORCPT ); Fri, 15 Apr 2005 19:56:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262485AbVDOX4n (ORCPT ); Fri, 15 Apr 2005 19:56:43 -0400 Received: from mail.kroah.org ([69.55.234.183]:52954 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262474AbVDOX4e (ORCPT ); Fri, 15 Apr 2005 19:56:34 -0400 Date: Fri, 15 Apr 2005 16:52:50 -0700 From: Greg KH To: Kylene Hall Cc: linux-kernel@vger.kernel.org, jgarzik@pobox.com Subject: Re: [PATCH] tpm: Stop taking over the non-unique lpc bus PCI ID, Also timer, stack and enum fixes Message-ID: <20050415235250.GA24204@kroah.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1226 Lines: 32 On Fri, Apr 15, 2005 at 05:06:06PM -0500, Kylene Hall wrote: > This patch is against the 2.6.12-rc2 kernel source. It changes the tpm > drivers from defining a pci driver structure to a format similar to the > drivers/char/watchdog/i8xx_tco driver. This is necessary because the > lpc_bus only has one PCI ID and claiming that ID in the pci driver probe > process prevents other drivers from finding their hardware. NO! DO NOT use pci_find_device(). It is broken for systems with pci hotplug (which means any pci system). Please use the way the driver currently works, that is correct. > This patch > also fixes numerous problems that were pointed out with timer > manipulations, large stack objects, lack of enums and defined constants. Why not split these up into the proper individual patches? Remember, one patch per "change". > Still lingering: > > How can I receive Hotplug and ACPI events without being a PCI driver? You can't, so don't. thanks, greg k-h - 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/