isci: validate oem parameters early, and fallback
authorDan Williams <dan.j.williams@intel.com>
Wed, 20 Apr 2011 19:57:08 +0000 (12:57 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:00:37 +0000 (04:00 -0700)
commit2d70de5a0f03072289015917b059c155936c894d
tree1ccb3f5d30ac13b05c42d2fcd43c289987f590e0
parentf22be5d8386d9da67bfe02693806fbaff7b078da
isci: validate oem parameters early, and fallback

If the platform specifies invalid parameters warn the user and fallback to
internal defaults rather than fail the driver load altogether.

Reported-by: Yinghai Lu <yinghai.lu@oracle.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/init.c