]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/io/common/v2_0/include/config_keys.h
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / io / common / v2_0 / include / config_keys.h
index c79085be6af8dfb4e541353ae75d0be0a75d3ec5..025860980b4a04c7be85424074725851d9fe880c 100644 (file)
@@ -11,6 +11,7 @@
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2004 eCosCentric Limited
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 
 #define CYG_IO_GET_CONFIG_DISK_INFO              0x700
 
-// ======== 0x800 CAN ========================================================
-// Get/Set configuration 'key' values for DISK I/O 
+#define CYG_IO_SET_CONFIG_DISK_MOUNT             0x781
+#define CYG_IO_SET_CONFIG_DISK_UMOUNT            0x782
 
+// ======== 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_GET_CONFIG_CAN_MSGBUF_INFO           0x0803
+#define CYG_IO_GET_CONFIG_CAN_TIMEOUT               0x0804
+#define CYG_IO_GET_CONFIG_CAN_HDI                   0x0805
+#define CYG_IO_GET_CONFIG_CAN_STATE                 0x0806
 
 #define CYG_IO_SET_CONFIG_CAN_INFO                  0x0881
-#define CYG_IO_SET_CONFIG_CAN_TIMEOUT               0x0883
-#define CYG_IO_SET_CONFIG_CAN_RTR_BUF               0x0884
+#define CYG_IO_SET_CONFIG_CAN_OUTPUT_DRAIN          0x0882
+#define CYG_IO_SET_CONFIG_CAN_OUTPUT_FLUSH          0x0883
+#define CYG_IO_SET_CONFIG_CAN_INPUT_FLUSH           0x0884
+#define CYG_IO_SET_CONFIG_CAN_TIMEOUT               0x0885
+#define CYG_IO_SET_CONFIG_CAN_MSGBUF                0x0886
+#define CYG_IO_SET_CONFIG_CAN_MODE                  0x0887
+#define CYG_IO_SET_CONFIG_CAN_ABORT                 0x0888
+#define CYG_IO_SET_CONFIG_CAN_CALLBACK              0x0889
 
 // ======== 0x1000 Generic ===================================================
 // Get/Set configuration 'key' values that can apply to more than one
 #define CYG_IO_SET_CONFIG_READ_BLOCKING         0x1081
 #define CYG_IO_SET_CONFIG_WRITE_BLOCKING        0x1082
 
+// Close the underlying device - primarily useful for io/fileio's devfs,
+// but probably more widely applicable. Note that this is not like UNIX
+// close in that there is no reference counting. If that is needed it must
+// be done at a higher level.
+#define CYG_IO_SET_CONFIG_CLOSE                 0x1100
 
 #endif  /* CYGONCE_CONFIG_KEYS_H */
 /* EOF config_keys.h */