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
055be65c
Commit
055be65c
authored
Sep 03, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
3d5fa36b
24d87639
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
arch/i386/kernel/dmi_scan.c
arch/i386/kernel/dmi_scan.c
+23
-0
No files found.
arch/i386/kernel/dmi_scan.c
View file @
055be65c
...
...
@@ -12,6 +12,7 @@
unsigned
long
dmi_broken
;
int
is_sony_vaio_laptop
;
int
is_unsafe_smbus
;
struct
dmi_header
{
...
...
@@ -459,6 +460,19 @@ static int __init apm_kills_local_apic_timer(struct dmi_blacklist *d)
return
0
;
}
/*
* Don't access SMBus on IBM systems which get corrupted eeproms
*/
static
__init
int
disable_smbus
(
struct
dmi_blacklist
*
d
)
{
if
(
is_unsafe_smbus
==
0
)
{
is_unsafe_smbus
=
1
;
printk
(
KERN_INFO
"%s machine detected. Disabling SMBus accesses.
\n
"
,
d
->
ident
);
}
return
0
;
}
/*
* Simple "print if true" callback
*/
...
...
@@ -732,6 +746,15 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
NO_MATCH
,
NO_MATCH
,
NO_MATCH
}
},
/*
* SMBus / sensors settings
*/
{
disable_smbus
,
"IBM"
,
{
MATCH
(
DMI_SYS_VENDOR
,
"IBM"
),
NO_MATCH
,
NO_MATCH
,
NO_MATCH
}
},
{
NULL
,
}
};
...
...
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