#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/timex.h>
#include <linux/io.h>
#include <linux/acpi.h>
#include <asm/msr.h>
#include <asm/cpu_device_id.h>
#include <acpi/processor.h>
#include "longhaul.h"
Go to the source code of this file.
|
| MODULE_DEVICE_TABLE (x86cpu, longhaul_id) |
|
| module_param (disable_acpi_c3, int, 0644) |
|
| MODULE_PARM_DESC (disable_acpi_c3,"Don't use ACPI C3 support") |
|
| module_param (scale_voltage, int, 0644) |
|
| MODULE_PARM_DESC (scale_voltage,"Scale voltage of processor") |
|
| module_param (revid_errata, int, 0644) |
|
| MODULE_PARM_DESC (revid_errata,"Ignore CPU Revision ID") |
|
| MODULE_AUTHOR ("Dave Jones <[email protected]>") |
|
| MODULE_DESCRIPTION ("Longhaul driver for VIA Cyrix processors.") |
|
| MODULE_LICENSE ("GPL") |
|
| late_initcall (longhaul_init) |
|
| module_exit (longhaul_exit) |
|
#define TYPE_LONGHAUL_V1 1 |
#define TYPE_LONGHAUL_V2 2 |
#define TYPE_POWERSAVER 3 |
#define USE_ACPI_C3 (1 << 1) |
#define USE_NORTHBRIDGE (1 << 2) |
late_initcall |
( |
longhaul_init |
| ) |
|
MODULE_DESCRIPTION |
( |
"Longhaul driver for VIA Cyrix processors." |
| ) |
|
MODULE_DEVICE_TABLE |
( |
x86cpu |
, |
|
|
longhaul_id |
|
|
) |
| |
module_exit |
( |
longhaul_exit |
| ) |
|
module_param |
( |
disable_acpi_c3 |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
scale_voltage |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
revid_errata |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
disable_acpi_c3 |
, |
|
|
"Don't use ACPI C3 support" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
scale_voltage |
, |
|
|
"Scale voltage of processor" |
|
|
) |
| |