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
4f784a5b
Commit
4f784a5b
authored
Mar 21, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] handle exploding pnpbios
parent
3d8a95c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
arch/i386/kernel/dmi_scan.c
arch/i386/kernel/dmi_scan.c
+20
-0
drivers/pnp/pnpbios/core.c
drivers/pnp/pnpbios/core.c
+1
-1
No files found.
arch/i386/kernel/dmi_scan.c
View file @
4f784a5b
...
...
@@ -499,6 +499,19 @@ static __init int broken_ps2_resume(struct dmi_blacklist *d)
return
0
;
}
/*
* Exploding PnPBIOS. Don't yet know if its the BIOS or us for
* some entries
*/
static
__init
int
exploding_pnp_bios
(
struct
dmi_blacklist
*
d
)
{
printk
(
KERN_WARNING
"%s detected. Disabling PnPBIOS
\n
"
,
d
->
ident
);
dmi_broken
|=
BROKEN_PNP_BIOS
;
return
0
;
}
/*
* Simple "print if true" callback
...
...
@@ -687,6 +700,13 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
MATCH
(
DMI_BIOS_VERSION
,
"WXPO1Z3"
),
MATCH
(
DMI_BIOS_DATE
,
"10/26/01"
),
NO_MATCH
}
},
{
exploding_pnp_bios
,
"Higraded P14H"
,
{
/* BIOSPnP problem */
MATCH
(
DMI_BIOS_VENDOR
,
"American Megatrends Inc."
),
MATCH
(
DMI_BIOS_VERSION
,
"07.00T"
),
MATCH
(
DMI_SYS_VENDOR
,
"Higraded"
),
MATCH
(
DMI_PRODUCT_NAME
,
"P14H"
)
}
},
/* Machines which have problems handling enabled local APICs */
...
...
drivers/pnp/pnpbios/core.c
View file @
4f784a5b
...
...
@@ -969,7 +969,7 @@ int __init pnpbios_init(void)
spin_lock_init
(
&
pnp_bios_lock
);
if
(
pnpbios_disabled
)
{
if
(
pnpbios_disabled
||
(
dmi_broken
&
BROKEN_PNP_BIOS
)
)
{
printk
(
KERN_INFO
"PnPBIOS: Disabled
\n
"
);
return
-
ENODEV
;
}
...
...
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