summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-04-15 03:12:50 +0000
committerdlg <dlg@openbsd.org>2019-04-15 03:12:50 +0000
commit4dc28db5ba114f08af6707e880f98b6a449cc738 (patch)
tree748e2b00cfa0339b5772a4b9de2019fe809b2ccc /sys/dev
parentimplement SIOCGIFSFFPAGE so ifconfig can get transceiver info. (diff)
downloadwireguard-openbsd-4dc28db5ba114f08af6707e880f98b6a449cc738.tar.xz
wireguard-openbsd-4dc28db5ba114f08af6707e880f98b6a449cc738.zip
basic support for dumping xfp info
xfp uses a different page layout compared to sfp. xfp uses info in INF-8077, not SFF-8472, and by default provides the info at page 1, not 0. myx(4) supports xfp modules, but doesn't support i2c writes so it cannot change the page the chip is looking at. it appears that myx defaults to page 1 for xfp, so if the first read of page 0 fails with ENXIO, try to read page 1 instead. a 10G-PCIE-8A-R myx with the only xfp module i could find lying around looks like this: transceiver: XFP model: Intel Corp TXN181070850X1J rev B3 serial: USC2048M95 date: 2005-04-13 im not sure if it's worth spending much more time on these though..
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions