* [PATCH][2/4] Longhaul - VT8237
@ 2007-05-17 20:35 Rafał Bilski
0 siblings, 0 replies; only message in thread
From: Rafał Bilski @ 2007-05-17 20:35 UTC (permalink / raw)
To: Dave Jones; +Cc: cpufreq
Looks like VT8237 has the same bits which VT8235 has.
Poke registers if it is found.
Signed-off-by: Rafal Bilski <rafalbilski@interia.pl>
---
arch/i386/kernel/cpu/cpufreq/longhaul.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -633,6 +633,10 @@ static int longhaul_setup_southbridge(void)
/* Find VT8235 southbridge */
dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, NULL);
+ if (dev == NULL)
+ /* Find VT8237 southbridge */
+ dev = pci_get_device(PCI_VENDOR_ID_VIA,
+ PCI_DEVICE_ID_VIA_8237, NULL);
if (dev != NULL) {
/* Set transition time to max */
pci_read_config_byte(dev, 0xec, &pci_cmd);
--
----------------------------------------------------------------------
Nowy darmowy serwis og³oszeniowy Populada. Kup, sprzedaj, zamieñ
>>> http://link.interia.pl/f1a8a
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-17 20:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 20:35 [PATCH][2/4] Longhaul - VT8237 Rafał Bilski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.