Skip to contentSkip to conversation

Add generic configuration option to enable all xilinx drivers.

PATCH In review [email protected] 3 participants 3 messages Aug 22, 2007

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

PATCH 1/3 Add generic configuration option to enable all xilinx drivers.

From: Stephen Neuendorffer <[email protected]>

In the future, this will be used to provide similar configuration for PowerPC and Microblaze.

---
 arch/ppc/platforms/4xx/Kconfig |    1 +
 drivers/misc/Kconfig           |   10 ++++++++++
 drivers/video/Kconfig          |    2 +-
 3 files changed, 12 insertions(+), 1 deletions(-)
arch/ppc/platforms/4xx/Kconfig +1 -0
index 76551b6..d7db7e4 100644
@@ -228,6 +228,7 @@ config XILINX_VIRTEX_4_FX
 
 config XILINX_VIRTEX
 	bool
+	select XILINX_DRIVERS
 
 config STB03xxx
 	bool
drivers/misc/Kconfig +10 -0
index 518d5d3..e5bc9af 100644
@@ -219,3 +219,13 @@ config THINKPAD_ACPI_INPUT_ENABLED
 
 
 endif # MISC_DEVICES
+endmenu
+
+
+#
+# Xilinx devices and common device driver infrastructure
+#
+
+config XILINX_DRIVERS
+  bool
+
drivers/video/Kconfig +1 -1
index 5216c11..69e7240 100644
@@ -1824,7 +1824,7 @@ config FB_PS3_DEFAULT_SIZE_M
 
 config FB_XILINX
 	tristate "Xilinx frame buffer support"
-	depends on FB && XILINX_VIRTEX
+	depends on FB && XILINX_DRIVERS
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Signature · 1 line
1.5.2.1
#1 lore raw
Quoted 4 lines · On 8/21/07, [email protected] <[email protected]>…

From: Stephen Neuendorffer <[email protected]>

In the future, this will be used to provide similar configuration for PowerPC and Microblaze.

I'm not convinced that this change is worth it since there is only one in-tree driver that uses it. I'd maintain it separately in your tree until other drivers or the microblaze stuff is ready for merging.

<snip>

drivers/misc/Kconfig config THINKPAD_ACPI_INPUT_ENABLED · line 222

Quoted 9 lines
drivers/misc/Kconfig +1 -0
index 518d5d3..e5bc9af 100644
@@ -219,3 +219,13 @@ config THINKPAD_ACPI_INPUT_ENABLED
 
 
 endif # MISC_DEVICES
+endmenu

Umm, this looks wrong. Where'd the 'endmenu' come from?

Cheers,
g

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#2 lore raw

=20

Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On=20 Behalf Of Grant Likely
Sent: Tuesday, August 21, 2007 8:28 PM
To: Wolfgang Reissnegger
Cc: [email protected]; Stephen Neuendorffer
Subject: Re: [PATCH 1/3] Add generic configuration option to=20 enable all xilinx drivers.
=20
On 8/21/07, [email protected] <[email protected]> wrote:

Quoted 8 lines
Quoted 4 lines

From: Stephen Neuendorffer <[email protected]>

In the future, this will be used to provide similar configuration for PowerPC and Microblaze.

=20
I'm not convinced that this change is worth it since there is only one in-tree driver that uses it. I'd maintain it separately in your tree until other drivers or the microblaze stuff is ready for merging.

I have at least one more driver that will use it, for the ICAP, and joachim's AC97 driver should use it too.

In any event, my intention with all of this is to start small to figure out how
to do it... Plus I think it will be much easier to manage our tree if basic
changes like this are merged long before arch/microblaze.

Steve=20