]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r295467
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Feb 2016 16:39:30 +0000 (16:39 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Feb 2016 16:39:30 +0000 (16:39 +0000)
commite8feae500afb30c40ef596361773a098ac0347d2
treefad3327f8c43cc1558afd6aaed484935b554b6c4
parentf6b1f73e821d1540673081ca1cbfffcb25a2a028
MFC r295467

sfxge: implement SIOCGI2C to read information from phy modules

The IOCTL is used by 'ifconfig -v' to show SFP+/QSFP+ information
including inventory information and dianostics (temperature, light
levels, voltage etc).

Reviewed by:    gnn,melifaro
Approved by:    re (gjb)
Sponsored by:   Solarflare Communications, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@295526 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/efx.h
sys/dev/sfxge/common/efx_mcdi.c
sys/dev/sfxge/common/efx_mcdi.h
sys/dev/sfxge/common/efx_phy.c
sys/dev/sfxge/sfxge.c