diff options
| author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-05-15 10:26:50 -0400 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-05-15 10:26:50 -0400 |
| commit | 12e04ffcd93b25dfd726d46338c2ee7d23de556e (patch) | |
| tree | f91479a62805619168994fd3ee55e3ffa23fc24e /include/uapi/linux/nfc.h | |
| parent | 9eff37a8713939f218ab8bf0dc93f1d67af7b8b4 (diff) | |
| parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
Merge tag 'v3.10-rc1' into stable/for-linus-3.10
Linux 3.10-rc1
* tag 'v3.10-rc1': (12273 commits)
Linux 3.10-rc1
[SCSI] qla2xxx: Update firmware link in Kconfig file.
[SCSI] iscsi class, qla4xxx: fix sess/conn refcounting when find fns are used
[SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type
[SCSI] pm80xx: thermal, sas controller config and error handling update
[SCSI] pm80xx: NCQ error handling changes
[SCSI] pm80xx: WWN Modification for PM8081/88/89 controllers
[SCSI] pm80xx: Changed module name and debug messages update
[SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it
[SCSI] pm80xx: SPC new firmware changes for device id 0x8081 alone
[SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files
[SCSI] pm80xx: MSI-X implementation for using 64 interrupts
[SCSI] pm80xx: Updated common functions common for SPC and SPCv/ve
[SCSI] pm80xx: Multiple inbound/outbound queue configuration
[SCSI] pm80xx: Added SPCv/ve specific ids, variables and modify for SPC
[SCSI] lpfc: fix up Kconfig dependencies
[SCSI] Handle MLQUEUE busy response in scsi_send_eh_cmnd
dm cache: set config value
dm cache: move config fns
dm thin: generate event when metadata threshold passed
...
Diffstat (limited to 'include/uapi/linux/nfc.h')
| -rw-r--r-- | include/uapi/linux/nfc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h index 7969f46f1bb3..7c6f627a717d 100644 --- a/include/uapi/linux/nfc.h +++ b/include/uapi/linux/nfc.h | |||
| @@ -90,6 +90,8 @@ enum nfc_commands { | |||
| 90 | NFC_CMD_LLC_SET_PARAMS, | 90 | NFC_CMD_LLC_SET_PARAMS, |
| 91 | NFC_CMD_ENABLE_SE, | 91 | NFC_CMD_ENABLE_SE, |
| 92 | NFC_CMD_DISABLE_SE, | 92 | NFC_CMD_DISABLE_SE, |
| 93 | NFC_CMD_LLC_SDREQ, | ||
| 94 | NFC_EVENT_LLC_SDRES, | ||
| 93 | /* private: internal use only */ | 95 | /* private: internal use only */ |
| 94 | __NFC_CMD_AFTER_LAST | 96 | __NFC_CMD_AFTER_LAST |
| 95 | }; | 97 | }; |
| @@ -140,11 +142,21 @@ enum nfc_attrs { | |||
| 140 | NFC_ATTR_LLC_PARAM_RW, | 142 | NFC_ATTR_LLC_PARAM_RW, |
| 141 | NFC_ATTR_LLC_PARAM_MIUX, | 143 | NFC_ATTR_LLC_PARAM_MIUX, |
| 142 | NFC_ATTR_SE, | 144 | NFC_ATTR_SE, |
| 145 | NFC_ATTR_LLC_SDP, | ||
| 143 | /* private: internal use only */ | 146 | /* private: internal use only */ |
| 144 | __NFC_ATTR_AFTER_LAST | 147 | __NFC_ATTR_AFTER_LAST |
| 145 | }; | 148 | }; |
| 146 | #define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) | 149 | #define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) |
| 147 | 150 | ||
| 151 | enum nfc_sdp_attr { | ||
| 152 | NFC_SDP_ATTR_UNSPEC, | ||
| 153 | NFC_SDP_ATTR_URI, | ||
| 154 | NFC_SDP_ATTR_SAP, | ||
| 155 | /* private: internal use only */ | ||
| 156 | __NFC_SDP_ATTR_AFTER_LAST | ||
| 157 | }; | ||
| 158 | #define NFC_SDP_ATTR_MAX (__NFC_SDP_ATTR_AFTER_LAST - 1) | ||
| 159 | |||
| 148 | #define NFC_DEVICE_NAME_MAXSIZE 8 | 160 | #define NFC_DEVICE_NAME_MAXSIZE 8 |
| 149 | #define NFC_NFCID1_MAXSIZE 10 | 161 | #define NFC_NFCID1_MAXSIZE 10 |
| 150 | #define NFC_SENSB_RES_MAXSIZE 12 | 162 | #define NFC_SENSB_RES_MAXSIZE 12 |
| @@ -220,4 +232,11 @@ struct sockaddr_nfc_llcp { | |||
| 220 | #define NFC_LLCP_DIRECTION_RX 0x00 | 232 | #define NFC_LLCP_DIRECTION_RX 0x00 |
| 221 | #define NFC_LLCP_DIRECTION_TX 0x01 | 233 | #define NFC_LLCP_DIRECTION_TX 0x01 |
| 222 | 234 | ||
| 235 | /* socket option names */ | ||
| 236 | #define NFC_LLCP_RW 0 | ||
| 237 | #define NFC_LLCP_MIUX 1 | ||
| 238 | #define NFC_LLCP_REMOTE_MIU 2 | ||
| 239 | #define NFC_LLCP_REMOTE_LTO 3 | ||
| 240 | #define NFC_LLCP_REMOTE_RW 4 | ||
| 241 | |||
| 223 | #endif /*__LINUX_NFC_H */ | 242 | #endif /*__LINUX_NFC_H */ |
