Skip to contentSkip to conversation

Fixing ACPI compilation, fixing CONFIG_ACPI_BOOT

PATCH Pavel Machek 3 participants 3 messages Aug 4, 2002 – Aug 7, 2002 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

Here are patches to fix CONFIG_ACPI_BOOT. This is 3rd or so retransmit; I've seen no response at all. Please comment on the patch, or it is going directly to Linus.

Pavel

arch/i386/kernel/acpi.c +1 -3
@@ -53,11 +53,9 @@
                               Boot-time Configuration
    -------------------------------------------------------------------------- */
 
-#ifdef CONFIG_ACPI_BOOT
-
 enum acpi_irq_model_id		acpi_irq_model;
 
-
+#ifdef CONFIG_ACPI_BOOT
 /*
  * Use reserved fixmap pages for physical-to-virtual mappings of ACPI tables.
  * Note that the same range is used for each table, so tables that need to
include/linux/acpi.h +1 -1
@@ -39,7 +39,7 @@
 #include <asm/acpi.h>
 
 
-#ifdef CONFIG_ACPI_BOOT
+#ifdef CONFIG_ACPI
 
 enum acpi_irq_model_id {
 	ACPI_IRQ_MODEL_PIC = 0,
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?

A message that is not in the archive (sent off-list or not yet received): 20020804185103.GA14972-I/[email protected]

#2 lore raw

Hi!
I applied this patch in kernel 2.4.19
but what are you try to fix ?
boot parameters ?
if so what boot parameters can be used ?

pci=noacpi
gives again PCI: unknown option 'noacpi'

the only parameter that works is resume=/dev/hda5
when it is applied swusp patch.

I would like try
"pass pci=noacpi to the ACPI kernel"
I don't understand if this one boot parameter only for kernel 2.5.x or if I am missing something or if shouldn't be acpi=nopci ?.
I would like try this because since I put kernel (2.4.x) with acpi20020726, I think: my pci hsf modem and connection to internet start work badly, I am testing to find out where is the problem and try to arrive to one conclusion.
Anyway this pci hsf modem serves to test pci irq routing.

thanks

Sérgiomb

Quoted 28 lines · Pavel Machek

Hi!

Here are patches to fix CONFIG_ACPI_BOOT. This is 3rd or so retransmit; I've seen no response at all. Please comment on the patch, or it is going directly to Linus.

Pavel

arch/i386/kernel/acpi.c +1 -3
@@ -53,11 +53,9 @@
                               Boot-time Configuration
    -------------------------------------------------------------------------- */
 
-#ifdef CONFIG_ACPI_BOOT
-
 enum acpi_irq_model_id		acpi_irq_model;
 
-
+#ifdef CONFIG_ACPI_BOOT
 /*
  * Use reserved fixmap pages for physical-to-virtual mappings of ACPI tables.
  * Note that the same range is used for each table, so tables that need to

include/linux/acpi.h line 45

Quoted 8 lines
include/linux/acpi.h +1 -1
@@ -39,7 +39,7 @@
 #include <asm/acpi.h>
 
 
-#ifdef CONFIG_ACPI_BOOT
+#ifdef CONFIG_ACPI
 
 enum acpi_irq_model_id {
 	ACPI_IRQ_MODEL_PIC = 0,

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): 1028597611.1620.42.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org

#4 lore raw

Hi!

Quoted 4 lines

I applied this patch in kernel 2.4.19
but what are you try to fix ?
boot parameters ?
if so what boot parameters can be used ?

Its 2.5.X patch, and it tries to fix CONFIG_ACPI_BOOT. Its not meant for 2.4.19.
Pavel

Signature · 8 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf