isci: clean up remaining silicon revision ifdefs in phy init
authorDan Williams <dan.j.williams@intel.com>
Wed, 23 Feb 2011 08:09:01 +0000 (00:09 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:28 +0000 (03:55 -0700)
commit3c06c2839dac6db56a1e6bd11924db38eddfb2ed
treec3c1c5d1e56657bb2cef3fd21155da4e99217e90
parentd9def184b39b966b7496dfbfad126808d3cd701b
isci: clean up remaining silicon revision ifdefs in phy init

Use the dynamic revision detection code in
scic_sds_phy_link_layer_initialization() and apply some coding style
fixups (long deref chains).  The compile time max link rate setting is
removed in favor of honoring the user-parameter max.

Reported-by: Krzysztof Wierzbicki <Krzysztof.Wierzbicki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_config_parameters.h
drivers/scsi/isci/core/scic_sds_controller.c
drivers/scsi/isci/core/scic_sds_phy.c
drivers/scsi/isci/sci_environment.h