From: Steffen Maier Date: Tue, 4 Sep 2012 13:23:29 +0000 (+0200) Subject: [SCSI] zfcp: Adapt to new FC_PORTSPEED semantics X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22019778cd9ea04c1dadf7bf453920d5288f8d9;p=pandora-kernel.git [SCSI] zfcp: Adapt to new FC_PORTSPEED semantics Commit a9277e7783651d4e0a849f7988340b1c1cf748a4 "[SCSI] scsi_transport_fc: Getting FC Port Speed in sync with FC-GS" changed the semantics of FC_PORTSPEED defines to FDMI port attributes of FC-HBA/SM-HBA which is different from the previous bit reversed Report Port Speed Capabilities (RPSC) ELS of FC-GS/FC-LS. Zfcp showed "10 Gbit" instead of "4 Gbit" for supported_speeds. It now uses explicit bit conversion as the other LLDs already do, in order to be independent of the kernel bit semantics. See also http://marc.info/?l=linux-scsi&m=134452926830730&w=2 Signed-off-by: Steffen Maier Reviewed-by: Martin Peschke Cc: #3.4+ Signed-off-by: James Bottomley --- Reading git-diff-tree failed