]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r258692 and r260207 (both by gnn@)
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 7 May 2014 19:05:14 +0000 (19:05 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 7 May 2014 19:05:14 +0000 (19:05 +0000)
commit247a50226b4233b5d8ddc518d64b3e31388811f5
treefb7d2f3c98587b07e9a0016ae19f863f5e988d09
parent7b1a84eef6c7b18234b5ad485c815c46e5bc7df1
MFC r258692 and r260207 (both by gnn@)

r258692:
Add constants for use in interrogating various fiber and copper connectors
most often used with network interfaces.

The SFF-8472 standard defines the information that can be retrieved
from an optic or a copper cable plugged into a NIC, most often
referred to as SFP+.  Examples of values that can be read
include the cable vendor's name, part number, date of manufacture
as well as running data such as temperature, voltage and tx
and rx power.

Copious comments on how to use these values with an I2C interface
are given in the header file itself.

r260207:
Convert #defines to enums so that the values are visible in the debugger.

git-svn-id: svn://svn.freebsd.org/base/stable/9@265587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/sff8472.h [new file with mode: 0644]