Bug 1364

Summary: ACPI without PCI
Product: ACPI Reporter: Len Brown (lenb)
Component: Config-OtherAssignee: Len Brown (lenb)
Severity: low CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.4.22, 2.4.23-pre7, 2.6.0-test7 Tree: Mainline
Regression: ---
Attachments: patch vs 2.6.13-rc6+ACPI-patches

Description Len Brown 2003-10-15 13:20:58 UTC
ACPI doesn't build if CONFIG_PCI is not enabled: 
arch/i386/kernel/kernel.o(.text.init+0x3cd0): In function `disable_acpi_pci': 
: undefined reference to `use_acpi_pci' 
drivers/acpi/acpi.o(.text.init+0x94e): In function `acpi_bus_init': 
: undefined reference to `eisa_set_level_irq' 
When the build is fixed and ACPI is booted with a !CONFIG_PCI kernel, it complains: 
Linux version 2.6.0-test7 (lenb@dhcppc27) (gcc version 3.3.1 20030930 (Red Hat L 
inux 3.3.1-6)) #1 Wed Oct 15 14:28:59 EDT 2003 
ACPI: Subsystem revision 20031002 
    ACPI-0345: *** Error: Handler for [PCI_Config] returned AE_SUPPORT 
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0.LNK1._STA] (Node c 
df6b720), AE_SUPPORT 
    ACPI-0098: *** Error: Method execution failed [\_SB_.PCI0.LNK1._STA] (Node c 
df6b720), AE_SUPPORT 
But it _does_ work -- the power button event is caught and handled.
Comment 1 Len Brown 2003-11-13 10:49:13 UTC
i386 !PCI build is now fixed 
x86_64 !PCI build is still broken 
boot-time messages still present on !PCI config. 
Comment 2 Luming Yu 2005-04-27 00:50:32 UTC
Just tried building to-akpm tree without PCI, it is ok if #undef 
Comment 3 Len Brown 2005-08-25 10:26:32 UTC
Created attachment 5762 [details]
patch vs 2.6.13-rc6+ACPI-patches

delete CONFIG_ACPI_PCI altogether,
ACPI now selects PCI if it isn't enabled already.

applied to-akpm.
Comment 4 Len Brown 2005-09-09 09:11:36 UTC
shipped in 2.6.13-git9