2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright (c) 2017, Joyent, Inc.
15 .Dt MAC_TRANSCEIVER_INFO 9F
18 .Nm mac_transceiver_info ,
19 .Nm mac_transceiver_info_set_present ,
20 .Nm mac_transceiver_info_set_usable
21 .Nd set MAC transceiver property information
23 .In sys/mac_provider.h
25 .Fo mac_transceiver_info_set_present
26 .Fa "mac_transceiver_info_t *infop"
27 .Fa "boolean_t present"
30 .Fo mac_transceiver_info_set_usable
31 .Fa "mac_transceiver_info_t *infop"
32 .Fa "boolean_t usable"
36 This interface is still evolving in illumos.
37 API and ABI stability is
42 A pointer to an opaque structure obtained as an argument to the
46 A boolean that indicates whether the transceiver is present.
48 A boolean that indicates whether the transceiver is usable.
52 .Fn mac_transceiver_set_present
54 .Fn mac_transceiver_set_usable
55 functions are used to set information about a transceiver as part of the
57 entry point to obtain information about a MAC transceiver.
58 For more information and background, see the
59 .Sy Transceiver Information Functions
61 .Xr mac_capab_transceiver 9E .
64 .Fn mct_transceiver_set_present
65 function sets whether or not the transceiver is present and plugged into
67 If the transceiver is not plugged in, then the function
71 otehrwise it should use
75 .Fn mct_transceiver_set_usable
76 function determines whether or not the device can use the transceiver.
77 If the device cannot use the transceiver, then it should call the
82 Otherwise, it should use
84 If the transceiver is not present, then this function should not be
87 These functions should be called in response to handling the
89 entry point for transceivers in
94 .Xr mac_capab_transceiver 9E ,