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 */ |
| 5 | #define aRONLY (__constant_cpu_to_le32(1)) |
| 6 | #define aHIDDEN (__constant_cpu_to_le32(2)) |
| 7 | #define aSYSTEM (__constant_cpu_to_le32(4)) |
| 8 | #define aEXECUTE (__constant_cpu_to_le32(8)) |
| 9 | #define aDIR (__constant_cpu_to_le32(0x10)) |
| 10 | #define aARCH (__constant_cpu_to_le32(0x20)) |
| 11 | #define aSHARED (__constant_cpu_to_le32(0x80)) |
| 12 | #define aDONTSUBALLOCATE (__constant_cpu_to_le32(1L<<11)) |
| 13 | #define aTRANSACTIONAL (__constant_cpu_to_le32(1L<<12)) |
| 14 | #define aPURGE (__constant_cpu_to_le32(1L<<16)) |
| 15 | #define aRENAMEINHIBIT (__constant_cpu_to_le32(1L<<17)) |
| 16 | #define aDELETEINHIBIT (__constant_cpu_to_le32(1L<<18)) |
| 17 | #define aDONTCOMPRESS (__constant_cpu_to_le32(1L<<27)) |
| 18 | |
| 19 | #endif /* _NCP_NO */ |