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