diff options
author | RafaĆ Bilski <rafalbilski@interia.pl> | 2007-05-17 16:35:29 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-05-29 16:56:39 -0400 |
commit | 920dd0fbba1a7aa34c45b73699dcaf092850df51 (patch) | |
tree | 16667b7814d46f8b21e72bbf13f754486a5c0c04 /arch/i386/kernel/cpu/cpufreq/longhaul.c | |
parent | 7d5edcc028f1bed2542a96edc2356e484f01ee47 (diff) |
[CPUFREQ] Longhaul - VT8237 support
Looks like VT8237 has the same bits which VT8235 has.
Poke registers if it is found.
Signed-off-by: Rafal Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/longhaul.c')
-rw-r--r-- | 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 index f85cff4ebba5..d004e073b479 100644 --- 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) | |||
633 | 633 | ||
634 | /* Find VT8235 southbridge */ | 634 | /* Find VT8235 southbridge */ |
635 | dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, NULL); | 635 | dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, NULL); |
636 | if (dev == NULL) | ||
637 | /* Find VT8237 southbridge */ | ||
638 | dev = pci_get_device(PCI_VENDOR_ID_VIA, | ||
639 | PCI_DEVICE_ID_VIA_8237, NULL); | ||
636 | if (dev != NULL) { | 640 | if (dev != NULL) { |
637 | /* Set transition time to max */ | 641 | /* Set transition time to max */ |
638 | pci_read_config_byte(dev, 0xec, &pci_cmd); | 642 | pci_read_config_byte(dev, 0xec, &pci_cmd); |