diff options
author | Scott Teel <scott.teel@hp.com> | 2014-02-18 13:55:59 -0600 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 10:19:04 -0700 |
commit | 0e7a7fcea03bc527310183c11f4b871c3416d488 (patch) | |
tree | 3413fc1462fe03a2f71e3059b5abe19876e1c165 /drivers/scsi/hpsa.c | |
parent | c1988684bb0b185608396d693aff83f4294d593a (diff) | |
download | lwn-0e7a7fcea03bc527310183c11f4b871c3416d488.tar.gz lwn-0e7a7fcea03bc527310183c11f4b871c3416d488.zip |
[SCSI] hpsa: complain if physical or logical aborts are not supported
Signed-off-by: Scott Teel <scott.teel@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index bbdd8bed4266..9fdcb189b024 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -5044,6 +5044,10 @@ static void hpsa_find_board_params(struct ctlr_info *h) /* Find out what task management functions are supported and cache */ h->TMFSupportFlags = readl(&(h->cfgtable->TMFSupportFlags)); + if (!(HPSATMF_PHYS_TASK_ABORT & h->TMFSupportFlags)) + dev_warn(&h->pdev->dev, "Physical aborts not supported\n"); + if (!(HPSATMF_LOG_TASK_ABORT & h->TMFSupportFlags)) + dev_warn(&h->pdev->dev, "Logical aborts not supported\n"); } static inline bool hpsa_CISS_signature_present(struct ctlr_info *h) |