]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r269106:
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Jul 2014 23:17:59 +0000 (23:17 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Jul 2014 23:17:59 +0000 (23:17 +0000)
commit2243e7eb4c91f729030d35c6804e7a1e9b29baed
tree9e9b6c19f480f4323efeb6cea8af8a47af4f8a03
parentc809d49588920174f392b389d7dd2a36611e0016
MFC r269106:
Add a 'raw' parameter to the 'modinfo' subcommand.  This is handy when
trying to figure out why a QSFP+/SFP+ connector or cable wasn't
identified correctly by cxgbe(4).  Its output looks like this:

# cxgbetool t5nex0 modinfo 0 raw
00:  03 04 21 00  00 00 00 00  ..!. ....
08:  04 00 00 00  67 00 00 00  .... g...
10:  00 00 05 00  41 6d 70 68  .... Amph
18:  65 6e 6f 6c  20 20 20 20  enol
20:  20 20 20 20  00 41 50 48       .APH
28:  35 37 31 35  34 30 30 30  5715 4000
30:  33 20 20 20  20 20 20 20  3
38:  4b 20 20 20  01 00 00 fa  K    ....
40:  00 00 00 00  41 50 46 31  .... APF1
48:  30 30 34 30  30 33 30 30  0040 0300
50:  30 33 20 20  31 30 30 31  03   1001
58:  33 30 20 20  00 00 00 97  30   ....

git-svn-id: svn://svn.freebsd.org/base/stable/9@269359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/tools/cxgbetool/cxgbetool.c