Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
573d821f
Commit
573d821f
authored
Jan 26, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.0
into intel.com:/home/lenb/src/linux-acpi-test-2.6.1
parents
9cbe400a
3a464adc
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
36 additions
and
28 deletions
+36
-28
arch/i386/boot/setup.S
arch/i386/boot/setup.S
+1
-1
drivers/acpi/ac.c
drivers/acpi/ac.c
+1
-1
drivers/acpi/asus_acpi.c
drivers/acpi/asus_acpi.c
+4
-4
drivers/acpi/battery.c
drivers/acpi/battery.c
+1
-1
drivers/acpi/button.c
drivers/acpi/button.c
+1
-1
drivers/acpi/ec.c
drivers/acpi/ec.c
+1
-1
drivers/acpi/fan.c
drivers/acpi/fan.c
+1
-1
drivers/acpi/osl.c
drivers/acpi/osl.c
+7
-6
drivers/acpi/power.c
drivers/acpi/power.c
+1
-1
drivers/acpi/processor.c
drivers/acpi/processor.c
+1
-1
drivers/acpi/scan.c
drivers/acpi/scan.c
+4
-4
drivers/acpi/tables.c
drivers/acpi/tables.c
+10
-3
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+2
-2
drivers/acpi/toshiba_acpi.c
drivers/acpi/toshiba_acpi.c
+1
-1
No files found.
arch/i386/boot/setup.S
View file @
573d821f
...
...
@@ -307,7 +307,7 @@ loader_ok:
#
a
whole
bunch
of
different
types
,
and
allows
memory
holes
and
#
everything
.
We
scan
through
this
memory
map
and
build
a
list
#
of
the
first
32
memory
areas
,
which
we
return
at
[
E820MAP
]
.
#
This
is
documented
at
http
:
//
www
.
teleport
.
com
/
~
acpi
/
acpihtml
/
topic245
.
htm
#
This
is
documented
at
http
:
//
www
.
acpi
.
info
/,
in
the
ACPI
2
.0
specification
.
#define SMAP 0x534d4150
...
...
drivers/acpi/ac.c
View file @
573d821f
...
...
@@ -108,7 +108,7 @@ acpi_ac_get_state (
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_ac_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_ac_dir
;
int
acpi_ac_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
...
...
drivers/acpi/asus_acpi.c
View file @
573d821f
...
...
@@ -73,8 +73,8 @@ MODULE_DESCRIPTION(ACPI_HOTK_NAME);
MODULE_LICENSE
(
"GPL"
);
static
uid_t
asus_uid
=
0
;
static
gid_t
asus_gid
=
0
;
static
uid_t
asus_uid
;
static
gid_t
asus_gid
;
MODULE_PARM
(
asus_uid
,
"i"
);
MODULE_PARM_DESC
(
uid
,
"UID for entries in /proc/acpi/asus.
\n
"
);
MODULE_PARM
(
asus_gid
,
"i"
);
...
...
@@ -192,14 +192,14 @@ static struct model_data model_conf[END_MODEL] = {
};
/* procdir we use */
static
struct
proc_dir_entry
*
asus_proc_dir
=
NULL
;
static
struct
proc_dir_entry
*
asus_proc_dir
;
/*
* This header is made available to allow proper configuration given model,
* revision number , ... this info cannot go in struct asus_hotk because it is
* available before the hotk
*/
static
struct
acpi_table_header
*
asus_info
=
NULL
;
static
struct
acpi_table_header
*
asus_info
;
/*
* The hotkey driver declaration
...
...
drivers/acpi/battery.c
View file @
573d821f
...
...
@@ -340,7 +340,7 @@ acpi_battery_check (
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_battery_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_battery_dir
;
static
int
acpi_battery_read_info
(
...
...
drivers/acpi/button.c
View file @
573d821f
...
...
@@ -107,7 +107,7 @@ static struct file_operations acpi_button_state_fops = {
FS Interface (/proc)
-------------------------------------------------------------------------- */
static
struct
proc_dir_entry
*
acpi_button_dir
=
NULL
;
static
struct
proc_dir_entry
*
acpi_button_dir
;
static
int
acpi_button_info_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
...
...
drivers/acpi/ec.c
View file @
573d821f
...
...
@@ -475,7 +475,7 @@ acpi_ec_space_handler (
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_ec_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_ec_dir
;
static
int
...
...
drivers/acpi/fan.c
View file @
573d821f
...
...
@@ -71,7 +71,7 @@ struct acpi_fan {
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_fan_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_fan_dir
;
static
int
...
...
drivers/acpi/osl.c
View file @
573d821f
...
...
@@ -59,13 +59,13 @@ struct acpi_os_dpc
#ifdef ENABLE_DEBUGGER
#include <linux/kdb.h>
/* stuff for debugger support */
int
acpi_in_debugger
=
0
;
int
acpi_in_debugger
;
extern
char
line_buf
[
80
];
#endif
/*ENABLE_DEBUGGER*/
static
int
acpi_irq_irq
=
0
;
static
OSD_HANDLER
acpi_irq_handler
=
NULL
;
static
void
*
acpi_irq_context
=
NULL
;
static
int
acpi_irq_irq
;
static
OSD_HANDLER
acpi_irq_handler
;
static
void
*
acpi_irq_context
;
acpi_status
acpi_os_initialize
(
void
)
...
...
@@ -257,13 +257,13 @@ acpi_os_install_interrupt_handler(u32 irq, OSD_HANDLER handler, void *context)
return
AE_OK
;
}
#endif
acpi_irq_irq
=
irq
;
acpi_irq_handler
=
handler
;
acpi_irq_context
=
context
;
if
(
request_irq
(
irq
,
acpi_irq
,
SA_SHIRQ
,
"acpi"
,
acpi_irq
))
{
printk
(
KERN_ERR
PREFIX
"SCI (IRQ%d) allocation failed
\n
"
,
irq
);
return
AE_NOT_ACQUIRED
;
}
acpi_irq_irq
=
irq
;
return
AE_OK
;
}
...
...
@@ -271,12 +271,13 @@ acpi_os_install_interrupt_handler(u32 irq, OSD_HANDLER handler, void *context)
acpi_status
acpi_os_remove_interrupt_handler
(
u32
irq
,
OSD_HANDLER
handler
)
{
if
(
acpi_irq_handler
)
{
if
(
irq
)
{
#ifdef CONFIG_IA64
irq
=
acpi_irq_to_vector
(
irq
);
#endif
free_irq
(
irq
,
acpi_irq
);
acpi_irq_handler
=
NULL
;
acpi_irq_irq
=
0
;
}
return
AE_OK
;
...
...
drivers/acpi/power.c
View file @
573d821f
...
...
@@ -387,7 +387,7 @@ acpi_power_transition (
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_power_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_power_dir
;
static
int
acpi_power_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
...
...
drivers/acpi/processor.c
View file @
573d821f
...
...
@@ -138,7 +138,7 @@ static struct file_operations acpi_processor_limit_fops = {
static
struct
acpi_processor
*
processors
[
NR_CPUS
];
static
struct
acpi_processor_errata
errata
;
static
void
(
*
pm_idle_save
)(
void
)
=
NULL
;
static
void
(
*
pm_idle_save
)(
void
);
/* --------------------------------------------------------------------------
...
...
drivers/acpi/scan.c
View file @
573d821f
...
...
@@ -706,11 +706,11 @@ acpi_bus_add (
switch
(
type
)
{
case
ACPI_BUS_TYPE_DEVICE
:
result
=
acpi_bus_get_status
(
device
);
if
(
!
result
)
break
;
if
(
!
device
->
status
.
present
)
if
(
ACPI_FAILURE
(
result
)
||
!
device
->
status
.
present
)
{
result
=
-
ENOENT
;
goto
end
;
}
break
;
default:
STRUCT_TO_INT
(
device
->
status
)
=
0x0F
;
break
;
...
...
drivers/acpi/tables.c
View file @
573d821f
...
...
@@ -276,10 +276,17 @@ acpi_get_table_header_early (
/* Map the DSDT header via the pointer in the FADT */
if
(
id
==
ACPI_DSDT
)
{
struct
acpi_table_fadt
*
fadt
=
(
struct
acpi_table_fadt
*
)
*
header
;
struct
fadt_descriptor_rev2
*
fadt
=
(
struct
fadt_descriptor_rev2
*
)
*
header
;
*
header
=
(
void
*
)
__acpi_map_table
(
fadt
->
dsdt_addr
,
if
(
fadt
->
revision
==
3
&&
fadt
->
Xdsdt
)
{
*
header
=
(
void
*
)
__acpi_map_table
(
fadt
->
Xdsdt
,
sizeof
(
struct
acpi_table_header
));
}
else
if
(
fadt
->
V1_dsdt
)
{
*
header
=
(
void
*
)
__acpi_map_table
(
fadt
->
V1_dsdt
,
sizeof
(
struct
acpi_table_header
));
}
else
*
header
=
0
;
if
(
!*
header
)
{
printk
(
KERN_WARNING
PREFIX
"Unable to map DSDT
\n
"
);
return
-
ENODEV
;
...
...
drivers/acpi/thermal.c
View file @
573d821f
...
...
@@ -74,7 +74,7 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_THERMAL_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
static
int
tzp
=
0
;
static
int
tzp
;
MODULE_PARM
(
tzp
,
"i"
);
MODULE_PARM_DESC
(
tzp
,
"Thermal zone polling frequency, in 1/10 seconds.
\n
"
);
...
...
@@ -766,7 +766,7 @@ acpi_thermal_check (
FS Interface (/proc)
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_thermal_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_thermal_dir
;
static
int
acpi_thermal_state_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
...
...
drivers/acpi/toshiba_acpi.c
View file @
573d821f
...
...
@@ -215,7 +215,7 @@ hci_read1(u32 reg, u32* out1, u32* result)
return
status
;
}
static
struct
proc_dir_entry
*
toshiba_proc_dir
=
NULL
;
static
struct
proc_dir_entry
*
toshiba_proc_dir
;
static
int
force_fan
;
static
int
last_key_event
;
static
int
key_event_valid
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment