提交 db2fb9db 编写于 作者: R Rafa Bilski 提交者: Dave Jones

[CPUFREQ] Longhaul - Add support for CN400

Support for CN400 northbridge when ACPI C3 isn't available.
Tested on Epia SP13000. Thanks to Robert for testing it.
Signed-off-by: NRafa Bilski <rafalbilski@interia.pl>
Signed-off-by: NDave Jones <davej@redhat.com>
上级 3f4a25f1
...@@ -583,6 +583,10 @@ static int enable_arbiter_disable(void) ...@@ -583,6 +583,10 @@ static int enable_arbiter_disable(void)
if (dev == NULL) { if (dev == NULL) {
reg = 0x76; reg = 0x76;
dev = pci_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_862X_0, NULL); 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) { if (dev != NULL) {
/* Enable access to port 0x22 */ /* Enable access to port 0x22 */
...@@ -734,7 +738,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy) ...@@ -734,7 +738,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
return 0; return 0;
err_acpi: 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; return -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册