]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[CPUFREQ] Longhaul - Add support for PM133 northbridge
authorRafał Bilski <rafalbilski@interia.pl>
Wed, 26 Sep 2007 15:08:14 +0000 (17:08 +0200)
committerDave Jones <davej@redhat.com>
Thu, 4 Oct 2007 22:40:56 +0000 (18:40 -0400)
Add support for PM133 northbridge. Tested by Sylvain Ferrand.

Signed-off-by: Rafal Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c

index ef8f0bc3fc71bd2b7ebdd936cd09960592af5870..58816facc435b84ae6f4ebb494df1ca65ea1ca73 100644 (file)
@@ -665,6 +665,10 @@ static int enable_arbiter_disable(void)
        reg = 0x78;
        dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8601_0,
                             NULL);
+       /* Find PM133/VT8605 host bridge */
+       if (dev == NULL)
+               dev = pci_get_device(PCI_VENDOR_ID_VIA,
+                                    PCI_DEVICE_ID_VIA_8605_0, NULL);
        /* Find CLE266 host bridge */
        if (dev == NULL) {
                reg = 0x76;