Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _NCP_NO |
| 2 | #define _NCP_NO |
| 3 | |
| 4 | /* these define the attribute byte as seen by NCP */ |
Harvey Harrison | f3a7c66 | 2009-02-14 22:58:35 -0800 | [diff] [blame^] | 5 | #define aRONLY (__cpu_to_le32(1)) |
| 6 | #define aHIDDEN (__cpu_to_le32(2)) |
| 7 | #define aSYSTEM (__cpu_to_le32(4)) |
| 8 | #define aEXECUTE (__cpu_to_le32(8)) |
| 9 | #define aDIR (__cpu_to_le32(0x10)) |
| 10 | #define aARCH (__cpu_to_le32(0x20)) |
| 11 | #define aSHARED (__cpu_to_le32(0x80)) |
| 12 | #define aDONTSUBALLOCATE (__cpu_to_le32(1L<<11)) |
| 13 | #define aTRANSACTIONAL (__cpu_to_le32(1L<<12)) |
| 14 | #define aPURGE (__cpu_to_le32(1L<<16)) |
| 15 | #define aRENAMEINHIBIT (__cpu_to_le32(1L<<17)) |
| 16 | #define aDELETEINHIBIT (__cpu_to_le32(1L<<18)) |
| 17 | #define aDONTCOMPRESS (__cpu_to_le32(1L<<27)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | #endif /* _NCP_NO */ |