summaryrefslogtreecommitdiff
path: root/include/uapi/linux/nfc/nfcinfo.h
blob: df178e2bbae6d93e06469868c54c6f2bae0e36e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _UAPI_NFCINFO_H_
#define _UAPI_NFCINFO_H_

#include <linux/ioctl.h>

#define NFCC_MAGIC 0xE9
#define NFCC_GET_INFO _IOW(NFCC_MAGIC, 0x09, unsigned int)

struct nqx_devinfo {
	unsigned char chip_type;
	unsigned char rom_version;
	unsigned char fw_major;
	unsigned char fw_minor;
};

union nqx_uinfo {
	unsigned int i;
	struct nqx_devinfo info;
};

#endif