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
cf937c60
Commit
cf937c60
authored
Apr 02, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] DMI scanner update.
Various quirks from 2.4 and other sources.
parent
8118b0ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
3 deletions
+55
-3
arch/i386/kernel/dmi_scan.c
arch/i386/kernel/dmi_scan.c
+55
-3
No files found.
arch/i386/kernel/dmi_scan.c
View file @
cf937c60
...
...
@@ -437,6 +437,25 @@ static int __init local_apic_kills_bios(struct dmi_blacklist *d)
return
0
;
}
/*
* The Microstar 6163-2 (a.k.a Pro) mainboard will hang shortly after
* resumes, and also at what appears to be asynchronous APM events,
* if the local APIC is enabled.
*/
static
int
__init
apm_kills_local_apic
(
struct
dmi_blacklist
*
d
)
{
#ifdef CONFIG_X86_LOCAL_APIC
extern
int
dont_enable_local_apic
;
if
(
apm_info
.
bios
.
version
&&
!
dont_enable_local_apic
)
{
dont_enable_local_apic
=
1
;
printk
(
KERN_WARNING
"%s with broken BIOS detected. "
"Refusing to enable the local APIC.
\n
"
,
d
->
ident
);
}
#endif
return
0
;
}
/*
* The Intel AL440LX mainboard will hang randomly if the local APIC
* timer is running and the APM BIOS hasn't been disabled.
...
...
@@ -483,10 +502,10 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
} },
#endif
{
broken_ps2_resume
,
"Dell Latitude C600"
,
{
/* Handle problems with APM on the C600 */
MATCH
(
DMI_SYS_VENDOR
,
"Dell"
),
MATCH
(
DMI_SYS_VENDOR
,
"Dell"
),
MATCH
(
DMI_PRODUCT_NAME
,
"Latitude C600"
),
NO_MATCH
,
NO_MATCH
}
},
}
},
{
broken_apm_power
,
"Dell Inspiron 5000e"
,
{
/* Handle problems with APM on Inspiron 5000e */
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
MATCH
(
DMI_BIOS_VERSION
,
"A04"
),
...
...
@@ -512,6 +531,11 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
MATCH
(
DMI_PRODUCT_NAME
,
"PowerEdge 300/"
),
NO_MATCH
,
NO_MATCH
}
},
{
set_bios_reboot
,
"Dell PowerEdge 2400"
,
{
/* Handle problems with rebooting on Dell 300/800's */
MATCH
(
DMI_SYS_VENDOR
,
"Dell Computer Corporation"
),
MATCH
(
DMI_PRODUCT_NAME
,
"PowerEdge 2400"
),
NO_MATCH
,
NO_MATCH
}
},
{
set_apm_ints
,
"Dell Inspiron"
,
{
/* Allow interrupts during suspend on Dell Inspiron laptops*/
MATCH
(
DMI_SYS_VENDOR
,
"Dell Computer Corporation"
),
MATCH
(
DMI_PRODUCT_NAME
,
"Inspiron 4000"
),
...
...
@@ -533,12 +557,23 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
MATCH
(
DMI_PRODUCT_NAME
,
"Delhi3"
),
NO_MATCH
,
NO_MATCH
,
}
},
{
apm_is_horked
,
"Fujitsu-Siemens"
,
{
/* APM crashes */
MATCH
(
DMI_BIOS_VENDOR
,
"hoenix/FUJITSU SIEMENS"
),
MATCH
(
DMI_BIOS_VERSION
,
"Version1.01"
),
NO_MATCH
,
NO_MATCH
,
}
},
{
apm_is_horked
,
"Sharp PC-PJ/AX"
,
{
/* APM crashes */
MATCH
(
DMI_SYS_VENDOR
,
"SHARP"
),
MATCH
(
DMI_PRODUCT_NAME
,
"PC-PJ/AX"
),
MATCH
(
DMI_BIOS_VENDOR
,
"SystemSoft"
),
MATCH
(
DMI_BIOS_VERSION
,
"Version R2.08"
)
}
},
{
apm_is_horked
,
"Dell Inspiron 2500"
,
{
/* APM crashes */
MATCH
(
DMI_SYS_VENDOR
,
"Dell Computer Corporation"
),
MATCH
(
DMI_PRODUCT_NAME
,
"Inspiron 2500"
),
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
MATCH
(
DMI_BIOS_VERSION
,
"A11"
)
}
},
{
sony_vaio_laptop
,
"Sony Vaio"
,
{
/* This is a Sony Vaio laptop */
MATCH
(
DMI_SYS_VENDOR
,
"Sony Corporation"
),
MATCH
(
DMI_PRODUCT_NAME
,
"PCG-"
),
...
...
@@ -548,7 +583,7 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
MATCH
(
DMI_BIOS_VERSION
,
"R0206H"
),
MATCH
(
DMI_BIOS_DATE
,
"08/23/99"
),
NO_MATCH
}
},
}
},
{
swab_apm_power_in_minutes
,
"Sony VAIO"
,
{
/* Handle problems with APM on Sony Vaio PCG-N505VX */
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
...
...
@@ -574,6 +609,12 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
MATCH
(
DMI_BIOS_DATE
,
"08/11/00"
),
NO_MATCH
}
},
{
swab_apm_power_in_minutes
,
"Sony VAIO"
,
{
/* Handle problems with APM on Sony Vaio PCG-Z600LEK(DE) */
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
MATCH
(
DMI_BIOS_VERSION
,
"R0206Z3"
),
MATCH
(
DMI_BIOS_DATE
,
"12/25/00"
),
NO_MATCH
}
},
{
swab_apm_power_in_minutes
,
"Sony VAIO"
,
{
/* Handle problems with APM on Sony Vaio PCG-Z505LS */
MATCH
(
DMI_BIOS_VENDOR
,
"Phoenix Technologies LTD"
),
MATCH
(
DMI_BIOS_VERSION
,
"R0203D0"
),
...
...
@@ -617,6 +658,17 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
NO_MATCH
,
NO_MATCH
}
},
{
local_apic_kills_bios
,
"IBM Thinkpad T20"
,
{
MATCH
(
DMI_BOARD_VENDOR
,
"IBM"
),
MATCH
(
DMI_BOARD_NAME
,
"264741U"
),
NO_MATCH
,
NO_MATCH
}
},
{
apm_kills_local_apic
,
"Microstar 6163"
,
{
MATCH
(
DMI_BOARD_VENDOR
,
"MICRO-STAR INTERNATIONAL CO., LTD"
),
MATCH
(
DMI_BOARD_NAME
,
"MS-6163"
),
NO_MATCH
,
NO_MATCH
}
},
{
apm_kills_local_apic_timer
,
"Intel AL440LX"
,
{
MATCH
(
DMI_BOARD_VENDOR
,
"Intel Corporation"
),
MATCH
(
DMI_BOARD_NAME
,
"AL440LX"
),
...
...
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