]> err.no Git - linux-2.6/commit
[PATCH] libata: Conditionally set host->max_cmd_len
authorBrian King <brking@us.ibm.com>
Wed, 28 Jun 2006 13:30:31 +0000 (08:30 -0500)
committerJeff Garzik <jeff@garzik.org>
Thu, 6 Jul 2006 01:47:47 +0000 (21:47 -0400)
commite6d902a3bfd53da375588e498251f4f4f6cd9650
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