Skip to contentSkip to conversation

Kconfig: refine some depend statements.

PATCH In review Martin Schwidefsky 2 participants 3 messages Sep 5, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/5 Kconfig: refine some depend statements.

From: Martin Schwidefsky <[email protected]>

[patch 1/5] Kconfig: refine some depend statements.

Refine the depend statements of four menus (ftape, fusion, ieee1394 and I2O) and two config options (DTLK and TELCLOCK).

---

 drivers/char/Kconfig           |    3 +++
 drivers/ieee1394/Kconfig       |    1 +
 drivers/message/fusion/Kconfig |    1 +
 drivers/message/i2o/Kconfig    |    1 +
 4 files changed, 6 insertions(+)
drivers/char/Kconfig +3 -0
diff -urpN linux-2.6/drivers/char/Kconfig linux-2.6-patched/drivers/char/Kconfig
@@ -842,6 +842,7 @@ config COBALT_LCD
 
 config DTLK
 	tristate "Double Talk PC internal speech card support"
+	depends on ISA
 	help
 	  This driver is for the DoubleTalk PC, a speech synthesizer
 	  manufactured by RC Systems (<http://www.rcsys.com/>).  It is also
@@ -896,6 +897,7 @@ config TANBAC_TB0219
 	select GPIO_VR41XX
 
 menu "Ftape, the floppy tape device driver"
+	depends on BROKEN_ON_SMP && (ALPHA || X86)
 
 config FTAPE
 	tristate "Ftape (QIC-80/Travan) support"
@@ -1079,6 +1081,7 @@ source "drivers/char/tpm/Kconfig"
 config TELCLOCK
 	tristate "Telecom clock driver for MPBL0010 ATCA SBC"
 	depends on EXPERIMENTAL
+	depends on X86
 	default n
 	help
 	  The telecom clock device is specific to the MPBL0010 ATCA computer and
drivers/ieee1394/Kconfig +1 -0
diff -urpN linux-2.6/drivers/ieee1394/Kconfig linux-2.6-patched/drivers/ieee1394/Kconfig
@@ -1,6 +1,7 @@
 # -*- shell-script -*-
 
 menu "IEEE 1394 (FireWire) support"
+	depends on PCI || BROKEN
 
 config IEEE1394
 	tristate "IEEE 1394 (FireWire) support"
drivers/message/fusion/Kconfig +1 -0
diff -urpN linux-2.6/drivers/message/fusion/Kconfig linux-2.6-patched/drivers/message/fusion/Kconfig
@@ -1,5 +1,6 @@
 
 menu "Fusion MPT device support"
+	depends on PCI
 
 config FUSION
 	bool
drivers/message/i2o/Kconfig +1 -0
diff -urpN linux-2.6/drivers/message/i2o/Kconfig linux-2.6-patched/drivers/message/i2o/Kconfig
@@ -1,5 +1,6 @@
 
 menu "I2O device support"
+	depends on PCI
 
 config I2O
 	tristate "I2O support"
#1 lore raw

drivers/char/Kconfig config COBALT_LCD · line 845

Quoted 3 lines · Martin Schwidefsky

config DTLK

drivers/char/Kconfig +1 -0
 	tristate "Double Talk PC internal speech card support"
+	depends on ISA

Yup, only available as an ISA card

drivers/char/Kconfig config TANBAC_TB0219 · line 900

Quoted 2 lines

menu "Ftape, the floppy tape device driver"

drivers/char/Kconfig +1 -0
+	depends on BROKEN_ON_SMP && (ALPHA || X86)

I vaguely remember this being the right answer last time this subject came up ...

drivers/char/Kconfig source "drivers/char/tpm/Kconfig" · line 1087

Quoted 7 lines

config TELCLOCK

drivers/char/Kconfig +1 -0
 	tristate "Telecom clock driver for MPBL0010 ATCA SBC"
 	depends on EXPERIMENTAL
+	depends on X86
 	default n
 	help
 	  The telecom clock device is specific to the MPBL0010 ATCA computer and
	depends on EXPERIMENTAL && X86

perhaps? Also the "default n" can go -- n is the default default anyway ;-)

drivers/ieee1394/Kconfig line 4

Quoted 2 lines

menu "IEEE 1394 (FireWire) support"

drivers/ieee1394/Kconfig +1 -0
+	depends on PCI || BROKEN

Why the || BROKEN?

Review

Quoted 2 lines

menu "Fusion MPT device support"

(quoted diff) +1 -0
+	depends on PCI

Makes sense. Might want to submit that one to linux-scsi, cc'ing Eric Moore, since the driver is actively maintained.

Review

Quoted 2 lines

menu "I2O device support"

(quoted diff) +1 -0
+	depends on PCI

I suspect we'll never see I2O on anything other than PCI, so makes sense.

#2 lore raw
Quoted 4 lines · Matthew Wilcox
Quoted 2 lines

menu "IEEE 1394 (FireWire) support"
+ depends on PCI || BROKEN

Why the || BROKEN?

That was the conclusion last time as far as I can remember. The essence of the statement was that firewire works for PCI, any other use is broken. We can change that to "PCI" only if that is ok with everbody.

Signature · 8 lines
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.