cistpl.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * cistpl.h
  4. *
  5. * The initial developer of the original code is David A. Hinds
  6. * <[email protected]>. Portions created by David A. Hinds
  7. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
  8. *
  9. * (C) 1999 David A. Hinds
  10. */
  11. #ifndef _LINUX_CISTPL_H
  12. #define _LINUX_CISTPL_H
  13. typedef unsigned char cisdata_t;
  14. #define CISTPL_NULL 0x00
  15. #define CISTPL_DEVICE 0x01
  16. #define CISTPL_LONGLINK_CB 0x02
  17. #define CISTPL_INDIRECT 0x03
  18. #define CISTPL_CONFIG_CB 0x04
  19. #define CISTPL_CFTABLE_ENTRY_CB 0x05
  20. #define CISTPL_LONGLINK_MFC 0x06
  21. #define CISTPL_BAR 0x07
  22. #define CISTPL_PWR_MGMNT 0x08
  23. #define CISTPL_EXTDEVICE 0x09
  24. #define CISTPL_CHECKSUM 0x10
  25. #define CISTPL_LONGLINK_A 0x11
  26. #define CISTPL_LONGLINK_C 0x12
  27. #define CISTPL_LINKTARGET 0x13
  28. #define CISTPL_NO_LINK 0x14
  29. #define CISTPL_VERS_1 0x15
  30. #define CISTPL_ALTSTR 0x16
  31. #define CISTPL_DEVICE_A 0x17
  32. #define CISTPL_JEDEC_C 0x18
  33. #define CISTPL_JEDEC_A 0x19
  34. #define CISTPL_CONFIG 0x1a
  35. #define CISTPL_CFTABLE_ENTRY 0x1b
  36. #define CISTPL_DEVICE_OC 0x1c
  37. #define CISTPL_DEVICE_OA 0x1d
  38. #define CISTPL_DEVICE_GEO 0x1e
  39. #define CISTPL_DEVICE_GEO_A 0x1f
  40. #define CISTPL_MANFID 0x20
  41. #define CISTPL_FUNCID 0x21
  42. #define CISTPL_FUNCE 0x22
  43. #define CISTPL_SWIL 0x23
  44. #define CISTPL_END 0xff
  45. /* Layer 2 tuples */
  46. #define CISTPL_VERS_2 0x40
  47. #define CISTPL_FORMAT 0x41
  48. #define CISTPL_GEOMETRY 0x42
  49. #define CISTPL_BYTEORDER 0x43
  50. #define CISTPL_DATE 0x44
  51. #define CISTPL_BATTERY 0x45
  52. #define CISTPL_FORMAT_A 0x47
  53. /* Layer 3 tuples */
  54. #define CISTPL_ORG 0x46
  55. #define CISTPL_SPCL 0x90
  56. typedef struct cistpl_longlink_t {
  57. u_int addr;
  58. } cistpl_longlink_t;
  59. typedef struct cistpl_checksum_t {
  60. u_short addr;
  61. u_short len;
  62. u_char sum;
  63. } cistpl_checksum_t;
  64. #define CISTPL_MAX_FUNCTIONS 8
  65. #define CISTPL_MFC_ATTR 0x00
  66. #define CISTPL_MFC_COMMON 0x01
  67. typedef struct cistpl_longlink_mfc_t {
  68. u_char nfn;
  69. struct {
  70. u_char space;
  71. u_int addr;
  72. } fn[CISTPL_MAX_FUNCTIONS];
  73. } cistpl_longlink_mfc_t;
  74. #define CISTPL_MAX_ALTSTR_STRINGS 4
  75. typedef struct cistpl_altstr_t {
  76. u_char ns;
  77. u_char ofs[CISTPL_MAX_ALTSTR_STRINGS];
  78. char str[254];
  79. } cistpl_altstr_t;
  80. #define CISTPL_DTYPE_NULL 0x00
  81. #define CISTPL_DTYPE_ROM 0x01
  82. #define CISTPL_DTYPE_OTPROM 0x02
  83. #define CISTPL_DTYPE_EPROM 0x03
  84. #define CISTPL_DTYPE_EEPROM 0x04
  85. #define CISTPL_DTYPE_FLASH 0x05
  86. #define CISTPL_DTYPE_SRAM 0x06
  87. #define CISTPL_DTYPE_DRAM 0x07
  88. #define CISTPL_DTYPE_FUNCSPEC 0x0d
  89. #define CISTPL_DTYPE_EXTEND 0x0e
  90. #define CISTPL_MAX_DEVICES 4
  91. typedef struct cistpl_device_t {
  92. u_char ndev;
  93. struct {
  94. u_char type;
  95. u_char wp;
  96. u_int speed;
  97. u_int size;
  98. } dev[CISTPL_MAX_DEVICES];
  99. } cistpl_device_t;
  100. #define CISTPL_DEVICE_MWAIT 0x01
  101. #define CISTPL_DEVICE_3VCC 0x02
  102. typedef struct cistpl_device_o_t {
  103. u_char flags;
  104. cistpl_device_t device;
  105. } cistpl_device_o_t;
  106. #define CISTPL_VERS_1_MAX_PROD_STRINGS 4
  107. typedef struct cistpl_vers_1_t {
  108. u_char major;
  109. u_char minor;
  110. u_char ns;
  111. u_char ofs[CISTPL_VERS_1_MAX_PROD_STRINGS];
  112. char str[254];
  113. } cistpl_vers_1_t;
  114. typedef struct cistpl_jedec_t {
  115. u_char nid;
  116. struct {
  117. u_char mfr;
  118. u_char info;
  119. } id[CISTPL_MAX_DEVICES];
  120. } cistpl_jedec_t;
  121. typedef struct cistpl_manfid_t {
  122. u_short manf;
  123. u_short card;
  124. } cistpl_manfid_t;
  125. #define CISTPL_FUNCID_MULTI 0x00
  126. #define CISTPL_FUNCID_MEMORY 0x01
  127. #define CISTPL_FUNCID_SERIAL 0x02
  128. #define CISTPL_FUNCID_PARALLEL 0x03
  129. #define CISTPL_FUNCID_FIXED 0x04
  130. #define CISTPL_FUNCID_VIDEO 0x05
  131. #define CISTPL_FUNCID_NETWORK 0x06
  132. #define CISTPL_FUNCID_AIMS 0x07
  133. #define CISTPL_FUNCID_SCSI 0x08
  134. #define CISTPL_SYSINIT_POST 0x01
  135. #define CISTPL_SYSINIT_ROM 0x02
  136. typedef struct cistpl_funcid_t {
  137. u_char func;
  138. u_char sysinit;
  139. } cistpl_funcid_t;
  140. typedef struct cistpl_funce_t {
  141. u_char type;
  142. u_char data[];
  143. } cistpl_funce_t;
  144. /*======================================================================
  145. Modem Function Extension Tuples
  146. ======================================================================*/
  147. #define CISTPL_FUNCE_SERIAL_IF 0x00
  148. #define CISTPL_FUNCE_SERIAL_CAP 0x01
  149. #define CISTPL_FUNCE_SERIAL_SERV_DATA 0x02
  150. #define CISTPL_FUNCE_SERIAL_SERV_FAX 0x03
  151. #define CISTPL_FUNCE_SERIAL_SERV_VOICE 0x04
  152. #define CISTPL_FUNCE_SERIAL_CAP_DATA 0x05
  153. #define CISTPL_FUNCE_SERIAL_CAP_FAX 0x06
  154. #define CISTPL_FUNCE_SERIAL_CAP_VOICE 0x07
  155. #define CISTPL_FUNCE_SERIAL_IF_DATA 0x08
  156. #define CISTPL_FUNCE_SERIAL_IF_FAX 0x09
  157. #define CISTPL_FUNCE_SERIAL_IF_VOICE 0x0a
  158. /* UART identification */
  159. #define CISTPL_SERIAL_UART_8250 0x00
  160. #define CISTPL_SERIAL_UART_16450 0x01
  161. #define CISTPL_SERIAL_UART_16550 0x02
  162. #define CISTPL_SERIAL_UART_8251 0x03
  163. #define CISTPL_SERIAL_UART_8530 0x04
  164. #define CISTPL_SERIAL_UART_85230 0x05
  165. /* UART capabilities */
  166. #define CISTPL_SERIAL_UART_SPACE 0x01
  167. #define CISTPL_SERIAL_UART_MARK 0x02
  168. #define CISTPL_SERIAL_UART_ODD 0x04
  169. #define CISTPL_SERIAL_UART_EVEN 0x08
  170. #define CISTPL_SERIAL_UART_5BIT 0x01
  171. #define CISTPL_SERIAL_UART_6BIT 0x02
  172. #define CISTPL_SERIAL_UART_7BIT 0x04
  173. #define CISTPL_SERIAL_UART_8BIT 0x08
  174. #define CISTPL_SERIAL_UART_1STOP 0x10
  175. #define CISTPL_SERIAL_UART_MSTOP 0x20
  176. #define CISTPL_SERIAL_UART_2STOP 0x40
  177. typedef struct cistpl_serial_t {
  178. u_char uart_type;
  179. u_char uart_cap_0;
  180. u_char uart_cap_1;
  181. } cistpl_serial_t;
  182. typedef struct cistpl_modem_cap_t {
  183. u_char flow;
  184. u_char cmd_buf;
  185. u_char rcv_buf_0, rcv_buf_1, rcv_buf_2;
  186. u_char xmit_buf_0, xmit_buf_1, xmit_buf_2;
  187. } cistpl_modem_cap_t;
  188. #define CISTPL_SERIAL_MOD_103 0x01
  189. #define CISTPL_SERIAL_MOD_V21 0x02
  190. #define CISTPL_SERIAL_MOD_V23 0x04
  191. #define CISTPL_SERIAL_MOD_V22 0x08
  192. #define CISTPL_SERIAL_MOD_212A 0x10
  193. #define CISTPL_SERIAL_MOD_V22BIS 0x20
  194. #define CISTPL_SERIAL_MOD_V26 0x40
  195. #define CISTPL_SERIAL_MOD_V26BIS 0x80
  196. #define CISTPL_SERIAL_MOD_V27BIS 0x01
  197. #define CISTPL_SERIAL_MOD_V29 0x02
  198. #define CISTPL_SERIAL_MOD_V32 0x04
  199. #define CISTPL_SERIAL_MOD_V32BIS 0x08
  200. #define CISTPL_SERIAL_MOD_V34 0x10
  201. #define CISTPL_SERIAL_ERR_MNP2_4 0x01
  202. #define CISTPL_SERIAL_ERR_V42_LAPM 0x02
  203. #define CISTPL_SERIAL_CMPR_V42BIS 0x01
  204. #define CISTPL_SERIAL_CMPR_MNP5 0x02
  205. #define CISTPL_SERIAL_CMD_AT1 0x01
  206. #define CISTPL_SERIAL_CMD_AT2 0x02
  207. #define CISTPL_SERIAL_CMD_AT3 0x04
  208. #define CISTPL_SERIAL_CMD_MNP_AT 0x08
  209. #define CISTPL_SERIAL_CMD_V25BIS 0x10
  210. #define CISTPL_SERIAL_CMD_V25A 0x20
  211. #define CISTPL_SERIAL_CMD_DMCL 0x40
  212. typedef struct cistpl_data_serv_t {
  213. u_char max_data_0;
  214. u_char max_data_1;
  215. u_char modulation_0;
  216. u_char modulation_1;
  217. u_char error_control;
  218. u_char compression;
  219. u_char cmd_protocol;
  220. u_char escape;
  221. u_char encrypt;
  222. u_char misc_features;
  223. u_char ccitt_code[];
  224. } cistpl_data_serv_t;
  225. typedef struct cistpl_fax_serv_t {
  226. u_char max_data_0;
  227. u_char max_data_1;
  228. u_char modulation;
  229. u_char encrypt;
  230. u_char features_0;
  231. u_char features_1;
  232. u_char ccitt_code[];
  233. } cistpl_fax_serv_t;
  234. typedef struct cistpl_voice_serv_t {
  235. u_char max_data_0;
  236. u_char max_data_1;
  237. } cistpl_voice_serv_t;
  238. /*======================================================================
  239. LAN Function Extension Tuples
  240. ======================================================================*/
  241. #define CISTPL_FUNCE_LAN_TECH 0x01
  242. #define CISTPL_FUNCE_LAN_SPEED 0x02
  243. #define CISTPL_FUNCE_LAN_MEDIA 0x03
  244. #define CISTPL_FUNCE_LAN_NODE_ID 0x04
  245. #define CISTPL_FUNCE_LAN_CONNECTOR 0x05
  246. /* LAN technologies */
  247. #define CISTPL_LAN_TECH_ARCNET 0x01
  248. #define CISTPL_LAN_TECH_ETHERNET 0x02
  249. #define CISTPL_LAN_TECH_TOKENRING 0x03
  250. #define CISTPL_LAN_TECH_LOCALTALK 0x04
  251. #define CISTPL_LAN_TECH_FDDI 0x05
  252. #define CISTPL_LAN_TECH_ATM 0x06
  253. #define CISTPL_LAN_TECH_WIRELESS 0x07
  254. typedef struct cistpl_lan_tech_t {
  255. u_char tech;
  256. } cistpl_lan_tech_t;
  257. typedef struct cistpl_lan_speed_t {
  258. u_int speed;
  259. } cistpl_lan_speed_t;
  260. /* LAN media definitions */
  261. #define CISTPL_LAN_MEDIA_UTP 0x01
  262. #define CISTPL_LAN_MEDIA_STP 0x02
  263. #define CISTPL_LAN_MEDIA_THIN_COAX 0x03
  264. #define CISTPL_LAN_MEDIA_THICK_COAX 0x04
  265. #define CISTPL_LAN_MEDIA_FIBER 0x05
  266. #define CISTPL_LAN_MEDIA_900MHZ 0x06
  267. #define CISTPL_LAN_MEDIA_2GHZ 0x07
  268. #define CISTPL_LAN_MEDIA_5GHZ 0x08
  269. #define CISTPL_LAN_MEDIA_DIFF_IR 0x09
  270. #define CISTPL_LAN_MEDIA_PTP_IR 0x0a
  271. typedef struct cistpl_lan_media_t {
  272. u_char media;
  273. } cistpl_lan_media_t;
  274. typedef struct cistpl_lan_node_id_t {
  275. u_char nb;
  276. u_char id[16];
  277. } cistpl_lan_node_id_t;
  278. typedef struct cistpl_lan_connector_t {
  279. u_char code;
  280. } cistpl_lan_connector_t;
  281. /*======================================================================
  282. IDE Function Extension Tuples
  283. ======================================================================*/
  284. #define CISTPL_IDE_INTERFACE 0x01
  285. typedef struct cistpl_ide_interface_t {
  286. u_char interface;
  287. } cistpl_ide_interface_t;
  288. /* First feature byte */
  289. #define CISTPL_IDE_SILICON 0x04
  290. #define CISTPL_IDE_UNIQUE 0x08
  291. #define CISTPL_IDE_DUAL 0x10
  292. /* Second feature byte */
  293. #define CISTPL_IDE_HAS_SLEEP 0x01
  294. #define CISTPL_IDE_HAS_STANDBY 0x02
  295. #define CISTPL_IDE_HAS_IDLE 0x04
  296. #define CISTPL_IDE_LOW_POWER 0x08
  297. #define CISTPL_IDE_REG_INHIBIT 0x10
  298. #define CISTPL_IDE_HAS_INDEX 0x20
  299. #define CISTPL_IDE_IOIS16 0x40
  300. typedef struct cistpl_ide_feature_t {
  301. u_char feature1;
  302. u_char feature2;
  303. } cistpl_ide_feature_t;
  304. #define CISTPL_FUNCE_IDE_IFACE 0x01
  305. #define CISTPL_FUNCE_IDE_MASTER 0x02
  306. #define CISTPL_FUNCE_IDE_SLAVE 0x03
  307. /*======================================================================
  308. Configuration Table Entries
  309. ======================================================================*/
  310. #define CISTPL_BAR_SPACE 0x07
  311. #define CISTPL_BAR_SPACE_IO 0x10
  312. #define CISTPL_BAR_PREFETCH 0x20
  313. #define CISTPL_BAR_CACHEABLE 0x40
  314. #define CISTPL_BAR_1MEG_MAP 0x80
  315. typedef struct cistpl_bar_t {
  316. u_char attr;
  317. u_int size;
  318. } cistpl_bar_t;
  319. typedef struct cistpl_config_t {
  320. u_char last_idx;
  321. u_int base;
  322. u_int rmask[4];
  323. u_char subtuples;
  324. } cistpl_config_t;
  325. /* These are bits in the 'present' field, and indices in 'param' */
  326. #define CISTPL_POWER_VNOM 0
  327. #define CISTPL_POWER_VMIN 1
  328. #define CISTPL_POWER_VMAX 2
  329. #define CISTPL_POWER_ISTATIC 3
  330. #define CISTPL_POWER_IAVG 4
  331. #define CISTPL_POWER_IPEAK 5
  332. #define CISTPL_POWER_IDOWN 6
  333. #define CISTPL_POWER_HIGHZ_OK 0x01
  334. #define CISTPL_POWER_HIGHZ_REQ 0x02
  335. typedef struct cistpl_power_t {
  336. u_char present;
  337. u_char flags;
  338. u_int param[7];
  339. } cistpl_power_t;
  340. typedef struct cistpl_timing_t {
  341. u_int wait, waitscale;
  342. u_int ready, rdyscale;
  343. u_int reserved, rsvscale;
  344. } cistpl_timing_t;
  345. #define CISTPL_IO_LINES_MASK 0x1f
  346. #define CISTPL_IO_8BIT 0x20
  347. #define CISTPL_IO_16BIT 0x40
  348. #define CISTPL_IO_RANGE 0x80
  349. #define CISTPL_IO_MAX_WIN 16
  350. typedef struct cistpl_io_t {
  351. u_char flags;
  352. u_char nwin;
  353. struct {
  354. u_int base;
  355. u_int len;
  356. } win[CISTPL_IO_MAX_WIN];
  357. } cistpl_io_t;
  358. typedef struct cistpl_irq_t {
  359. u_int IRQInfo1;
  360. u_int IRQInfo2;
  361. } cistpl_irq_t;
  362. #define CISTPL_MEM_MAX_WIN 8
  363. typedef struct cistpl_mem_t {
  364. u_char flags;
  365. u_char nwin;
  366. struct {
  367. u_int len;
  368. u_int card_addr;
  369. u_int host_addr;
  370. } win[CISTPL_MEM_MAX_WIN];
  371. } cistpl_mem_t;
  372. #define CISTPL_CFTABLE_DEFAULT 0x0001
  373. #define CISTPL_CFTABLE_BVDS 0x0002
  374. #define CISTPL_CFTABLE_WP 0x0004
  375. #define CISTPL_CFTABLE_RDYBSY 0x0008
  376. #define CISTPL_CFTABLE_MWAIT 0x0010
  377. #define CISTPL_CFTABLE_AUDIO 0x0800
  378. #define CISTPL_CFTABLE_READONLY 0x1000
  379. #define CISTPL_CFTABLE_PWRDOWN 0x2000
  380. typedef struct cistpl_cftable_entry_t {
  381. u_char index;
  382. u_short flags;
  383. u_char interface;
  384. cistpl_power_t vcc, vpp1, vpp2;
  385. cistpl_timing_t timing;
  386. cistpl_io_t io;
  387. cistpl_irq_t irq;
  388. cistpl_mem_t mem;
  389. u_char subtuples;
  390. } cistpl_cftable_entry_t;
  391. #define CISTPL_CFTABLE_MASTER 0x000100
  392. #define CISTPL_CFTABLE_INVALIDATE 0x000200
  393. #define CISTPL_CFTABLE_VGA_PALETTE 0x000400
  394. #define CISTPL_CFTABLE_PARITY 0x000800
  395. #define CISTPL_CFTABLE_WAIT 0x001000
  396. #define CISTPL_CFTABLE_SERR 0x002000
  397. #define CISTPL_CFTABLE_FAST_BACK 0x004000
  398. #define CISTPL_CFTABLE_BINARY_AUDIO 0x010000
  399. #define CISTPL_CFTABLE_PWM_AUDIO 0x020000
  400. typedef struct cistpl_cftable_entry_cb_t {
  401. u_char index;
  402. u_int flags;
  403. cistpl_power_t vcc, vpp1, vpp2;
  404. u_char io;
  405. cistpl_irq_t irq;
  406. u_char mem;
  407. u_char subtuples;
  408. } cistpl_cftable_entry_cb_t;
  409. typedef struct cistpl_device_geo_t {
  410. u_char ngeo;
  411. struct {
  412. u_char buswidth;
  413. u_int erase_block;
  414. u_int read_block;
  415. u_int write_block;
  416. u_int partition;
  417. u_int interleave;
  418. } geo[CISTPL_MAX_DEVICES];
  419. } cistpl_device_geo_t;
  420. typedef struct cistpl_vers_2_t {
  421. u_char vers;
  422. u_char comply;
  423. u_short dindex;
  424. u_char vspec8, vspec9;
  425. u_char nhdr;
  426. u_char vendor, info;
  427. char str[244];
  428. } cistpl_vers_2_t;
  429. typedef struct cistpl_org_t {
  430. u_char data_org;
  431. char desc[30];
  432. } cistpl_org_t;
  433. #define CISTPL_ORG_FS 0x00
  434. #define CISTPL_ORG_APPSPEC 0x01
  435. #define CISTPL_ORG_XIP 0x02
  436. typedef struct cistpl_format_t {
  437. u_char type;
  438. u_char edc;
  439. u_int offset;
  440. u_int length;
  441. } cistpl_format_t;
  442. #define CISTPL_FORMAT_DISK 0x00
  443. #define CISTPL_FORMAT_MEM 0x01
  444. #define CISTPL_EDC_NONE 0x00
  445. #define CISTPL_EDC_CKSUM 0x01
  446. #define CISTPL_EDC_CRC 0x02
  447. #define CISTPL_EDC_PCC 0x03
  448. typedef union cisparse_t {
  449. cistpl_device_t device;
  450. cistpl_checksum_t checksum;
  451. cistpl_longlink_t longlink;
  452. cistpl_longlink_mfc_t longlink_mfc;
  453. cistpl_vers_1_t version_1;
  454. cistpl_altstr_t altstr;
  455. cistpl_jedec_t jedec;
  456. cistpl_manfid_t manfid;
  457. cistpl_funcid_t funcid;
  458. cistpl_funce_t funce;
  459. cistpl_bar_t bar;
  460. cistpl_config_t config;
  461. cistpl_cftable_entry_t cftable_entry;
  462. cistpl_cftable_entry_cb_t cftable_entry_cb;
  463. cistpl_device_geo_t device_geo;
  464. cistpl_vers_2_t vers_2;
  465. cistpl_org_t org;
  466. cistpl_format_t format;
  467. } cisparse_t;
  468. typedef struct tuple_t {
  469. u_int Attributes;
  470. cisdata_t DesiredTuple;
  471. u_int Flags; /* internal use */
  472. u_int LinkOffset; /* internal use */
  473. u_int CISOffset; /* internal use */
  474. cisdata_t TupleCode;
  475. cisdata_t TupleLink;
  476. cisdata_t TupleOffset;
  477. cisdata_t TupleDataMax;
  478. cisdata_t TupleDataLen;
  479. cisdata_t *TupleData;
  480. } tuple_t;
  481. /* Special cisdata_t value */
  482. #define RETURN_FIRST_TUPLE 0xff
  483. /* Attributes for tuple calls */
  484. #define TUPLE_RETURN_LINK 0x01
  485. #define TUPLE_RETURN_COMMON 0x02
  486. #define CISTPL_MAX_CIS_SIZE 0x200
  487. #endif /* LINUX_CISTPL_H */