diff options
| author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-10-19 15:19:19 -0400 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-10-19 15:19:19 -0400 |
| commit | e05dacd71db0a5da7c1a44bcaab2a8a240b9c233 (patch) | |
| tree | 31382cf1c7d62c03126448affb2fc86e8c4aaa8b /include/uapi/linux/firewire-constants.h | |
| parent | 3ab0b83bf6a1e834f4b884150d8012990c75d25d (diff) | |
| parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) | |
Merge commit 'v3.7-rc1' into stable/for-linus-3.7
* commit 'v3.7-rc1': (10892 commits)
Linux 3.7-rc1
x86, boot: Explicitly include autoconf.h for hostprogs
perf: Fix UAPI fallout
ARM: config: make sure that platforms are ordered by option string
ARM: config: sort select statements alphanumerically
UAPI: (Scripted) Disintegrate include/linux/byteorder
UAPI: (Scripted) Disintegrate include/linux
UAPI: Unexport linux/blk_types.h
UAPI: Unexport part of linux/ppp-comp.h
perf: Handle new rbtree implementation
procfs: don't need a PATH_MAX allocation to hold a string representation of an int
vfs: embed struct filename inside of names_cache allocation if possible
audit: make audit_inode take struct filename
vfs: make path_openat take a struct filename pointer
vfs: turn do_path_lookup into wrapper around struct filename variant
audit: allow audit code to satisfy getname requests from its names_list
vfs: define struct filename and have getname() return it
btrfs: Fix compilation with user namespace support enabled
userns: Fix posix_acl_file_xattr_userns gid conversion
userns: Properly print bluetooth socket uids
...
Diffstat (limited to 'include/uapi/linux/firewire-constants.h')
| -rw-r--r-- | include/uapi/linux/firewire-constants.h | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/include/uapi/linux/firewire-constants.h b/include/uapi/linux/firewire-constants.h new file mode 100644 index 000000000000..9b4bb5fbba4b --- /dev/null +++ b/include/uapi/linux/firewire-constants.h | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | /* | ||
| 2 | * IEEE 1394 constants. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2005-2007 Kristian Hoegsberg <krh@bitplanet.net> | ||
| 5 | * | ||
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a | ||
| 7 | * copy of this software and associated documentation files (the "Software"), | ||
| 8 | * to deal in the Software without restriction, including without limitation | ||
| 9 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
| 10 | * and/or sell copies of the Software, and to permit persons to whom the | ||
| 11 | * Software is furnished to do so, subject to the following conditions: | ||
| 12 | * | ||
| 13 | * The above copyright notice and this permission notice (including the next | ||
| 14 | * paragraph) shall be included in all copies or substantial portions of the | ||
| 15 | * Software. | ||
| 16 | * | ||
| 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
| 20 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
| 21 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
| 22 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| 23 | * DEALINGS IN THE SOFTWARE. | ||
| 24 | */ | ||
| 25 | |||
| 26 | #ifndef _LINUX_FIREWIRE_CONSTANTS_H | ||
| 27 | #define _LINUX_FIREWIRE_CONSTANTS_H | ||
| 28 | |||
| 29 | #define TCODE_WRITE_QUADLET_REQUEST 0x0 | ||
| 30 | #define TCODE_WRITE_BLOCK_REQUEST 0x1 | ||
| 31 | #define TCODE_WRITE_RESPONSE 0x2 | ||
| 32 | #define TCODE_READ_QUADLET_REQUEST 0x4 | ||
| 33 | #define TCODE_READ_BLOCK_REQUEST 0x5 | ||
| 34 | #define TCODE_READ_QUADLET_RESPONSE 0x6 | ||
| 35 | #define TCODE_READ_BLOCK_RESPONSE 0x7 | ||
| 36 | #define TCODE_CYCLE_START 0x8 | ||
| 37 | #define TCODE_LOCK_REQUEST 0x9 | ||
| 38 | #define TCODE_STREAM_DATA 0xa | ||
| 39 | #define TCODE_LOCK_RESPONSE 0xb | ||
| 40 | |||
| 41 | #define EXTCODE_MASK_SWAP 0x1 | ||
| 42 | #define EXTCODE_COMPARE_SWAP 0x2 | ||
| 43 | #define EXTCODE_FETCH_ADD 0x3 | ||
| 44 | #define EXTCODE_LITTLE_ADD 0x4 | ||
| 45 | #define EXTCODE_BOUNDED_ADD 0x5 | ||
| 46 | #define EXTCODE_WRAP_ADD 0x6 | ||
| 47 | #define EXTCODE_VENDOR_DEPENDENT 0x7 | ||
| 48 | |||
| 49 | /* Linux firewire-core (Juju) specific tcodes */ | ||
| 50 | #define TCODE_LOCK_MASK_SWAP (0x10 | EXTCODE_MASK_SWAP) | ||
| 51 | #define TCODE_LOCK_COMPARE_SWAP (0x10 | EXTCODE_COMPARE_SWAP) | ||
| 52 | #define TCODE_LOCK_FETCH_ADD (0x10 | EXTCODE_FETCH_ADD) | ||
| 53 | #define TCODE_LOCK_LITTLE_ADD (0x10 | EXTCODE_LITTLE_ADD) | ||
| 54 | #define TCODE_LOCK_BOUNDED_ADD (0x10 | EXTCODE_BOUNDED_ADD) | ||
| 55 | #define TCODE_LOCK_WRAP_ADD (0x10 | EXTCODE_WRAP_ADD) | ||
| 56 | #define TCODE_LOCK_VENDOR_DEPENDENT (0x10 | EXTCODE_VENDOR_DEPENDENT) | ||
| 57 | |||
| 58 | #define RCODE_COMPLETE 0x0 | ||
| 59 | #define RCODE_CONFLICT_ERROR 0x4 | ||
| 60 | #define RCODE_DATA_ERROR 0x5 | ||
| 61 | #define RCODE_TYPE_ERROR 0x6 | ||
| 62 | #define RCODE_ADDRESS_ERROR 0x7 | ||
| 63 | |||
| 64 | /* Linux firewire-core (Juju) specific rcodes */ | ||
| 65 | #define RCODE_SEND_ERROR 0x10 | ||
| 66 | #define RCODE_CANCELLED 0x11 | ||
| 67 | #define RCODE_BUSY 0x12 | ||
| 68 | #define RCODE_GENERATION 0x13 | ||
| 69 | #define RCODE_NO_ACK 0x14 | ||
| 70 | |||
| 71 | #define SCODE_100 0x0 | ||
| 72 | #define SCODE_200 0x1 | ||
| 73 | #define SCODE_400 0x2 | ||
| 74 | #define SCODE_800 0x3 | ||
| 75 | #define SCODE_1600 0x4 | ||
| 76 | #define SCODE_3200 0x5 | ||
| 77 | #define SCODE_BETA 0x3 | ||
| 78 | |||
| 79 | #define ACK_COMPLETE 0x1 | ||
| 80 | #define ACK_PENDING 0x2 | ||
| 81 | #define ACK_BUSY_X 0x4 | ||
| 82 | #define ACK_BUSY_A 0x5 | ||
| 83 | #define ACK_BUSY_B 0x6 | ||
| 84 | #define ACK_DATA_ERROR 0xd | ||
| 85 | #define ACK_TYPE_ERROR 0xe | ||
| 86 | |||
| 87 | #define RETRY_1 0x00 | ||
| 88 | #define RETRY_X 0x01 | ||
| 89 | #define RETRY_A 0x02 | ||
| 90 | #define RETRY_B 0x03 | ||
| 91 | |||
| 92 | #endif /* _LINUX_FIREWIRE_CONSTANTS_H */ | ||
