--- Begin Message ---
Hi John,
I've been using the included patch to automatically add a /dev/gpio node if
GPIO is configured. The patch was generated via "cvs diff -u
vendors/Xilinx/uclinux-auto/Makefile". Let me know if there are any
problems with it.
More info is in the email list archives at
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/09/msg00117.html
Thanks.
Paul
Index: vendors/Xilinx/uclinux-auto/Makefile
===================================================================
RCS file: /var/cvs/uClinux-dist/vendors/Xilinx/uclinux-auto/Makefile,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 Makefile
--- vendors/Xilinx/uclinux-auto/Makefile 18 Oct 2005 01:56:33 -0000 1.1.1.4
+++ vendors/Xilinx/uclinux-auto/Makefile 1 Nov 2005 00:43:22 -0000
@@ -74,6 +74,11 @@
fslfifo6,c,10,198 fslfifo7,c,10,199
endif
+ifdef CONFIG_XILINX_GPIO
+DEVICES += \
+ gpio,c,10,185
+endif
+
ifdef CONFIG_XILINX_SYSACE
DEVICES += \
xsysacea,b,254,0 xsysacea1,b,254,1 xsysacea2,b,254,2 \
--- End Message ---