1 '\" te
   2 .\"  Copyright (c) 2002, Sun Microsystems, Inc.  All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH CSX_PARSE_CISTPL_FUNCE 9F "Dec 20, 1996"
   7 .SH NAME
   8 csx_Parse_CISTPL_FUNCE \- parse Function Extension tuple
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 #include <sys/pccard.h>
  13 
  14 
  15 
  16 \fBint32_t\fR \fBcsx_Parse_CISTPL_FUNCE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR,
  17      \fBcistpl_funce_t *\fR\fIcf\fR,
  18      \fBuint32_t\fR \fIfid\fR);
  19 .fi
  20 
  21 .SH INTERFACE LEVEL
  22 .sp
  23 .LP
  24 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR
  25 .SH PARAMETERS
  26 .sp
  27 .ne 2
  28 .na
  29 \fB\fIch\fR\fR
  30 .ad
  31 .RS 7n
  32 Client handle returned from \fBcsx_RegisterClient\fR(9F).
  33 .RE
  34 
  35 .sp
  36 .ne 2
  37 .na
  38 \fB\fItu\fR\fR
  39 .ad
  40 .RS 7n
  41 Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call
  42 to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F).
  43 .RE
  44 
  45 .sp
  46 .ne 2
  47 .na
  48 \fB\fIcf\fR\fR
  49 .ad
  50 .RS 7n
  51 Pointer to a \fBcistpl_funce_t\fR structure which contains the parsed
  52 \fBCISTPL_FUNCE\fR tuple information upon return from this function.
  53 .RE
  54 
  55 .sp
  56 .ne 2
  57 .na
  58 \fB\fIfid\fR\fR
  59 .ad
  60 .RS 7n
  61 The function \fBID \fRcode to which this \fBCISTPL_FUNCE\fR tuple refers. See
  62 \fBcsx_Parse_CISTPL_FUNCID\fR(9F).
  63 .RE
  64 
  65 .SH DESCRIPTION
  66 .sp
  67 .LP
  68 This function parses the Function Extension tuple, \fBCISTPL_FUNCE,\fR into a
  69 form usable by \fBPC \fRCard drivers.
  70 .sp
  71 .LP
  72 The \fBCISTPL_FUNCE\fR tuple is used to describe information about a specific
  73 \fBPC\fRCard function. The information provided is determined by the Function
  74 Identification tuple, \fBCISTPL_FUNCID,\fR that is being extended. Each
  75 function has a defined set of extension tuples.
  76 .SH STRUCTURE MEMBERS
  77 .sp
  78 .LP
  79 The structure members of \fBcistpl_funce_t\fR are:
  80 .sp
  81 .in +2
  82 .nf
  83 uint32_t     function;           /* type of extended data */
  84 uint32_t     subfunction;
  85 union {
  86        struct serial {
  87               uint32_t  ua;      /* UART in use */
  88               uint32_t  uc;      /* UART capabilities */
  89        } serial;
  90        struct modem {
  91               uint32_t  fc;      /* supported flow control methods */
  92               uint32_t  cb;      /* size of DCE command buffer */
  93               uint32_t  eb;      /* size of DCE to DCE buffer */
  94               uint32_t  tb;      /* size of DTE to DCE buffer */
  95        } modem;
  96        struct data_modem {
  97               uint32_t  ud;      /* highest data rate */
  98               uint32_t  ms;      /* modulation standards */
  99               uint32_t  em;      /* err correct proto and
 100                                                                  /* non-CCITT modulation */
 101               uint32_t  dc;      /* data compression protocols */
 102               uint32_t  cm;      /* command protocols */
 103               uint32_t  ex;      /* escape mechanisms */
 104               uint32_t  dy;      /* standardized data encryption */
 105               uint32_t  ef;      /* miscellaneous end user features */
 106               uint32_t  ncd;     /* number of country codes */
 107               uchar_t   cd[16];  /* CCITT country code */
 108        } data_modem;
 109        struct fax {
 110               uint32_t  uf;      /* highest data rate in DTE/UART */
 111               uint32_t  fm;      /* CCITT modulation standards */
 112               uint32_t  fy;      /* standardized data encryption */
 113               uint32_t  fs;      /* feature selection */
 114               uint32_t  ncf;     /* number of country codes */
 115               uchar_t  cf[16];   /* CCITT country codes */
 116        } fax;
 117        struct voice {
 118               uint32_t  uv;      /* highest data rate */
 119               uint32_t  nsr;
 120               uint32_t  sr[16];  /* voice sampling rates (*100) */
 121               uint32_t  nss;
 122               uint32_t  ss[16];  /* voice sample sizes (*10) */
 123               uint32_t  nsc;
 124               uint32_t  sc[16];  /* voice compression methods */
 125        } voice;
 126        struct lan {
 127               uint32_t  tech;    /* network technology */
 128               uint32_t  speed;   /* media bit or baud rate */
 129               uint32_t  media;   /* network media supported */
 130               uint32_t  con;     /* open/closed connector standard */
 131               uint32_t  id_sz;   /* length of lan station id */
 132               uchar_t  id[16];   /* station ID */
 133         } lan;
 134 } data;
 135 .fi
 136 .in -2
 137 
 138 .sp
 139 .LP
 140 The fields are defined as follows:
 141 .sp
 142 .ne 2
 143 .na
 144 \fBfunction\fR
 145 .ad
 146 .RS 15n
 147 This field identifies the type of extended information provided about a
 148 function by the \fBCISTPL_FUNCE\fR tuple. This field is defined as follows:
 149 .sp
 150 .ne 2
 151 .na
 152 \fBTPLFE_SUB_SERIAL\fR
 153 .ad
 154 .RS 26n
 155 Serial port interface
 156 .RE
 157 
 158 .sp
 159 .ne 2
 160 .na
 161 \fBTPLFE_SUB_MODEM_COMMON\fR
 162 .ad
 163 .RS 26n
 164 Common modem interface
 165 .RE
 166 
 167 .sp
 168 .ne 2
 169 .na
 170 \fBTPLFE_SUB_MODEM_DATA\fR
 171 .ad
 172 .RS 26n
 173 Data modem services
 174 .RE
 175 
 176 .sp
 177 .ne 2
 178 .na
 179 \fBTPLFE_SUB_MODEM_FAX\fR
 180 .ad
 181 .RS 26n
 182 Fax modem services
 183 .RE
 184 
 185 .sp
 186 .ne 2
 187 .na
 188 \fBTPLFE_SUB_VOICE\fR
 189 .ad
 190 .RS 26n
 191 Voice services
 192 .RE
 193 
 194 .sp
 195 .ne 2
 196 .na
 197 \fBTPLFE_CAP_MODEM_DATA\fR
 198 .ad
 199 .RS 26n
 200 Capabilities of the data modem interface
 201 .RE
 202 
 203 .sp
 204 .ne 2
 205 .na
 206 \fBTPLFE_CAP_MODEM_FAX\fR
 207 .ad
 208 .RS 26n
 209 Capabilities of the fax modem interface
 210 .RE
 211 
 212 .sp
 213 .ne 2
 214 .na
 215 \fBTPLFE_CAP_MODEM_VOICE\fR
 216 .ad
 217 .RS 26n
 218 Capabilities of the voice modem interface
 219 .RE
 220 
 221 .sp
 222 .ne 2
 223 .na
 224 \fBTPLFE_CAP_SERIAL_DATA\fR
 225 .ad
 226 .RS 26n
 227 Serial port interface for data modem services
 228 .RE
 229 
 230 .sp
 231 .ne 2
 232 .na
 233 \fBTPLFE_CAP_SERIAL_FAX\fR
 234 .ad
 235 .RS 26n
 236 Serial port interface for fax modem services
 237 .RE
 238 
 239 .sp
 240 .ne 2
 241 .na
 242 \fBTPLFE_CAP_SERIAL_VOICE\fR
 243 .ad
 244 .RS 26n
 245 Serial port interface for voice modem services
 246 .RE
 247 
 248 .RE
 249 
 250 .sp
 251 .ne 2
 252 .na
 253 \fB\fBsubfunction\fR\fR
 254 .ad
 255 .RS 15n
 256 This is for identifying a sub-category of services provided by a function in
 257 the \fBCISTPL_FUNCE\fR tuple. The numeric value of the code is in the range of
 258 \fB1\fR to \fB15\fR.
 259 .RE
 260 
 261 .sp
 262 .ne 2
 263 .na
 264 \fB\fBua\fR\fR
 265 .ad
 266 .RS 15n
 267 This is the serial port \fBUART \fRidentification and is defined as follows:
 268 .sp
 269 .ne 2
 270 .na
 271 \fBTPLFE_UA_8250\fR
 272 .ad
 273 .RS 18n
 274 Intel 8250
 275 .RE
 276 
 277 .sp
 278 .ne 2
 279 .na
 280 \fBTPLFE_UA_16450\fR
 281 .ad
 282 .RS 18n
 283 NS 16450
 284 .RE
 285 
 286 .sp
 287 .ne 2
 288 .na
 289 \fBTPLFE_UA_16550\fR
 290 .ad
 291 .RS 18n
 292 NS 16550
 293 .RE
 294 
 295 .RE
 296 
 297 .sp
 298 .ne 2
 299 .na
 300 \fB\fBuc\fR\fR
 301 .ad
 302 .RS 15n
 303 This identifies the serial port \fBUART \fRcapabilities and is defined as
 304 follows:
 305 .sp
 306 .ne 2
 307 .na
 308 \fBTPLFE_UC_PARITY_SPACE\fR
 309 .ad
 310 .RS 25n
 311 Space parity supported
 312 .RE
 313 
 314 .sp
 315 .ne 2
 316 .na
 317 \fBTPLFE_UC_PARITY_MARK\fR
 318 .ad
 319 .RS 25n
 320 Mark parity supported
 321 .RE
 322 
 323 .sp
 324 .ne 2
 325 .na
 326 \fBTPLFE_UC_PARITY_ODD\fR
 327 .ad
 328 .RS 25n
 329 Odd parity supported
 330 .RE
 331 
 332 .sp
 333 .ne 2
 334 .na
 335 \fBTPLFE_UC_PARITY_EVEN\fR
 336 .ad
 337 .RS 25n
 338 Even parity supported
 339 .RE
 340 
 341 .sp
 342 .ne 2
 343 .na
 344 \fBTPLFE_UC_CS5\fR
 345 .ad
 346 .RS 25n
 347 5 bit characters supported
 348 .RE
 349 
 350 .sp
 351 .ne 2
 352 .na
 353 \fBTPLFE_UC_CS6\fR
 354 .ad
 355 .RS 25n
 356 6 bit characters supported
 357 .RE
 358 
 359 .sp
 360 .ne 2
 361 .na
 362 \fBTPLFE_UC_CS7\fR
 363 .ad
 364 .RS 25n
 365 7 bit characters supported
 366 .RE
 367 
 368 .sp
 369 .ne 2
 370 .na
 371 \fBTPLFE_UC_CS8\fR
 372 .ad
 373 .RS 25n
 374 8 bit characters supported
 375 .RE
 376 
 377 .sp
 378 .ne 2
 379 .na
 380 \fBTPLFE_UC_STOP_1\fR
 381 .ad
 382 .RS 25n
 383 1 stop bit supported
 384 .RE
 385 
 386 .sp
 387 .ne 2
 388 .na
 389 \fBTPLFE_UC_STOP_15\fR
 390 .ad
 391 .RS 25n
 392 1.5 stop bits supported
 393 .RE
 394 
 395 .sp
 396 .ne 2
 397 .na
 398 \fBTPLFE_UC_STOP_2\fR
 399 .ad
 400 .RS 25n
 401 2 stop bits supported
 402 .RE
 403 
 404 .RE
 405 
 406 .sp
 407 .ne 2
 408 .na
 409 \fB\fBfc\fR\fR
 410 .ad
 411 .RS 15n
 412 This identifies the modem flow control methods and is defined as follows:
 413 .sp
 414 .ne 2
 415 .na
 416 \fBTPLFE_FC_TX_XONOFF\fR
 417 .ad
 418 .RS 22n
 419 Transmit XON/XOFF
 420 .RE
 421 
 422 .sp
 423 .ne 2
 424 .na
 425 \fBTPLFE_FC_RX_XONOFF\fR
 426 .ad
 427 .RS 22n
 428 Receiver XON/XOFF
 429 .RE
 430 
 431 .sp
 432 .ne 2
 433 .na
 434 \fBTPLFE_FC_TX_HW\fR
 435 .ad
 436 .RS 22n
 437 Transmit hardware flow control (CTS)
 438 .RE
 439 
 440 .sp
 441 .ne 2
 442 .na
 443 \fBTPLFE_FC_RX_HW\fR
 444 .ad
 445 .RS 22n
 446 Receiver hardware flow control (RTS)
 447 .RE
 448 
 449 .sp
 450 .ne 2
 451 .na
 452 \fBTPLFE_FC_TRANS\fR
 453 .ad
 454 .RS 22n
 455 Transparent flow control
 456 .RE
 457 
 458 .sp
 459 .ne 2
 460 .na
 461 \fBms\fR
 462 .ad
 463 .RS 6n
 464 This identifies the modem modulation standards and is defined as follows:
 465 .RE
 466 
 467 .sp
 468 .ne 2
 469 .na
 470 \fBTPLFE_MS_BELL103\fR
 471 .ad
 472 .RS 20n
 473 300bps
 474 .RE
 475 
 476 .sp
 477 .ne 2
 478 .na
 479 \fBTPLFE_MS_V21\fR
 480 .ad
 481 .RS 20n
 482 300bps (V.21)
 483 .RE
 484 
 485 .sp
 486 .ne 2
 487 .na
 488 \fBTPLFE_MS_V23\fR
 489 .ad
 490 .RS 20n
 491 600/1200bps (V.23)
 492 .RE
 493 
 494 .sp
 495 .ne 2
 496 .na
 497 \fBTPLFE_MS_V22AB\fR
 498 .ad
 499 .RS 20n
 500 1200bps (V.22A V.22B)
 501 .RE
 502 
 503 .sp
 504 .ne 2
 505 .na
 506 \fBTPLFE_MS_BELL212\fR
 507 .ad
 508 .RS 20n
 509 2400bps (US Bell 212
 510 .RE
 511 
 512 .sp
 513 .ne 2
 514 .na
 515 \fBTPLFE_MS_V22BIS\fR
 516 .ad
 517 .RS 20n
 518 2400bps (V.22bis)
 519 .RE
 520 
 521 .sp
 522 .ne 2
 523 .na
 524 \fBTPLFE_MS_V26\fR
 525 .ad
 526 .RS 20n
 527 2400bps leased line (V.26)
 528 .RE
 529 
 530 .sp
 531 .ne 2
 532 .na
 533 \fBTPLFE_MS_V26BIS\fR
 534 .ad
 535 .RS 20n
 536 2400bps (V.26bis)
 537 .RE
 538 
 539 .sp
 540 .ne 2
 541 .na
 542 \fBTPLFE_MS_V27BIS\fR
 543 .ad
 544 .RS 20n
 545 4800/2400bps leased line (V.27bis)
 546 .RE
 547 
 548 .sp
 549 .ne 2
 550 .na
 551 \fBTPLFE_MS_V29\fR
 552 .ad
 553 .RS 20n
 554 9600/7200/4800 leased line (V.29)
 555 .RE
 556 
 557 .sp
 558 .ne 2
 559 .na
 560 \fBTPLFE_MS_V32\fR
 561 .ad
 562 .RS 20n
 563 Up to 9600bps (V.32)
 564 .RE
 565 
 566 .sp
 567 .ne 2
 568 .na
 569 \fBTPLFE_MS_V32BIS\fR
 570 .ad
 571 .RS 20n
 572 Up to 14400bps (V.32bis)
 573 .RE
 574 
 575 .sp
 576 .ne 2
 577 .na
 578 \fBTPLFE_MS_VFAST\fR
 579 .ad
 580 .RS 20n
 581 Up to 28800 V.FAST
 582 .RE
 583 
 584 .RE
 585 
 586 .sp
 587 .ne 2
 588 .na
 589 \fB\fBem\fR\fR
 590 .ad
 591 .RS 15n
 592 This identifies modem error correction/detection protocols and is defined as
 593 follows:
 594 .sp
 595 .ne 2
 596 .na
 597 \fBTPLFE_EM_MNP\fR
 598 .ad
 599 .RS 16n
 600 MNP levels 2-4
 601 .RE
 602 
 603 .sp
 604 .ne 2
 605 .na
 606 \fBTPLFE_EM_V42\fR
 607 .ad
 608 .RS 16n
 609 CCITT LAPM (V.42)
 610 .RE
 611 
 612 .RE
 613 
 614 .sp
 615 .ne 2
 616 .na
 617 \fB\fBdc\fR\fR
 618 .ad
 619 .RS 15n
 620 This identifies modem data compression protocols and is defined as follows:
 621 .sp
 622 .ne 2
 623 .na
 624 \fBTPLFE_DC_V42BI\fR
 625 .ad
 626 .RS 18n
 627 CCITT compression V.42
 628 .RE
 629 
 630 .sp
 631 .ne 2
 632 .na
 633 \fBTPLFE_DC_MNP5\fR
 634 .ad
 635 .RS 18n
 636 MNP compression (uses MNP 2, 3 or 4)
 637 .RE
 638 
 639 .RE
 640 
 641 .sp
 642 .ne 2
 643 .na
 644 \fB\fBcm\fR\fR
 645 .ad
 646 .RS 15n
 647 This identifies modem command protocols and is defined as follows:
 648 .sp
 649 .ne 2
 650 .na
 651 \fBTPLFE_CM_AT1\fR
 652 .ad
 653 .RS 19n
 654 ANSI/EIA/TIA 602 "Action" commands
 655 .RE
 656 
 657 .sp
 658 .ne 2
 659 .na
 660 \fBTPLFE_CM_AT2\fR
 661 .ad
 662 .RS 19n
 663 ANSI/EIA/TIA 602 "ACE/DCE IF Params"
 664 .RE
 665 
 666 .sp
 667 .ne 2
 668 .na
 669 \fBTPLFE_CM_AT3\fR
 670 .ad
 671 .RS 19n
 672 ANSI/EIA/TIA 602 "Ace Parameters"
 673 .RE
 674 
 675 .sp
 676 .ne 2
 677 .na
 678 \fBTPLFE_CM_MNP_AT\fR
 679 .ad
 680 .RS 19n
 681 MNP specification AT commands
 682 .RE
 683 
 684 .sp
 685 .ne 2
 686 .na
 687 \fBTPLFE_CM_V25BIS\fR
 688 .ad
 689 .RS 19n
 690 V.25bis calling commands
 691 .RE
 692 
 693 .sp
 694 .ne 2
 695 .na
 696 \fBTPLFE_CM_V25A\fR
 697 .ad
 698 .RS 19n
 699 V.25bis test procedures
 700 .RE
 701 
 702 .sp
 703 .ne 2
 704 .na
 705 \fBTPLFE_CM_DMCL\fR
 706 .ad
 707 .RS 19n
 708 DMCL command mode
 709 .RE
 710 
 711 .RE
 712 
 713 .sp
 714 .ne 2
 715 .na
 716 \fB\fBex\fR\fR
 717 .ad
 718 .RS 15n
 719 This identifies the modem escape mechanism and is defined as follows:
 720 .sp
 721 .ne 2
 722 .na
 723 \fBTPLFE_EX_BREAK\fR
 724 .ad
 725 .RS 18n
 726 BREAK support standardized
 727 .RE
 728 
 729 .sp
 730 .ne 2
 731 .na
 732 \fBTPLFE_EX_PLUS\fR
 733 .ad
 734 .RS 18n
 735 +++ returns to command mode
 736 .RE
 737 
 738 .sp
 739 .ne 2
 740 .na
 741 \fBTPLFE_EX_UD\fR
 742 .ad
 743 .RS 18n
 744 User defined escape character
 745 .RE
 746 
 747 .RE
 748 
 749 .sp
 750 .ne 2
 751 .na
 752 \fB\fBdy\fR\fR
 753 .ad
 754 .RS 15n
 755 This identifies modem standardized data encryption and is a reserved field for
 756 future use and must be set to \fB0\fR.
 757 .RE
 758 
 759 .sp
 760 .ne 2
 761 .na
 762 \fB\fBef\fR\fR
 763 .ad
 764 .RS 15n
 765 This identifies modem miscellaneous features and is defined as follows:
 766 .sp
 767 .ne 2
 768 .na
 769 \fBTPLFE_EF_CALLERID\fR
 770 .ad
 771 .RS 21n
 772 Caller ID is supported
 773 .RE
 774 
 775 .RE
 776 
 777 .sp
 778 .ne 2
 779 .na
 780 \fB\fBfm\fR\fR
 781 .ad
 782 .RS 15n
 783 This identifies fax modulation standards and is defined as follows:
 784 .sp
 785 .ne 2
 786 .na
 787 \fBTPLFE_FM_V21C2\fR
 788 .ad
 789 .RS 19n
 790 300bps (V.21-C2)
 791 .RE
 792 
 793 .sp
 794 .ne 2
 795 .na
 796 \fBTPLFE_FM_V27TER\fR
 797 .ad
 798 .RS 19n
 799 4800/2400bps (V.27ter)
 800 .RE
 801 
 802 .sp
 803 .ne 2
 804 .na
 805 \fBTPLFE_FM_V29\fR
 806 .ad
 807 .RS 19n
 808 9600/7200/4800 leased line (V.29)
 809 .RE
 810 
 811 .sp
 812 .ne 2
 813 .na
 814 \fBTPLFE_FM_V17\fR
 815 .ad
 816 .RS 19n
 817 14.4K/12K/9600/7200bps (V.17)
 818 .RE
 819 
 820 .sp
 821 .ne 2
 822 .na
 823 \fBTPLFE_FM_V33\fR
 824 .ad
 825 .RS 19n
 826 4.4K/12K/9600/7200 leased line (V.33)
 827 .RE
 828 
 829 .RE
 830 
 831 .sp
 832 .ne 2
 833 .na
 834 \fB\fBfs\fR\fR
 835 .ad
 836 .RS 15n
 837 This identifies the fax feature selection and is defined as follows:
 838 .sp
 839 .ne 2
 840 .na
 841 \fBTPLFE_FS_T3\fR
 842 .ad
 843 .RS 21n
 844 Group 2 (T.3) service class
 845 .RE
 846 
 847 .sp
 848 .ne 2
 849 .na
 850 \fBTPLFE_FS_T4\fR
 851 .ad
 852 .RS 21n
 853 Group 3 (T.4) service class
 854 .RE
 855 
 856 .sp
 857 .ne 2
 858 .na
 859 \fBTPLFE_FS_T6\fR
 860 .ad
 861 .RS 21n
 862 Group 4 (T.6) service class
 863 .RE
 864 
 865 .sp
 866 .ne 2
 867 .na
 868 \fBTPLFE_FS_ECM\fR
 869 .ad
 870 .RS 21n
 871 Error Correction Mode
 872 .RE
 873 
 874 .sp
 875 .ne 2
 876 .na
 877 \fBTPLFE_FS_VOICEREQ\fR
 878 .ad
 879 .RS 21n
 880 Voice requests allowed
 881 .RE
 882 
 883 .sp
 884 .ne 2
 885 .na
 886 \fBTPLFE_FS_POLLING\fR
 887 .ad
 888 .RS 21n
 889 Polling support
 890 .RE
 891 
 892 .sp
 893 .ne 2
 894 .na
 895 \fBTPLFE_FS_FTP\fR
 896 .ad
 897 .RS 21n
 898 File transfer support
 899 .RE
 900 
 901 .sp
 902 .ne 2
 903 .na
 904 \fBTPLFE_FS_PASSWORD\fR
 905 .ad
 906 .RS 21n
 907 Password support
 908 .RE
 909 
 910 .RE
 911 
 912 .sp
 913 .ne 2
 914 .na
 915 \fB\fBtech\fR\fR
 916 .ad
 917 .RS 15n
 918 This identifies the \fBLAN \fRtechnology type and is defined as follows:
 919 .sp
 920 .ne 2
 921 .na
 922 \fBTPLFE_LAN_TECH_ARCNET\fR
 923 .ad
 924 .RS 28n
 925 Arcnet
 926 .RE
 927 
 928 .sp
 929 .ne 2
 930 .na
 931 \fBTPLFE_LAN_TECH_ETHERNET\fR
 932 .ad
 933 .RS 28n
 934 Ethernet
 935 .RE
 936 
 937 .sp
 938 .ne 2
 939 .na
 940 \fBTPLFE_LAN_TECH_TOKENRING\fR
 941 .ad
 942 .RS 28n
 943 Token Ring
 944 .RE
 945 
 946 .sp
 947 .ne 2
 948 .na
 949 \fBTPLFE_LAN_TECH_LOCALTALK\fR
 950 .ad
 951 .RS 28n
 952 Local Talk
 953 .RE
 954 
 955 .sp
 956 .ne 2
 957 .na
 958 \fBTPLFE_LAN_TECH_FDDI\fR
 959 .ad
 960 .RS 28n
 961 FDDI/CDDI
 962 .RE
 963 
 964 .sp
 965 .ne 2
 966 .na
 967 \fBTPLFE_LAN_TECH_ATM\fR
 968 .ad
 969 .RS 28n
 970 ATM
 971 .RE
 972 
 973 .sp
 974 .ne 2
 975 .na
 976 \fBTPLFE_LAN_TECH_WIRELESS\fR
 977 .ad
 978 .RS 28n
 979 Wireless
 980 .RE
 981 
 982 .RE
 983 
 984 .sp
 985 .ne 2
 986 .na
 987 \fB\fBmedia\fR\fR
 988 .ad
 989 .RS 15n
 990 This identifies the \fBLAN \fRmedia type and is defined as follows:
 991 .sp
 992 .ne 2
 993 .na
 994 \fBTPLFE_LAN_MEDIA_INHERENT\fR
 995 .ad
 996 .RS 30n
 997 Generic interface
 998 .RE
 999 
1000 .sp
1001 .ne 2
1002 .na
1003 \fBTPLFE_LAN_MEDIA_UTP\fR
1004 .ad
1005 .RS 30n
1006 Unshielded twisted pair
1007 .RE
1008 
1009 .sp
1010 .ne 2
1011 .na
1012 \fBTPLFE_LAN_MEDIA_STP\fR
1013 .ad
1014 .RS 30n
1015 Shielded twisted pair
1016 .RE
1017 
1018 .sp
1019 .ne 2
1020 .na
1021 \fBTPLFE_LAN_MEDIA_THIN_COAX\fR
1022 .ad
1023 .RS 30n
1024 Thin coax
1025 .RE
1026 
1027 .sp
1028 .ne 2
1029 .na
1030 \fBTPLFE_LAN_MEDIA_THICK_COAX\fR
1031 .ad
1032 .RS 30n
1033 Thick coax
1034 .RE
1035 
1036 .sp
1037 .ne 2
1038 .na
1039 \fBTPLFE_LAN_MEDIA_FIBER\fR
1040 .ad
1041 .RS 30n
1042 Fiber
1043 .RE
1044 
1045 .sp
1046 .ne 2
1047 .na
1048 \fBTPLFE_LAN_MEDIA_SSR_902\fR
1049 .ad
1050 .RS 30n
1051 Spread spectrum radio 902-928 MHz
1052 .RE
1053 
1054 .sp
1055 .ne 2
1056 .na
1057 \fBTPLFE_LAN_MEDIA_SSR_2_4\fR
1058 .ad
1059 .RS 30n
1060 Spread spectrum radio 2.4 GHz
1061 .RE
1062 
1063 .sp
1064 .ne 2
1065 .na
1066 \fBTPLFE_LAN_MEDIA_SSR_5_4\fR
1067 .ad
1068 .RS 30n
1069 Spread spectrum radio 5.4 GHz
1070 .RE
1071 
1072 .sp
1073 .ne 2
1074 .na
1075 \fBTPLFE_LAN_MEDIA_DIFFUSE_IR\fR
1076 .ad
1077 .RS 30n
1078 Diffuse infra red
1079 .RE
1080 
1081 .sp
1082 .ne 2
1083 .na
1084 \fBTPLFE_LAN_MEDIA_PTP_IR\fR
1085 .ad
1086 .RS 30n
1087 Point to point infra red
1088 .RE
1089 
1090 .RE
1091 
1092 .SH RETURN VALUES
1093 .sp
1094 .ne 2
1095 .na
1096 \fB\fBCS_SUCCESS\fR\fR
1097 .ad
1098 .RS 27n
1099 Successful operation.
1100 .RE
1101 
1102 .sp
1103 .ne 2
1104 .na
1105 \fB\fBCS_BAD_HANDLE\fR\fR
1106 .ad
1107 .RS 27n
1108 Client handle is invalid.
1109 .RE
1110 
1111 .sp
1112 .ne 2
1113 .na
1114 \fB\fBCS_UNKNOWN_TUPLE\fR\fR
1115 .ad
1116 .RS 27n
1117 Parser does not know how to parse tuple.
1118 .RE
1119 
1120 .sp
1121 .ne 2
1122 .na
1123 \fB\fBCS_NO_CARD\fR\fR
1124 .ad
1125 .RS 27n
1126 No \fBPC \fRCard in socket.
1127 .RE
1128 
1129 .sp
1130 .ne 2
1131 .na
1132 \fB\fBCS_NO_CIS\fR\fR
1133 .ad
1134 .RS 27n
1135 No Card Information Structure (CIS) on \fBPC \fRCard.
1136 .RE
1137 
1138 .sp
1139 .ne 2
1140 .na
1141 \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR
1142 .ad
1143 .RS 27n
1144 No \fBPCMCIA \fRhardware installed.
1145 .RE
1146 
1147 .SH CONTEXT
1148 .sp
1149 .LP
1150 This function may be called from user or kernel context.
1151 .SH SEE ALSO
1152 .sp
1153 .LP
1154 \fBcsx_GetFirstTuple\fR(9F), \fBcsx_GetTupleData\fR(9F),
1155 \fBcsx_Parse_CISTPL_FUNCID\fR(9F), \fBcsx_RegisterClient\fR(9F),
1156 \fBcsx_ValidateCIS\fR(9F), \fBtuple\fR(9S)
1157 .sp
1158 .LP
1159 \fIPC Card 95 Standard, PCMCIA/JEIDA\fR