public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]  Add another PCI ID for ICH6 force hpet.
@ 2008-06-04  1:40 Krzysztof Oledzki
  2008-06-09 12:55 ` [PATCH] Add PCI ID for 6300ESB " Joe Buehler
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Oledzki @ 2008-06-04  1:40 UTC (permalink / raw)
  To: linux-kernel, tglx, mingo

>From 4c01199fa9cd9e5871ca96cd243a03aeae0d0f48 Mon Sep 17 00:00:00 2001
From: Krzysztof Piotr Oledzki <ole@ans.pl>
Date: Wed, 4 Jun 2008 03:30:26 +0200
Subject: [HPET] Add another PCI ID for ICH6 force hpet.

Tested on Asus P5GDC-V

$ lspci -n -n |grep ISA
00:1f.0 ISA bridge [0601]: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge [8086:2640] (rev 03)

Force enabled HPET at base address 0xfed00000
hpet clockevent registered
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
---
 arch/x86/kernel/quirks.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c
index d89a648..06e1fd6 100644
--- a/arch/x86/kernel/quirks.c
+++ b/arch/x86/kernel/quirks.c
@@ -158,6 +158,8 @@ static void ich_force_enable_hpet(struct pci_dev *dev)
 
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB2_0,
 			 ich_force_enable_hpet);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_0,
+			 ich_force_enable_hpet);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1,
 			 ich_force_enable_hpet);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0,
-- 
1.5.5.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH]  Add PCI ID for 6300ESB force hpet
  2008-06-04  1:40 [PATCH] Add another PCI ID for ICH6 force hpet Krzysztof Oledzki
@ 2008-06-09 12:55 ` Joe Buehler
  2008-06-20 16:18   ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Buehler @ 2008-06-09 12:55 UTC (permalink / raw)
  To: linux-kernel

Tested on Supermicro X6DVA-EG2.

# lspci
00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller (rev 02)
# lspci -n
00:1f.0 Class 0601: 8086:25a1 (rev 02)

kernel: pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
kernel: hpet clockevent registered
kernel: hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
kernel: hpet0: 3 64-bit timers, 14318180 Hz

--- linux-2.6.25.3/arch/x86/kernel/quirks.c.~1~	2008-05-10 00:48:50.000000000 -0400
+++ linux-2.6.25.3/arch/x86/kernel/quirks.c	2008-06-04 14:54:55.000000000 -0400
@@ -255,6 +255,8 @@
  		old_ich_force_enable_hpet(dev);
  }

+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_1,
+			 old_ich_force_enable_hpet_user);
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_0,
  			 old_ich_force_enable_hpet_user);
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_12,

-- 
Joe Buehler


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH]  Add PCI ID for 6300ESB force hpet
  2008-06-09 12:55 ` [PATCH] Add PCI ID for 6300ESB " Joe Buehler
@ 2008-06-20 16:18   ` Ingo Molnar
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2008-06-20 16:18 UTC (permalink / raw)
  To: Joe Buehler; +Cc: linux-kernel, the arch/x86 maintainers


* Joe Buehler <aspam@cox.net> wrote:

> Tested on Supermicro X6DVA-EG2.
>
> # lspci
> 00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller (rev 02)
> # lspci -n
> 00:1f.0 Class 0601: 8086:25a1 (rev 02)
>
> kernel: pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
> kernel: hpet clockevent registered
> kernel: hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
> kernel: hpet0: 3 64-bit timers, 14318180 Hz

applied to tip/timers/hpet. Thanks Joe,

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-20 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04  1:40 [PATCH] Add another PCI ID for ICH6 force hpet Krzysztof Oledzki
2008-06-09 12:55 ` [PATCH] Add PCI ID for 6300ESB " Joe Buehler
2008-06-20 16:18   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox