Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752707AbZADXfh (ORCPT ); Sun, 4 Jan 2009 18:35:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752210AbZADXf1 (ORCPT ); Sun, 4 Jan 2009 18:35:27 -0500 Received: from one.firstfloor.org ([213.235.205.2]:56836 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbZADXf0 (ORCPT ); Sun, 4 Jan 2009 18:35:26 -0500 From: Andi Kleen References: <200901051236.281008835@firstfloor.org> In-Reply-To: <200901051236.281008835@firstfloor.org> To: akpm@linux-foundation.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [2/5] Allow HPET force enable on ICH10 HPET Message-Id: <20090104233639.659603E6652@basil.firstfloor.org> Date: Mon, 5 Jan 2009 00:36:39 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1252 Lines: 33 Intel "Smackover" x58 BIOS don't have HPET enabled in the BIOS, so allow to force enable it at least. The register layout is the same as in other recent ICHs, so all the code can be reused. Using numerical PCI-ID because it's unlikely the PCI-ID will be used anywhere else. Signed-off-by: Andi Kleen --- arch/x86/kernel/quirks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6.28-rc4-test/arch/x86/kernel/quirks.c =================================================================== --- linux-2.6.28-rc4-test.orig/arch/x86/kernel/quirks.c 2008-10-24 13:34:40.000000000 +0200 +++ linux-2.6.28-rc4-test/arch/x86/kernel/quirks.c 2008-12-15 17:31:24.000000000 +0100 @@ -170,7 +170,8 @@ ich_force_enable_hpet); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_7, ich_force_enable_hpet); - +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x3a16, /* ICH10 */ + ich_force_enable_hpet); static struct pci_dev *cached_dev; -- 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/