]> err.no Git - linux-2.6/commitdiff
[CPUFREQ] Longhaul - VT8237 support
authorRafał Bilski <rafalbilski@interia.pl>
Thu, 17 May 2007 20:35:29 +0000 (22:35 +0200)
committerDave Jones <davej@redhat.com>
Tue, 29 May 2007 20:56:39 +0000 (16:56 -0400)
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>
arch/i386/kernel/cpu/cpufreq/longhaul.c

index f85cff4ebba5810e5541fae5c033460965a61689..d004e073b479b81118f30fd7802e6457d054d5b3 100644 (file)
@@ -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);