diff options
author | Ramachandra K <rkuchimanchi@silverstorm.com> | 2006-06-17 20:37:38 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 20:37:38 -0700 |
commit | 0c0450db31481aa01a04e7faecc93ee6841972d6 (patch) | |
tree | c7a1ed2896345d022011831f8a9aaa21e8d8ff00 /kernel | |
parent | 73c0996b1ca60338fa50e42acfcebd32b7636a8b (diff) | |
download | talos-obmc-linux-0c0450db31481aa01a04e7faecc93ee6841972d6.tar.gz talos-obmc-linux-0c0450db31481aa01a04e7faecc93ee6841972d6.zip |
IB/srp: Support SRP rev. 10 targets
There has been a change in the format of port identifiers between
revision 10 of the SRP specification and the current revision 16A.
Revision 10 specifies port identifier format as
lower 8 bytes : GUID upper 8 bytes : Extension
Whereas revision 16A specifies it as
lower 8 bytes : Extension upper 8 bytes : GUID
There are older targets (e.g. SilverStorm Virtual Fibre Channel
Bridge) which conform to revision 10 of the SRP specification.
The I/O class of revision 10 is 0xFF00 and the I/O class of revision
16A is 0x0100.
For supporting older targets, this patch:
1) Adds a new optional target creation parameter "io_class". Default
value of io_class is 0x0100 (i.e. revision 16A)
2) Uses the correct port identifier format for targets with IO class
of 0xFF00 (i.e. conforming to revision 10)
Signed-off-by: Ramachandra K <rkuchimanchi@silverstorm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions