The patch titled
Introduce CONFIG_VIRT_TO_BUS
has been added to the -mm tree. Its filename is
introduce-config_virt_to_bus.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: Introduce CONFIG_VIRT_TO_BUS
From: Stephen Rothwell <[EMAIL PROTECTED]>
Make some offending drivers depend on it and set CONFIG_ARCH_NO_VIRT_TO_BUS
for ppc64 so that we don't build those drivers.
This gets PowerPC allmodconfig and allyesconfig much closer to building.
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
Cc: Al Viro <[EMAIL PROTECTED]>
Acked-by: David Miller <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig | 3 +++
drivers/atm/Kconfig | 8 ++++----
drivers/block/Kconfig | 2 +-
drivers/message/i2o/Kconfig | 1 +
drivers/net/wan/Kconfig | 2 +-
drivers/scsi/Kconfig | 2 +-
mm/Kconfig | 4 ++++
sound/oss/Kconfig | 5 +++--
8 files changed, 18 insertions(+), 9 deletions(-)
diff -puN arch/powerpc/Kconfig~introduce-config_virt_to_bus arch/powerpc/Kconfig
--- a/arch/powerpc/Kconfig~introduce-config_virt_to_bus
+++ a/arch/powerpc/Kconfig
@@ -66,6 +66,9 @@ config GENERIC_FIND_NEXT_BIT
bool
default y
+config ARCH_NO_VIRT_TO_BUS
+ def_bool PPC64
+
config PPC
bool
default y
diff -puN drivers/atm/Kconfig~introduce-config_virt_to_bus drivers/atm/Kconfig
--- a/drivers/atm/Kconfig~introduce-config_virt_to_bus
+++ a/drivers/atm/Kconfig
@@ -142,7 +142,7 @@ config ATM_ENI_BURST_RX_2W
config ATM_FIRESTREAM
tristate "Fujitsu FireStream (FS50/FS155) "
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
help
Driver for the Fujitsu FireStream 155 (MB86697) and
FireStream 50 (MB86695) ATM PCI chips.
@@ -152,7 +152,7 @@ config ATM_FIRESTREAM
config ATM_ZATM
tristate "ZeitNet ZN1221/ZN1225"
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
help
Driver for the ZeitNet ZN1221 (MMF) and ZN1225 (UTP-5) 155 Mbps ATM
adapters.
@@ -240,7 +240,7 @@ config ATM_IDT77252_USE_SUNI
config ATM_AMBASSADOR
tristate "Madge Ambassador (Collage PCI 155 Server)"
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
select BITREVERSE
help
This is a driver for ATMizer based ATM card produced by Madge
@@ -265,7 +265,7 @@ config ATM_AMBASSADOR_DEBUG
config ATM_HORIZON
tristate "Madge Horizon [Ultra] (Collage PCI 25 and Collage PCI 155
Client)"
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
help
This is a driver for the Horizon chipset ATM adapter cards once
produced by Madge Networks Ltd. Say Y (or M to compile as a module
diff -puN drivers/block/Kconfig~introduce-config_virt_to_bus
drivers/block/Kconfig
--- a/drivers/block/Kconfig~introduce-config_virt_to_bus
+++ a/drivers/block/Kconfig
@@ -144,7 +144,7 @@ source "drivers/block/paride/Kconfig"
config BLK_CPQ_DA
tristate "Compaq SMART2 support"
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
help
This is the driver for Compaq Smart Array controllers. Everyone
using these boards should say Y here. See the file
diff -puN drivers/message/i2o/Kconfig~introduce-config_virt_to_bus
drivers/message/i2o/Kconfig
--- a/drivers/message/i2o/Kconfig~introduce-config_virt_to_bus
+++ a/drivers/message/i2o/Kconfig
@@ -54,6 +54,7 @@ config I2O_EXT_ADAPTEC_DMA64
config I2O_CONFIG
tristate "I2O Configuration support"
+ depends on VIRT_TO_BUS
---help---
Say Y for support of the configuration interface for the I2O adapters.
If you have a RAID controller from Adaptec and you want to use the
diff -puN drivers/net/wan/Kconfig~introduce-config_virt_to_bus
drivers/net/wan/Kconfig
--- a/drivers/net/wan/Kconfig~introduce-config_virt_to_bus
+++ a/drivers/net/wan/Kconfig
@@ -61,7 +61,7 @@ config COSA
#
config LANMEDIA
tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
- depends on PCI
+ depends on PCI && VIRT_TO_BUS
---help---
Driver for the following Lan Media family of serial boards:
diff -puN drivers/scsi/Kconfig~introduce-config_virt_to_bus drivers/scsi/Kconfig
--- a/drivers/scsi/Kconfig~introduce-config_virt_to_bus
+++ a/drivers/scsi/Kconfig
@@ -543,7 +543,7 @@ config SCSI_HPTIOP
config SCSI_BUSLOGIC
tristate "BusLogic SCSI support"
- depends on (PCI || ISA || MCA) && SCSI && ISA_DMA_API
+ depends on (PCI || ISA || MCA) && SCSI && ISA_DMA_API && VIRT_TO_BUS
---help---
This is support for BusLogic MultiMaster and FlashPoint SCSI Host
Adapters. Consult the SCSI-HOWTO, available from
diff -puN mm/Kconfig~introduce-config_virt_to_bus mm/Kconfig
--- a/mm/Kconfig~introduce-config_virt_to_bus
+++ a/mm/Kconfig
@@ -172,3 +172,7 @@ config NR_QUICK
depends on QUICKLIST
default "2" if (SUPERH && !SUPERH64)
default "1"
+
+config VIRT_TO_BUS
+ def_bool y
+ depends on !ARCH_NO_VIRT_TO_BUS
diff -puN sound/oss/Kconfig~introduce-config_virt_to_bus sound/oss/Kconfig
--- a/sound/oss/Kconfig~introduce-config_virt_to_bus
+++ a/sound/oss/Kconfig
@@ -348,7 +348,7 @@ config MSND_FIFOSIZE
config SOUND_VIA82CXXX
tristate "VIA 82C686 Audio Codec"
- depends on SOUND_PRIME && PCI && OSS_OBSOLETE
+ depends on SOUND_PRIME && PCI && OSS_OBSOLETE && VIRT_TO_BUS
help
Say Y here to include support for the audio codec found on VIA
82Cxxx-based chips. Typically these are built into a motherboard.
@@ -368,7 +368,7 @@ config MIDI_VIA82CXXX
config SOUND_OSS
tristate "OSS sound modules"
- depends on SOUND_PRIME && ISA_DMA_API
+ depends on SOUND_PRIME && ISA_DMA_API && VIRT_TO_BUS
help
OSS is the Open Sound System suite of sound card drivers. They make
sound programming easier since they provide a common API. Say Y or
@@ -416,6 +416,7 @@ config SOUND_CS4232
config SOUND_SSCAPE
tristate "Ensoniq SoundScape support"
+ depends on VIRT_TO_BUS
help
Answer Y if you have a sound card based on the Ensoniq SoundScape
chipset. Such cards are being manufactured at least by Ensoniq, Spea
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
move-three-functions-that-are-only-needed-for.patch
introduce-config_virt_to_bus.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html