aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-02-04 09:42:24 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 14:19:25 -0500
commita104c99f386191706a11d39be81b8f03cd4f2719 (patch)
tree9a8a0cd868ac23eeaf45a3a1a4bf44c31cae9f72 /drivers/scsi/hpsa.h
parent6df1e95496f8dfe08a520756187be59f7896f589 (diff)
[SCSI] hpsa: make tag macros into functions
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 194968e861c7..da8dd3e619cb 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -164,9 +164,6 @@ struct ctlr_info {
164#define HPSA_FIRMWARE_READY 0xffff0000 /* value in scratchpad register */ 164#define HPSA_FIRMWARE_READY 0xffff0000 /* value in scratchpad register */
165 165
166#define HPSA_ERROR_BIT 0x02 166#define HPSA_ERROR_BIT 0x02
167#define HPSA_TAG_CONTAINS_INDEX(tag) ((tag) & 0x04)
168#define HPSA_TAG_TO_INDEX(tag) ((tag) >> 3)
169#define HPSA_TAG_DISCARD_ERROR_BITS(tag) ((tag) & ~3)
170 167
171#define HPSA_INTR_ON 1 168#define HPSA_INTR_ON 1
172#define HPSA_INTR_OFF 0 169#define HPSA_INTR_OFF 0