Print this page
12309 errors in section 9e of the manual

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9e/mac_capab_transceiver.9e.man.txt
          +++ new/usr/src/man/man9e/mac_capab_transceiver.9e.man.txt
↓ open down ↓ 101 lines elided ↑ open up ↑
 102  102             SFF-8436       40 Gb/s                     256 bytes    0xa0
 103  103             SFF-8636       100 Gb/s                    256 bytes    0xa0
 104  104  
 105  105     MAC Capability Structure
 106  106       When the device driver's mc_getcapab(9E) function entry point is called
 107  107       with the capability requested set to MAC_CAPAB_TRANSCEIVER, then the
 108  108       value of the capability structure is the following structure:
 109  109  
 110  110             typedef struct mac_capab_transceiver {
 111  111                     uint_t  mct_flags;
 112      -                   uint_t  mct_ntransceiveres;
      112 +                   uint_t  mct_ntransceivers;
 113  113                     int     (*mct_info)(void *driver, uint_t id,
 114  114                                 mac_transceiver_info_t *infop),
 115  115                     int     (*mct_read)(void *driver, uint_t id, uint_t page,
 116  116                                 void *buf, size_t nbytes, off_t offset,
 117  117                                 size_t *nread)
 118  118             } mac_capab_transceiver_t;
 119  119  
 120  120       If the device driver supports the MAC_CAPAB_TRANSCEIVER capability, it
 121  121       should fill in this structure, based on the following rules:
 122  122  
 123  123       mct_flags
 124  124               The mct_flags member is used to negotiate extensions with the
 125  125               driver.  MAC will set the value of mct_flags to include all of
 126  126               the currently known extensions.  The driver should intersect this
 127  127               list with the set that they actually support.  At this time, no
 128  128               such features are defined and the driver should set the member to
 129  129               0.
 130  130  
 131  131       mct_ntransceivers
 132      -             The value of mct_ntransceivers indicates that the number of
      132 +             The value of mct_ntransceivers indicates the number of
 133  133               transceivers present in the device.  For most devices, it is
 134  134               expected that this value will be set to one.  However, some
 135  135               devices do support multiple transceivers and PHYs that show up
 136  136               behind a single logical MAC.
 137  137  
 138  138               It is expected that this value will not change across the
 139  139               lifetime of the device being attached.  It is important to
 140  140               remember that this represents the total possible number of
 141  141               transceivers in the device, not how many are currently present
 142  142               and powered on.
↓ open down ↓ 11 lines elided ↑ open up ↑
 154  154               indicate that it supports the capability.
 155  155  
 156  156               The mct_info() entry point should fill in information about the
 157  157               transceiver with an identifier of id.  See the description above
 158  158               of mct_ntransceivers for more information on how the IDs are
 159  159               determined.
 160  160  
 161  161               The driver should then proceed to fill in basic information by
 162  162               calling the functions described in the section Information
 163  163               Functions.  After successfully calling all of the functions, the
 164      -             driver should return 0.  Othewrise, it should return the
      164 +             driver should return 0.  Otherwise, it should return the
 165  165               appropriate error number.  For a full list of error numbers, see
 166  166               Intro(2).  Common values are:
 167  167  
 168  168                    EINVAL             The transceiver identifier id was
 169  169                                       invalid.
 170  170  
 171  171                    ENOTSUP            This instance of the devices does not
 172  172                                       support a transceiver.  For example, a
 173  173                                       device which sometimes has copper PHYs
 174  174                                       and therefore this instance does not have
↓ open down ↓ 96 lines elided ↑ open up ↑
 271  271  
 272  272       Diagnostic Monitoring Interface for Optical Transceivers, SFF-8472,
 273  273       November 21, 2014, Revision 12.2.
 274  274  
 275  275       QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER, SFF-8436, October 31, 2013,
 276  276       Revision 4.8.
 277  277  
 278  278       Management Interface for Cabled Environments, SFF-8636, January 26, 2016,
 279  279       Revision 2.7.
 280  280  
 281      -illumos                        November 26, 2017                       illumos
      281 +illumos                        February 15, 2020                       illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX