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
faea09e7
Commit
faea09e7
authored
Mar 26, 2004
by
Len Brown
Committed by
Len Brown
Mar 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] Linux specific updates from ACPICA 20040326
"acpi_wake_gpes_always_on" boot flag for old GPE behaviour
parent
ef84240d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
drivers/acpi/ec.c
drivers/acpi/ec.c
+2
-2
drivers/acpi/osl.c
drivers/acpi/osl.c
+21
-0
No files found.
drivers/acpi/ec.c
View file @
faea09e7
...
@@ -719,7 +719,7 @@ acpi_ec_start (
...
@@ -719,7 +719,7 @@ acpi_ec_start (
* Install GPE handler
* Install GPE handler
*/
*/
status
=
acpi_install_gpe_handler
(
NULL
,
ec
->
gpe_bit
,
status
=
acpi_install_gpe_handler
(
NULL
,
ec
->
gpe_bit
,
ACPI_
EVENT
_EDGE_TRIGGERED
,
&
acpi_ec_gpe_handler
,
ec
);
ACPI_
GPE
_EDGE_TRIGGERED
,
&
acpi_ec_gpe_handler
,
ec
);
if
(
ACPI_FAILURE
(
status
))
{
if
(
ACPI_FAILURE
(
status
))
{
return_VALUE
(
-
ENODEV
);
return_VALUE
(
-
ENODEV
);
}
}
...
@@ -803,7 +803,7 @@ acpi_ec_ecdt_probe (void)
...
@@ -803,7 +803,7 @@ acpi_ec_ecdt_probe (void)
* Install GPE handler
* Install GPE handler
*/
*/
status
=
acpi_install_gpe_handler
(
NULL
,
ec_ecdt
->
gpe_bit
,
status
=
acpi_install_gpe_handler
(
NULL
,
ec_ecdt
->
gpe_bit
,
ACPI_
EVENT
_EDGE_TRIGGERED
,
&
acpi_ec_gpe_handler
,
ACPI_
GPE
_EDGE_TRIGGERED
,
&
acpi_ec_gpe_handler
,
ec_ecdt
);
ec_ecdt
);
if
(
ACPI_FAILURE
(
status
))
{
if
(
ACPI_FAILURE
(
status
))
{
goto
error
;
goto
error
;
...
...
drivers/acpi/osl.c
View file @
faea09e7
...
@@ -1048,3 +1048,24 @@ acpi_serialize_setup(char *str)
...
@@ -1048,3 +1048,24 @@ acpi_serialize_setup(char *str)
__setup
(
"acpi_serialize"
,
acpi_serialize_setup
);
__setup
(
"acpi_serialize"
,
acpi_serialize_setup
);
/*
* Wake and Run-Time GPES are expected to be separate.
* We disable wake-GPEs at run-time to prevent spurious
* interrupts.
*
* However, if a system exists that shares Wake and
* Run-time events on the same GPE this flag is available
* to tell Linux to keep the wake-time GPEs enabled at run-time.
*/
int
__init
acpi_wake_gpes_always_on_setup
(
char
*
str
)
{
printk
(
KERN_INFO
PREFIX
"wake GPEs not disabled
\n
"
);
acpi_gbl_leave_wake_gpes_disabled
=
FALSE
;
return
1
;
}
__setup
(
"acpi_wake_gpes_always_on"
,
acpi_wake_gpes_always_on_setup
);
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