This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
CAN driver config keys
- From: Uwe Kindler <uwe_kindler at web dot de>
- To: ecos-patches at sources dot redhat dot com
- Date: Thu, 26 May 2005 23:12:30 +0200
- Subject: CAN driver config keys
I forgot the config keys for CAN driver - sorry.
Index: common/current/include/config_keys.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/common/current/include/config_keys.h,v
retrieving revision 1.10
diff -u -r1.10 config_keys.h
--- common/current/include/config_keys.h 19 Jan 2004 14:35:02 -0000 1.10
+++ common/current/include/config_keys.h 25 May 2005 13:13:23 -0000
@@ -128,6 +128,17 @@
#define CYG_IO_GET_CONFIG_DISK_INFO 0x700
+
+// ======== 0x800 CAN
========================================================
+// Get/Set configuration 'key' values for CAN I/O
+#define CYG_IO_GET_CONFIG_CAN_INFO 0x0801
+#define CYG_IO_GET_CONFIG_CAN_BUFFER_INFO 0x0802
+#define CYG_IO_GET_CONFIG_CAN_TIMEOUT 0x0803
+
+#define CYG_IO_SET_CONFIG_CAN_INFO 0x0881
+#define CYG_IO_SET_CONFIG_CAN_TIMEOUT 0x0883
+
+
// ======== 0x1000 Generic
===================================================
// Get/Set configuration 'key' values that can apply to more than one
// class of device.