* [PATCH] Generic configuration selector for Xilinx devices
@ 2007-08-06 22:54 Wolfgang Reissnegger
2007-08-06 23:01 ` Stephen Neuendorffer
2007-08-09 19:05 ` Grant Likely
0 siblings, 2 replies; 3+ messages in thread
From: Wolfgang Reissnegger @ 2007-08-06 22:54 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 121 bytes --]
This is intended to make visible all device driver options for
both powerpc and microblaze systems.
Thanks,
Wolfgang
[-- Attachment #2: [PATCH] Generic configuration selector for Xilinx devices.txt --]
[-- Type: text/plain, Size: 1833 bytes --]
Signed-off-by: Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com>
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
---
arch/ppc/platforms/4xx/Kconfig | 1 +
drivers/misc/Kconfig | 1 +
drivers/misc/xilinx/Kconfig | 9 +++++++++
drivers/video/Kconfig | 2 +-
4 files changed, 12 insertions(+), 1 deletions(-)
create mode 100644 drivers/misc/xilinx/Kconfig
diff --git a/arch/ppc/platforms/4xx/Kconfig b/arch/ppc/platforms/4xx/Kconfig
index 76551b6..d7db7e4 100644
--- a/arch/ppc/platforms/4xx/Kconfig
+++ b/arch/ppc/platforms/4xx/Kconfig
@@ -228,6 +228,7 @@ config XILINX_VIRTEX_4_FX
config XILINX_VIRTEX
bool
+ select XILINX_DRIVERS
config STB03xxx
bool
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 2f2fbff..f8a504c 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -195,5 +195,6 @@ config BLINK
output something to the screen like kexec kernels to give the user
a visual indication that the kernel is doing something.
+source "drivers/misc/xilinx/Kconfig"
endmenu
diff --git a/drivers/misc/xilinx/Kconfig b/drivers/misc/xilinx/Kconfig
new file mode 100644
index 0000000..93c41a7
--- /dev/null
+++ b/drivers/misc/xilinx/Kconfig
@@ -0,0 +1,9 @@
+#
+# Xilinx devices and common device driver infrastructure
+#
+
+config XILINX_DRIVERS
+ bool
+ help
+ Enable visibility of all Xilinx device drivers.
+
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 403dac7..13910a8 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -1811,7 +1811,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
--
1.5.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] Generic configuration selector for Xilinx devices
2007-08-06 22:54 [PATCH] Generic configuration selector for Xilinx devices Wolfgang Reissnegger
@ 2007-08-06 23:01 ` Stephen Neuendorffer
2007-08-09 19:05 ` Grant Likely
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Neuendorffer @ 2007-08-06 23:01 UTC (permalink / raw)
To: linuxppc-embedded
Please consider these a 'first experiment' in generating patches.. :)
Sorry the XILINX_DRIVERS patch took so long, but hopefully things should
be easier after getting the first patch out...
Feedback (especially WRT the structure of the patches and the process
of generating them) is greatly welcome...
Steve
> -----Original Message-----
> From:=20
> linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org
> =20
> [mailto:linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@oz
labs.org] On Behalf Of Wolfgang Reissnegger
> Sent: Monday, August 06, 2007 3:55 PM
> To: linuxppc-embedded@ozlabs.org
> Subject: [PATCH] Generic configuration selector for Xilinx devices
>=20
> This is intended to make visible all device driver options for
> both powerpc and microblaze systems.
>=20
> Thanks,
> Wolfgang
>=20
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Generic configuration selector for Xilinx devices
2007-08-06 22:54 [PATCH] Generic configuration selector for Xilinx devices Wolfgang Reissnegger
2007-08-06 23:01 ` Stephen Neuendorffer
@ 2007-08-09 19:05 ` Grant Likely
1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-08-09 19:05 UTC (permalink / raw)
To: Wolfgang Reissnegger; +Cc: linuxppc-embedded
On 8/6/07, Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com> wrote:
> This is intended to make visible all device driver options for
> both powerpc and microblaze systems.
>
> Thanks,
> Wolfgang
>
>
> Signed-off-by: Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com>
> Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
This patch adds a new directory "drivers/misc/xilinx" with exactly *1*
file in it; A Kconfig file. Just put the new XILINX_DRIVERS Kconfig
option into drivers/misc/Kconfig. If there is ever enough Xilinx
stuff to warrant a separate drivers/misc/xilinx directory, then the
Kconfig entry can be moved.
<snip>
> +++ b/drivers/misc/xilinx/Kconfig
> @@ -0,0 +1,9 @@
> +#
> +# Xilinx devices and common device driver infrastructure
> +#
> +
> +config XILINX_DRIVERS
> + bool
> + help
> + Enable visibility of all Xilinx device drivers
Drop the help text; XILINX_DRIVERS won't show up in the menu, so it is
pointless.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-09 19:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 22:54 [PATCH] Generic configuration selector for Xilinx devices Wolfgang Reissnegger
2007-08-06 23:01 ` Stephen Neuendorffer
2007-08-09 19:05 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).