Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * cistpl.h
0004  *
0005  * The initial developer of the original code is David A. Hinds
0006  * <dahinds@users.sourceforge.net>.  Portions created by David A. Hinds
0007  * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
0008  *
0009  * (C) 1999             David A. Hinds
0010  */
0011 
0012 #ifndef _LINUX_CISTPL_H
0013 #define _LINUX_CISTPL_H
0014 
0015 typedef unsigned char cisdata_t;
0016 
0017 #define CISTPL_NULL     0x00
0018 #define CISTPL_DEVICE       0x01
0019 #define CISTPL_LONGLINK_CB  0x02
0020 #define CISTPL_INDIRECT     0x03
0021 #define CISTPL_CONFIG_CB    0x04
0022 #define CISTPL_CFTABLE_ENTRY_CB 0x05
0023 #define CISTPL_LONGLINK_MFC 0x06
0024 #define CISTPL_BAR      0x07
0025 #define CISTPL_PWR_MGMNT    0x08
0026 #define CISTPL_EXTDEVICE    0x09
0027 #define CISTPL_CHECKSUM     0x10
0028 #define CISTPL_LONGLINK_A   0x11
0029 #define CISTPL_LONGLINK_C   0x12
0030 #define CISTPL_LINKTARGET   0x13
0031 #define CISTPL_NO_LINK      0x14
0032 #define CISTPL_VERS_1       0x15
0033 #define CISTPL_ALTSTR       0x16
0034 #define CISTPL_DEVICE_A     0x17
0035 #define CISTPL_JEDEC_C      0x18
0036 #define CISTPL_JEDEC_A      0x19
0037 #define CISTPL_CONFIG       0x1a
0038 #define CISTPL_CFTABLE_ENTRY    0x1b
0039 #define CISTPL_DEVICE_OC    0x1c
0040 #define CISTPL_DEVICE_OA    0x1d
0041 #define CISTPL_DEVICE_GEO   0x1e
0042 #define CISTPL_DEVICE_GEO_A 0x1f
0043 #define CISTPL_MANFID       0x20
0044 #define CISTPL_FUNCID       0x21
0045 #define CISTPL_FUNCE        0x22
0046 #define CISTPL_SWIL     0x23
0047 #define CISTPL_END      0xff
0048 /* Layer 2 tuples */
0049 #define CISTPL_VERS_2       0x40
0050 #define CISTPL_FORMAT       0x41
0051 #define CISTPL_GEOMETRY     0x42
0052 #define CISTPL_BYTEORDER    0x43
0053 #define CISTPL_DATE     0x44
0054 #define CISTPL_BATTERY      0x45
0055 #define CISTPL_FORMAT_A     0x47
0056 /* Layer 3 tuples */
0057 #define CISTPL_ORG      0x46
0058 #define CISTPL_SPCL     0x90
0059 
0060 typedef struct cistpl_longlink_t {
0061     u_int   addr;
0062 } cistpl_longlink_t;
0063 
0064 typedef struct cistpl_checksum_t {
0065     u_short addr;
0066     u_short len;
0067     u_char  sum;
0068 } cistpl_checksum_t;
0069 
0070 #define CISTPL_MAX_FUNCTIONS    8
0071 #define CISTPL_MFC_ATTR     0x00
0072 #define CISTPL_MFC_COMMON   0x01
0073 
0074 typedef struct cistpl_longlink_mfc_t {
0075     u_char  nfn;
0076     struct {
0077     u_char  space;
0078     u_int   addr;
0079     } fn[CISTPL_MAX_FUNCTIONS];
0080 } cistpl_longlink_mfc_t;
0081 
0082 #define CISTPL_MAX_ALTSTR_STRINGS   4
0083 
0084 typedef struct cistpl_altstr_t {
0085     u_char  ns;
0086     u_char  ofs[CISTPL_MAX_ALTSTR_STRINGS];
0087     char    str[254];
0088 } cistpl_altstr_t;
0089 
0090 #define CISTPL_DTYPE_NULL   0x00
0091 #define CISTPL_DTYPE_ROM    0x01
0092 #define CISTPL_DTYPE_OTPROM 0x02
0093 #define CISTPL_DTYPE_EPROM  0x03
0094 #define CISTPL_DTYPE_EEPROM 0x04
0095 #define CISTPL_DTYPE_FLASH  0x05
0096 #define CISTPL_DTYPE_SRAM   0x06
0097 #define CISTPL_DTYPE_DRAM   0x07
0098 #define CISTPL_DTYPE_FUNCSPEC   0x0d
0099 #define CISTPL_DTYPE_EXTEND 0x0e
0100 
0101 #define CISTPL_MAX_DEVICES  4
0102 
0103 typedef struct cistpl_device_t {
0104     u_char  ndev;
0105     struct {
0106     u_char  type;
0107     u_char  wp;
0108     u_int   speed;
0109     u_int   size;
0110     } dev[CISTPL_MAX_DEVICES];
0111 } cistpl_device_t;
0112 
0113 #define CISTPL_DEVICE_MWAIT 0x01
0114 #define CISTPL_DEVICE_3VCC  0x02
0115 
0116 typedef struct cistpl_device_o_t {
0117     u_char      flags;
0118     cistpl_device_t device;
0119 } cistpl_device_o_t;
0120 
0121 #define CISTPL_VERS_1_MAX_PROD_STRINGS  4
0122 
0123 typedef struct cistpl_vers_1_t {
0124     u_char  major;
0125     u_char  minor;
0126     u_char  ns;
0127     u_char  ofs[CISTPL_VERS_1_MAX_PROD_STRINGS];
0128     char    str[254];
0129 } cistpl_vers_1_t;
0130 
0131 typedef struct cistpl_jedec_t {
0132     u_char  nid;
0133     struct {
0134     u_char  mfr;
0135     u_char  info;
0136     } id[CISTPL_MAX_DEVICES];
0137 } cistpl_jedec_t;
0138 
0139 typedef struct cistpl_manfid_t {
0140     u_short manf;
0141     u_short card;
0142 } cistpl_manfid_t;
0143 
0144 #define CISTPL_FUNCID_MULTI 0x00
0145 #define CISTPL_FUNCID_MEMORY    0x01
0146 #define CISTPL_FUNCID_SERIAL    0x02
0147 #define CISTPL_FUNCID_PARALLEL  0x03
0148 #define CISTPL_FUNCID_FIXED 0x04
0149 #define CISTPL_FUNCID_VIDEO 0x05
0150 #define CISTPL_FUNCID_NETWORK   0x06
0151 #define CISTPL_FUNCID_AIMS  0x07
0152 #define CISTPL_FUNCID_SCSI  0x08
0153 
0154 #define CISTPL_SYSINIT_POST 0x01
0155 #define CISTPL_SYSINIT_ROM  0x02
0156 
0157 typedef struct cistpl_funcid_t {
0158     u_char  func;
0159     u_char  sysinit;
0160 } cistpl_funcid_t;
0161 
0162 typedef struct cistpl_funce_t {
0163     u_char  type;
0164     u_char  data[];
0165 } cistpl_funce_t;
0166 
0167 /*======================================================================
0168 
0169     Modem Function Extension Tuples
0170 
0171 ======================================================================*/
0172 
0173 #define CISTPL_FUNCE_SERIAL_IF      0x00
0174 #define CISTPL_FUNCE_SERIAL_CAP     0x01
0175 #define CISTPL_FUNCE_SERIAL_SERV_DATA   0x02
0176 #define CISTPL_FUNCE_SERIAL_SERV_FAX    0x03
0177 #define CISTPL_FUNCE_SERIAL_SERV_VOICE  0x04
0178 #define CISTPL_FUNCE_SERIAL_CAP_DATA    0x05
0179 #define CISTPL_FUNCE_SERIAL_CAP_FAX 0x06
0180 #define CISTPL_FUNCE_SERIAL_CAP_VOICE   0x07
0181 #define CISTPL_FUNCE_SERIAL_IF_DATA 0x08
0182 #define CISTPL_FUNCE_SERIAL_IF_FAX  0x09
0183 #define CISTPL_FUNCE_SERIAL_IF_VOICE    0x0a
0184 
0185 /* UART identification */
0186 #define CISTPL_SERIAL_UART_8250     0x00
0187 #define CISTPL_SERIAL_UART_16450    0x01
0188 #define CISTPL_SERIAL_UART_16550    0x02
0189 #define CISTPL_SERIAL_UART_8251     0x03
0190 #define CISTPL_SERIAL_UART_8530     0x04
0191 #define CISTPL_SERIAL_UART_85230    0x05
0192 
0193 /* UART capabilities */
0194 #define CISTPL_SERIAL_UART_SPACE    0x01
0195 #define CISTPL_SERIAL_UART_MARK     0x02
0196 #define CISTPL_SERIAL_UART_ODD      0x04
0197 #define CISTPL_SERIAL_UART_EVEN     0x08
0198 #define CISTPL_SERIAL_UART_5BIT     0x01
0199 #define CISTPL_SERIAL_UART_6BIT     0x02
0200 #define CISTPL_SERIAL_UART_7BIT     0x04
0201 #define CISTPL_SERIAL_UART_8BIT     0x08
0202 #define CISTPL_SERIAL_UART_1STOP    0x10
0203 #define CISTPL_SERIAL_UART_MSTOP    0x20
0204 #define CISTPL_SERIAL_UART_2STOP    0x40
0205 
0206 typedef struct cistpl_serial_t {
0207     u_char  uart_type;
0208     u_char  uart_cap_0;
0209     u_char  uart_cap_1;
0210 } cistpl_serial_t;
0211 
0212 typedef struct cistpl_modem_cap_t {
0213     u_char  flow;
0214     u_char  cmd_buf;
0215     u_char  rcv_buf_0, rcv_buf_1, rcv_buf_2;
0216     u_char  xmit_buf_0, xmit_buf_1, xmit_buf_2;
0217 } cistpl_modem_cap_t;
0218 
0219 #define CISTPL_SERIAL_MOD_103       0x01
0220 #define CISTPL_SERIAL_MOD_V21       0x02
0221 #define CISTPL_SERIAL_MOD_V23       0x04
0222 #define CISTPL_SERIAL_MOD_V22       0x08
0223 #define CISTPL_SERIAL_MOD_212A      0x10
0224 #define CISTPL_SERIAL_MOD_V22BIS    0x20
0225 #define CISTPL_SERIAL_MOD_V26       0x40
0226 #define CISTPL_SERIAL_MOD_V26BIS    0x80
0227 #define CISTPL_SERIAL_MOD_V27BIS    0x01
0228 #define CISTPL_SERIAL_MOD_V29       0x02
0229 #define CISTPL_SERIAL_MOD_V32       0x04
0230 #define CISTPL_SERIAL_MOD_V32BIS    0x08
0231 #define CISTPL_SERIAL_MOD_V34       0x10
0232 
0233 #define CISTPL_SERIAL_ERR_MNP2_4    0x01
0234 #define CISTPL_SERIAL_ERR_V42_LAPM  0x02
0235 
0236 #define CISTPL_SERIAL_CMPR_V42BIS   0x01
0237 #define CISTPL_SERIAL_CMPR_MNP5     0x02
0238 
0239 #define CISTPL_SERIAL_CMD_AT1       0x01
0240 #define CISTPL_SERIAL_CMD_AT2       0x02
0241 #define CISTPL_SERIAL_CMD_AT3       0x04
0242 #define CISTPL_SERIAL_CMD_MNP_AT    0x08
0243 #define CISTPL_SERIAL_CMD_V25BIS    0x10
0244 #define CISTPL_SERIAL_CMD_V25A      0x20
0245 #define CISTPL_SERIAL_CMD_DMCL      0x40
0246 
0247 typedef struct cistpl_data_serv_t {
0248     u_char  max_data_0;
0249     u_char  max_data_1;
0250     u_char  modulation_0;
0251     u_char  modulation_1;
0252     u_char  error_control;
0253     u_char  compression;
0254     u_char  cmd_protocol;
0255     u_char  escape;
0256     u_char  encrypt;
0257     u_char  misc_features;
0258     u_char  ccitt_code[];
0259 } cistpl_data_serv_t;
0260 
0261 typedef struct cistpl_fax_serv_t {
0262     u_char  max_data_0;
0263     u_char  max_data_1;
0264     u_char  modulation;
0265     u_char  encrypt;
0266     u_char  features_0;
0267     u_char  features_1;
0268     u_char  ccitt_code[];
0269 } cistpl_fax_serv_t;
0270 
0271 typedef struct cistpl_voice_serv_t {
0272     u_char  max_data_0;
0273     u_char  max_data_1;
0274 } cistpl_voice_serv_t;
0275 
0276 /*======================================================================
0277 
0278     LAN Function Extension Tuples
0279 
0280 ======================================================================*/
0281 
0282 #define CISTPL_FUNCE_LAN_TECH       0x01
0283 #define CISTPL_FUNCE_LAN_SPEED      0x02
0284 #define CISTPL_FUNCE_LAN_MEDIA      0x03
0285 #define CISTPL_FUNCE_LAN_NODE_ID    0x04
0286 #define CISTPL_FUNCE_LAN_CONNECTOR  0x05
0287 
0288 /* LAN technologies */
0289 #define CISTPL_LAN_TECH_ARCNET      0x01
0290 #define CISTPL_LAN_TECH_ETHERNET    0x02
0291 #define CISTPL_LAN_TECH_TOKENRING   0x03
0292 #define CISTPL_LAN_TECH_LOCALTALK   0x04
0293 #define CISTPL_LAN_TECH_FDDI        0x05
0294 #define CISTPL_LAN_TECH_ATM     0x06
0295 #define CISTPL_LAN_TECH_WIRELESS    0x07
0296 
0297 typedef struct cistpl_lan_tech_t {
0298     u_char  tech;
0299 } cistpl_lan_tech_t;
0300 
0301 typedef struct cistpl_lan_speed_t {
0302     u_int   speed;
0303 } cistpl_lan_speed_t;
0304 
0305 /* LAN media definitions */
0306 #define CISTPL_LAN_MEDIA_UTP        0x01
0307 #define CISTPL_LAN_MEDIA_STP        0x02
0308 #define CISTPL_LAN_MEDIA_THIN_COAX  0x03
0309 #define CISTPL_LAN_MEDIA_THICK_COAX 0x04
0310 #define CISTPL_LAN_MEDIA_FIBER      0x05
0311 #define CISTPL_LAN_MEDIA_900MHZ     0x06
0312 #define CISTPL_LAN_MEDIA_2GHZ       0x07
0313 #define CISTPL_LAN_MEDIA_5GHZ       0x08
0314 #define CISTPL_LAN_MEDIA_DIFF_IR    0x09
0315 #define CISTPL_LAN_MEDIA_PTP_IR     0x0a
0316 
0317 typedef struct cistpl_lan_media_t {
0318     u_char  media;
0319 } cistpl_lan_media_t;
0320 
0321 typedef struct cistpl_lan_node_id_t {
0322     u_char  nb;
0323     u_char  id[16];
0324 } cistpl_lan_node_id_t;
0325 
0326 typedef struct cistpl_lan_connector_t {
0327     u_char  code;
0328 } cistpl_lan_connector_t;
0329 
0330 /*======================================================================
0331 
0332     IDE Function Extension Tuples
0333 
0334 ======================================================================*/
0335 
0336 #define CISTPL_IDE_INTERFACE        0x01
0337 
0338 typedef struct cistpl_ide_interface_t {
0339     u_char  interface;
0340 } cistpl_ide_interface_t;
0341 
0342 /* First feature byte */
0343 #define CISTPL_IDE_SILICON      0x04
0344 #define CISTPL_IDE_UNIQUE       0x08
0345 #define CISTPL_IDE_DUAL         0x10
0346 
0347 /* Second feature byte */
0348 #define CISTPL_IDE_HAS_SLEEP        0x01
0349 #define CISTPL_IDE_HAS_STANDBY      0x02
0350 #define CISTPL_IDE_HAS_IDLE     0x04
0351 #define CISTPL_IDE_LOW_POWER        0x08
0352 #define CISTPL_IDE_REG_INHIBIT      0x10
0353 #define CISTPL_IDE_HAS_INDEX        0x20
0354 #define CISTPL_IDE_IOIS16       0x40
0355 
0356 typedef struct cistpl_ide_feature_t {
0357     u_char  feature1;
0358     u_char  feature2;
0359 } cistpl_ide_feature_t;
0360 
0361 #define CISTPL_FUNCE_IDE_IFACE      0x01
0362 #define CISTPL_FUNCE_IDE_MASTER     0x02
0363 #define CISTPL_FUNCE_IDE_SLAVE      0x03
0364 
0365 /*======================================================================
0366 
0367     Configuration Table Entries
0368 
0369 ======================================================================*/
0370 
0371 #define CISTPL_BAR_SPACE    0x07
0372 #define CISTPL_BAR_SPACE_IO 0x10
0373 #define CISTPL_BAR_PREFETCH 0x20
0374 #define CISTPL_BAR_CACHEABLE    0x40
0375 #define CISTPL_BAR_1MEG_MAP 0x80
0376 
0377 typedef struct cistpl_bar_t {
0378     u_char  attr;
0379     u_int   size;
0380 } cistpl_bar_t;
0381 
0382 typedef struct cistpl_config_t {
0383     u_char  last_idx;
0384     u_int   base;
0385     u_int   rmask[4];
0386     u_char  subtuples;
0387 } cistpl_config_t;
0388 
0389 /* These are bits in the 'present' field, and indices in 'param' */
0390 #define CISTPL_POWER_VNOM   0
0391 #define CISTPL_POWER_VMIN   1
0392 #define CISTPL_POWER_VMAX   2
0393 #define CISTPL_POWER_ISTATIC    3
0394 #define CISTPL_POWER_IAVG   4
0395 #define CISTPL_POWER_IPEAK  5
0396 #define CISTPL_POWER_IDOWN  6
0397 
0398 #define CISTPL_POWER_HIGHZ_OK   0x01
0399 #define CISTPL_POWER_HIGHZ_REQ  0x02
0400 
0401 typedef struct cistpl_power_t {
0402     u_char  present;
0403     u_char  flags;
0404     u_int   param[7];
0405 } cistpl_power_t;
0406 
0407 typedef struct cistpl_timing_t {
0408     u_int   wait, waitscale;
0409     u_int   ready, rdyscale;
0410     u_int   reserved, rsvscale;
0411 } cistpl_timing_t;
0412 
0413 #define CISTPL_IO_LINES_MASK    0x1f
0414 #define CISTPL_IO_8BIT      0x20
0415 #define CISTPL_IO_16BIT     0x40
0416 #define CISTPL_IO_RANGE     0x80
0417 
0418 #define CISTPL_IO_MAX_WIN   16
0419 
0420 typedef struct cistpl_io_t {
0421     u_char  flags;
0422     u_char  nwin;
0423     struct {
0424     u_int   base;
0425     u_int   len;
0426     } win[CISTPL_IO_MAX_WIN];
0427 } cistpl_io_t;
0428 
0429 typedef struct cistpl_irq_t {
0430     u_int   IRQInfo1;
0431     u_int   IRQInfo2;
0432 } cistpl_irq_t;
0433 
0434 #define CISTPL_MEM_MAX_WIN  8
0435 
0436 typedef struct cistpl_mem_t {
0437     u_char  flags;
0438     u_char  nwin;
0439     struct {
0440     u_int   len;
0441     u_int   card_addr;
0442     u_int   host_addr;
0443     } win[CISTPL_MEM_MAX_WIN];
0444 } cistpl_mem_t;
0445 
0446 #define CISTPL_CFTABLE_DEFAULT      0x0001
0447 #define CISTPL_CFTABLE_BVDS     0x0002
0448 #define CISTPL_CFTABLE_WP       0x0004
0449 #define CISTPL_CFTABLE_RDYBSY       0x0008
0450 #define CISTPL_CFTABLE_MWAIT        0x0010
0451 #define CISTPL_CFTABLE_AUDIO        0x0800
0452 #define CISTPL_CFTABLE_READONLY     0x1000
0453 #define CISTPL_CFTABLE_PWRDOWN      0x2000
0454 
0455 typedef struct cistpl_cftable_entry_t {
0456     u_char      index;
0457     u_short     flags;
0458     u_char      interface;
0459     cistpl_power_t  vcc, vpp1, vpp2;
0460     cistpl_timing_t timing;
0461     cistpl_io_t     io;
0462     cistpl_irq_t    irq;
0463     cistpl_mem_t    mem;
0464     u_char      subtuples;
0465 } cistpl_cftable_entry_t;
0466 
0467 #define CISTPL_CFTABLE_MASTER       0x000100
0468 #define CISTPL_CFTABLE_INVALIDATE   0x000200
0469 #define CISTPL_CFTABLE_VGA_PALETTE  0x000400
0470 #define CISTPL_CFTABLE_PARITY       0x000800
0471 #define CISTPL_CFTABLE_WAIT     0x001000
0472 #define CISTPL_CFTABLE_SERR     0x002000
0473 #define CISTPL_CFTABLE_FAST_BACK    0x004000
0474 #define CISTPL_CFTABLE_BINARY_AUDIO 0x010000
0475 #define CISTPL_CFTABLE_PWM_AUDIO    0x020000
0476 
0477 typedef struct cistpl_cftable_entry_cb_t {
0478     u_char      index;
0479     u_int       flags;
0480     cistpl_power_t  vcc, vpp1, vpp2;
0481     u_char      io;
0482     cistpl_irq_t    irq;
0483     u_char      mem;
0484     u_char      subtuples;
0485 } cistpl_cftable_entry_cb_t;
0486 
0487 typedef struct cistpl_device_geo_t {
0488     u_char      ngeo;
0489     struct {
0490     u_char      buswidth;
0491     u_int       erase_block;
0492     u_int       read_block;
0493     u_int       write_block;
0494     u_int       partition;
0495     u_int       interleave;
0496     } geo[CISTPL_MAX_DEVICES];
0497 } cistpl_device_geo_t;
0498 
0499 typedef struct cistpl_vers_2_t {
0500     u_char  vers;
0501     u_char  comply;
0502     u_short dindex;
0503     u_char  vspec8, vspec9;
0504     u_char  nhdr;
0505     u_char  vendor, info;
0506     char    str[244];
0507 } cistpl_vers_2_t;
0508 
0509 typedef struct cistpl_org_t {
0510     u_char  data_org;
0511     char    desc[30];
0512 } cistpl_org_t;
0513 
0514 #define CISTPL_ORG_FS       0x00
0515 #define CISTPL_ORG_APPSPEC  0x01
0516 #define CISTPL_ORG_XIP      0x02
0517 
0518 typedef struct cistpl_format_t {
0519     u_char  type;
0520     u_char  edc;
0521     u_int   offset;
0522     u_int   length;
0523 } cistpl_format_t;
0524 
0525 #define CISTPL_FORMAT_DISK  0x00
0526 #define CISTPL_FORMAT_MEM   0x01
0527 
0528 #define CISTPL_EDC_NONE     0x00
0529 #define CISTPL_EDC_CKSUM    0x01
0530 #define CISTPL_EDC_CRC      0x02
0531 #define CISTPL_EDC_PCC      0x03
0532 
0533 typedef union cisparse_t {
0534     cistpl_device_t     device;
0535     cistpl_checksum_t       checksum;
0536     cistpl_longlink_t       longlink;
0537     cistpl_longlink_mfc_t   longlink_mfc;
0538     cistpl_vers_1_t     version_1;
0539     cistpl_altstr_t     altstr;
0540     cistpl_jedec_t      jedec;
0541     cistpl_manfid_t     manfid;
0542     cistpl_funcid_t     funcid;
0543     cistpl_funce_t      funce;
0544     cistpl_bar_t        bar;
0545     cistpl_config_t     config;
0546     cistpl_cftable_entry_t  cftable_entry;
0547     cistpl_cftable_entry_cb_t   cftable_entry_cb;
0548     cistpl_device_geo_t     device_geo;
0549     cistpl_vers_2_t     vers_2;
0550     cistpl_org_t        org;
0551     cistpl_format_t     format;
0552 } cisparse_t;
0553 
0554 typedef struct tuple_t {
0555     u_int   Attributes;
0556     cisdata_t   DesiredTuple;
0557     u_int   Flags;      /* internal use */
0558     u_int   LinkOffset; /* internal use */
0559     u_int   CISOffset;  /* internal use */
0560     cisdata_t   TupleCode;
0561     cisdata_t   TupleLink;
0562     cisdata_t   TupleOffset;
0563     cisdata_t   TupleDataMax;
0564     cisdata_t   TupleDataLen;
0565     cisdata_t   *TupleData;
0566 } tuple_t;
0567 
0568 /* Special cisdata_t value */
0569 #define RETURN_FIRST_TUPLE  0xff
0570 
0571 /* Attributes for tuple calls */
0572 #define TUPLE_RETURN_LINK   0x01
0573 #define TUPLE_RETURN_COMMON 0x02
0574 
0575 #define CISTPL_MAX_CIS_SIZE 0x200
0576 
0577 #endif /* LINUX_CISTPL_H */