Skip to content

Commit

Permalink
[CPUFREQ] Longhaul - Add support for CN400
Browse files Browse the repository at this point in the history
Support for CN400 northbridge when ACPI C3 isn't available.
Tested on Epia SP13000. Thanks to Robert for testing it.

Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Rafa³ Bilski authored and Dave Jones committed Dec 12, 2006
1 parent 3f4a25f commit db2fb9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/i386/kernel/cpu/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,10 @@ static int enable_arbiter_disable(void)
if (dev == NULL) {
reg = 0x76;
dev = pci_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_862X_0, NULL);
/* Find CN400 V-Link host bridge */
if (dev == NULL)
dev = pci_find_device(PCI_VENDOR_ID_VIA, 0x7259, NULL);

}
if (dev != NULL) {
/* Enable access to port 0x22 */
Expand Down Expand Up @@ -734,7 +738,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
return 0;

err_acpi:
printk(KERN_ERR PFX "No ACPI support. No VT8601 or VT8623 northbridge. Aborting.\n");
printk(KERN_ERR PFX "No ACPI support. Unsupported northbridge. Aborting.\n");
return -ENODEV;
}

Expand Down

0 comments on commit db2fb9d

Please sign in to comment.