[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] VISWS: disable APM
(full email thread here:

Andrey Panin wrote:
>>Raj wrote:
>>>>>The build failed with an error 'Undefined reference to
>>>>Yep, I see that also.
>>>>>Can this be fixed ?? At the very least, hide APM options #if
>>>>>!(CONFIG_PC) ??
>>>i am not aware much about the apm dependencies. maintainers might answer
>>>this more correctly.
>>True. I should have copied Andrey on it earlier.
>>Andrey, any thoughts about how to keep VISWS from building APM
>>support? use Kconfig? or does VISWS support APM?
> IMHO Kconfig is the best choise. VISWS has no PC compatible BIOS at all,
> it uses ARC compilant firmware for startup and configuration. Even though
> this firmware does limited BIOS emulation for running ROMs on PCI cards, i
> dont think it has working APM BIOS implementation.

Raj, can you test this patch? It WorksForMe.

It disables APM & P4THERMAL support for X86_VISWS so that VISWS
builds correctly.


Prevent X86_VISWS config from building APM support.
APM isn't supported and it won't build if attempted.
Also disable P4THERMAL for VISWS.

Signed-off-by: Randy Dunlap <>

arch/i386/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -Naurp ./arch/i386/Kconfig~visws_noapm ./arch/i386/Kconfig
--- ./arch/i386/Kconfig~visws_noapm 2004-10-11 10:54:31.019559744 -0700
+++ ./arch/i386/Kconfig 2004-10-14 09:52:24.131743344 -0700
@@ -584,7 +584,7 @@ config X86_MCE_NONFATAL

config X86_MCE_P4THERMAL
bool "check for P4 thermal throttling interrupt."
- depends on X86_MCE && (X86_UP_APIC || SMP)
+ depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS
Enabling this feature will cause a message to be printed when the P4
enters thermal throttling.
@@ -879,7 +879,7 @@ source kernel/power/Kconfig
source "drivers/acpi/Kconfig"

menu "APM (Advanced Power Management) BIOS Support"
-depends on PM
+depends on PM && !X86_VISWS

config APM
tristate "APM (Advanced Power Management) BIOS support"
 \ /
  Last update: 2005-03-22 14:07    [W:0.038 / U:3.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site