diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-05-03 15:53:26 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-06 10:23:50 -0400 |
commit | 8f71bb829a964ef4deead86b60fda09452fb5c2f (patch) | |
tree | 56dbf22d3176523ecae574bfbc937dccabbba9eb /drivers/block/cciss_cmd.h | |
parent | e363e0143615a67f19d56e6b223b55df3bd9f580 (diff) |
cciss: get rid of message related magic numbers
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/cciss_cmd.h')
-rw-r--r-- | drivers/block/cciss_cmd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h index a2e68d21efe3..3b20c31d746d 100644 --- a/drivers/block/cciss_cmd.h +++ b/drivers/block/cciss_cmd.h | |||
@@ -142,6 +142,14 @@ typedef struct _ReadCapdata_struct_16 | |||
142 | #define BMIC_CACHE_FLUSH 0xc2 | 142 | #define BMIC_CACHE_FLUSH 0xc2 |
143 | #define CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ | 143 | #define CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ |
144 | 144 | ||
145 | #define CCISS_ABORT_MSG 0x00 | ||
146 | #define CCISS_RESET_MSG 0x01 | ||
147 | #define CCISS_RESET_TYPE_CONTROLLER 0x00 | ||
148 | #define CCISS_RESET_TYPE_BUS 0x01 | ||
149 | #define CCISS_RESET_TYPE_TARGET 0x03 | ||
150 | #define CCISS_RESET_TYPE_LUN 0x04 | ||
151 | #define CCISS_NOOP_MSG 0x03 | ||
152 | |||
145 | /* Command List Structure */ | 153 | /* Command List Structure */ |
146 | #define CTLR_LUNID "\0\0\0\0\0\0\0\0" | 154 | #define CTLR_LUNID "\0\0\0\0\0\0\0\0" |
147 | 155 | ||