Skip to contentSkip to conversation

ACPI_BUS dependency for CONFIG_PNP

DISCUSSION Andi Kleen 3 participants 4 messages Nov 15, 2004 – Nov 16, 2004 2 messages not in the archive ACPI

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

2.6.10rc2 got this new dependency:

config PNP
bool "Plug and Play support"
depends on ISA || ACPI_BUS

from the ACPI update. This enables ISA-PNP on x86-64, where it was always disabled previously and is completely useless. Can someone explain the rationale behind that change? IMHO you should never use ISA-PNP without CONFIG_ISA.

I would prefer if that hunk was reverted.

Thanks,
-Andi

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

#2 lore raw
Quoted 11 lines · Andi Kleen

2.6.10rc2 got this new dependency:

config PNP
bool "Plug and Play support"
depends on ISA || ACPI_BUS

from the ACPI update. This enables ISA-PNP on x86-64, where it was always disabled previously and is completely useless. Can someone
explain the rationale behind that change? IMHO you should never use ISA-PNP without CONFIG_ISA.

Linux PNP handles up to 3 protocols:
ISAPNP -- useful only if CONFIG_ISA, independent of PNPBIOS and PNPACPI PNPBIOS -- useful only if acpi_disabled
PNPACPI -- useful if !acpi_disabled

drivers/pnp/isapnp/Kconfig appears to already have the dependency you're looking for to make sure that ISAPNP is not defined without CONFIG_ISA:

config ISAPNP
bool "ISA Plug and Play support"
depends on PNP && ISA

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

author
#3 lore raw
Quoted 13 lines · Len
Quoted 11 lines · Andi Kleen

2.6.10rc2 got this new dependency:

config PNP
bool "Plug and Play support"
depends on ISA || ACPI_BUS

from the ACPI update. This enables ISA-PNP on x86-64, where it was always disabled previously and is completely useless. Can someone
explain the rationale behind that change? IMHO you should never use ISA-PNP without CONFIG_ISA.

Quoted 4 lines

Linux PNP handles up to 3 protocols:
ISAPNP -- useful only if CONFIG_ISA, independent of PNPBIOS and PNPACPI PNPBIOS -- useful only if acpi_disabled
PNPACPI -- useful if !acpi_disabled

Useful for what? As far as I know no device on x86-64 needs PNPBIOS or PNPACPI

Quoted 8 lines

drivers/pnp/isapnp/Kconfig appears to already have the dependency you're looking for to make sure that ISAPNP is not defined without CONFIG_ISA:

config ISAPNP
bool "ISA Plug and Play support"
depends on PNP && ISA

Perhaps. But it doesn't work.

-Andi

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

#5 lore raw
Quoted 14 lines · Andi Kleen
Quoted 13 lines · Len
Quoted 11 lines · Andi Kleen

2.6.10rc2 got this new dependency:

config PNP
bool "Plug and Play support"
depends on ISA || ACPI_BUS

from the ACPI update. This enables ISA-PNP on x86-64, where it was always disabled previously and is completely useless. Can someone
explain the rationale behind that change? IMHO you should never use ISA-PNP without CONFIG_ISA.

Quoted 7 lines
Quoted 4 lines

Linux PNP handles up to 3 protocols:
ISAPNP -- useful only if CONFIG_ISA, independent of PNPBIOS and PNPACPI PNPBIOS -- useful only if acpi_disabled
PNPACPI -- useful if !acpi_disabled

Useful for what? As far as I know no device on x86-64 needs PNPBIOS or PNPACPI

Most x86-64 hardware still utilizes ACPI for certain devices.

Quoted 11 lines
Quoted 9 lines

drivers/pnp/isapnp/Kconfig appears to already have the dependency you're looking for to make sure that ISAPNP is not defined without CONFIG_ISA:

config ISAPNP
bool "ISA Plug and Play support"
depends on PNP && ISA

Perhaps. But it doesn't work.

In which way doesn't it work? It seems to pretty clearly require ISA support. Is there a bug?

Thanks,
Adam

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8