CD exfat support for Tomato. https://github.com/dorimanx/exfat-nofuse.
[tomato.git] / release / src-rt / linux / linux-2.6 / fs / exfat / exfat_config.h
blobd16c882f88ca643d75a8394539ebc8e268bd46b1
1 /*
2 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 /************************************************************************/
20 /* */
21 /* PROJECT : exFAT & FAT12/16/32 File System */
22 /* FILE : exfat_config.h */
23 /* PURPOSE : Header File for exFAT Configuable Policies */
24 /* */
25 /*----------------------------------------------------------------------*/
26 /* NOTES */
27 /* */
28 /*----------------------------------------------------------------------*/
29 /* REVISION HISTORY (Ver 0.9) */
30 /* */
31 /* - 2010.11.15 [Joosun Hahn] : first writing */
32 /* */
33 /************************************************************************/
35 #ifndef _EXFAT_CONFIG_H
36 #define _EXFAT_CONFIG_H
38 #ifdef __cplusplus
39 extern "C" {
40 #endif /* __cplusplus */
42 /*======================================================================*/
43 /* */
44 /* FFS CONFIGURATIONS */
45 /* (CHANGE THIS PART IF REQUIRED) */
46 /* */
47 /*======================================================================*/
49 /*----------------------------------------------------------------------*/
50 /* Target OS Platform */
51 /*----------------------------------------------------------------------*/
53 #define OS_NONOS 1
54 #define OS_LINUX 2
56 #define FFS_CONFIG_OS OS_LINUX
58 /*----------------------------------------------------------------------*/
59 /* Set this definition to 1 to support APIs with pointer parameters */
60 /* to 32-bit variables (e.g. read, write, seek, get_filesize) */
61 /*----------------------------------------------------------------------*/
62 #define FFS_CONFIG_LEGACY_32BIT_API 0
64 /*----------------------------------------------------------------------*/
65 /* Set this definition to 1 to support APIs with pointer parameters */
66 /* to 32-bit variables (e.g. read, write, seek, get_filesize) */
67 /*----------------------------------------------------------------------*/
68 #define FFS_CONFIG_LEGACY_32BIT_API 0
70 /*----------------------------------------------------------------------*/
71 /* Set appropriate definitions to 1's to support the languages */
72 /*----------------------------------------------------------------------*/
73 #define FFS_CONFIG_SUPPORT_CP1250 1 // Central Europe
74 #define FFS_CONFIG_SUPPORT_CP1251 1 // Cyrillic
75 #define FFS_CONFIG_SUPPORT_CP1252 1 // Latin I
76 #define FFS_CONFIG_SUPPORT_CP1253 1 // Greek
77 #define FFS_CONFIG_SUPPORT_CP1254 1 // Turkish
78 #define FFS_CONFIG_SUPPORT_CP1255 1 // Hebrew
79 #define FFS_CONFIG_SUPPORT_CP1256 1 // Arabic
80 #define FFS_CONFIG_SUPPORT_CP1257 1 // Baltic
81 #define FFS_CONFIG_SUPPORT_CP1258 1 // Vietnamese
82 #define FFS_CONFIG_SUPPORT_CP874 1 // Thai
83 #define FFS_CONFIG_SUPPORT_CP932 1 // Japanese
84 #define FFS_CONFIG_SUPPORT_CP936 1 // Simplified Chinese
85 #define FFS_CONFIG_SUPPORT_CP949 1 // Korean
86 #define FFS_CONFIG_SUPPORT_CP950 1 // Traditional Chinese
87 #define FFS_CONFIG_SUPPORT_UTF8 1 // UTF8 encoding
89 /*----------------------------------------------------------------------*/
90 /* Feature Config */
91 /*----------------------------------------------------------------------*/
92 #define EXFAT_CONFIG_DISCARD 1 // mount option -o discard support
93 #define EXFAT_CONFIG_KERNEL_DEBUG 1 // kernel debug features via ioctl
94 #define EXFAT_CONFIG_DEBUG_MSG 0 // debugging message on/off
96 #ifdef __cplusplus
98 #endif /* __cplusplus */
100 #endif /* _EXFAT_CONFIG_H */
102 /* end of exfat_config.h */