]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r258692 and r260207 (both by gnn).
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 13 Sep 2014 22:44:33 +0000 (22:44 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 13 Sep 2014 22:44:33 +0000 (22:44 +0000)
commit920074f33605ff3b3dd9a4ffdecf6e04765bd1f1
tree8325daaade4ef4e0b71702d20e134fe47e157daa
parentce35c42f1f3ece7dae7cca25fd4290009d486e6d
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/8@271556 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/sff8472.h [new file with mode: 0644]