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
nexedi
linux
Commits
b1cf0694
Commit
b1cf0694
authored
May 11, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] if _STA.functional, set _STA.present (Bjorn Helgaas)
workaround for Big Sur and Bull systems
parent
7ea74153
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
drivers/acpi/bus.c
drivers/acpi/bus.c
+8
-0
No files found.
drivers/acpi/bus.c
View file @
b1cf0694
...
...
@@ -112,6 +112,14 @@ acpi_bus_get_status (
else
STRUCT_TO_INT
(
device
->
status
)
=
0x0F
;
if
(
device
->
status
.
functional
&&
!
device
->
status
.
present
)
{
printk
(
KERN_WARNING
PREFIX
"Device [%s] status [%08x]: "
"functional but not present; setting present
\n
"
,
device
->
pnp
.
bus_id
,
(
u32
)
STRUCT_TO_INT
(
device
->
status
));
device
->
status
.
present
=
1
;
}
ACPI_DEBUG_PRINT
((
ACPI_DB_INFO
,
"Device [%s] status [%08x]
\n
"
,
device
->
pnp
.
bus_id
,
(
u32
)
STRUCT_TO_INT
(
device
->
status
)));
...
...
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