[PATCH] libata: Conditionally set host->max_cmd_len
commite6d902a3bfd53da375588e498251f4f4f6cd9650
authorBrian King <brking@us.ibm.com>
Wed, 28 Jun 2006 13:30:31 +0000 (28 08:30 -0500)
committerJeff Garzik <jeff@garzik.org>
Thu, 6 Jul 2006 01:47:47 +0000 (5 21:47 -0400)
tree568f79cb9c92c23d47dcee9bd9d537835ad7b384
parenta93620b860434a19820072e656f4933e101ea6d4
[PATCH] libata: Conditionally set host->max_cmd_len

In preparation for SAS attached SATA devices, which will
not have a libata scsi_host, only setup host->max_cmd_len
if ap->host exists.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c