~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/block/cciss_cmd.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
#define CFGTBL_ChangeReq        0x00000001l
54
54
#define CFGTBL_AccCmds          0x00000001l
55
55
#define DOORBELL_CTLR_RESET     0x00000004l
 
56
#define DOORBELL_CTLR_RESET2    0x00000020l
56
57
 
57
58
#define CFGTBL_Trans_Simple     0x00000002l
58
59
#define CFGTBL_Trans_Performant 0x00000004l
 
60
#define CFGTBL_Trans_use_short_tags 0x20000000l
59
61
 
60
62
#define CFGTBL_BusType_Ultra2   0x00000001l
61
63
#define CFGTBL_BusType_Ultra3   0x00000002l
141
143
#define BMIC_CACHE_FLUSH 0xc2
142
144
#define CCISS_CACHE_FLUSH 0x01  /* C2 was already being used by CCISS */
143
145
 
 
146
#define CCISS_ABORT_MSG 0x00
 
147
#define CCISS_RESET_MSG 0x01
 
148
#define CCISS_RESET_TYPE_CONTROLLER 0x00
 
149
#define CCISS_RESET_TYPE_BUS 0x01
 
150
#define CCISS_RESET_TYPE_TARGET 0x03
 
151
#define CCISS_RESET_TYPE_LUN 0x04
 
152
#define CCISS_NOOP_MSG 0x03
 
153
 
144
154
/* Command List Structure */
145
155
#define CTLR_LUNID "\0\0\0\0\0\0\0\0"
146
156
 
234
244
  u8               reserved[0x78 - 0x58];
235
245
  u32              misc_fw_support; /* offset 0x78 */
236
246
#define MISC_FW_DOORBELL_RESET (0x02)
 
247
#define MISC_FW_DOORBELL_RESET2 (0x10)
 
248
        u8         driver_version[32];
237
249
} CfgTable_struct;
238
250
 
239
251
struct TransTable_struct {