diff options
author | np <np@FreeBSD.org> | 2012-10-10 17:29:51 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2012-10-10 17:29:51 +0000 |
commit | 6764c204386b7e2539d22a9829cb9a90a4a7d52e (patch) | |
tree | 648de8759767a310f742f83afbb0c230fa4dffcf /sys/netinet/tcp_output.c | |
parent | 99dca09c832a8b3e5b75d7cb0e7b52c9443df3a8 (diff) | |
download | FreeBSD-src-6764c204386b7e2539d22a9829cb9a90a4a7d52e.zip FreeBSD-src-6764c204386b7e2539d22a9829cb9a90a4a7d52e.tar.gz |
Add an "i2c" subcommand to cxgbetool. You can use this to read
information from the transceivers connected to the ports of a
cxgbe(4) based card.
# cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>]
For example:
# cxgbetool t4nex0 i2c 0 0xa0 3
0x10 [16]
(As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at
address 3 indicates it's a 10Gbase-SR module, which it is.)
Diffstat (limited to 'sys/netinet/tcp_output.c')
0 files changed, 0 insertions, 0 deletions