aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ips.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ips.h')
-rw-r--r--drivers/scsi/ips.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h
index fb4a03661ce1..e0657b6f009c 100644
--- a/drivers/scsi/ips.h
+++ b/drivers/scsi/ips.h
@@ -92,7 +92,7 @@
92 #ifndef min 92 #ifndef min
93 #define min(x,y) ((x) < (y) ? x : y) 93 #define min(x,y) ((x) < (y) ? x : y)
94 #endif 94 #endif
95 95
96 #ifndef __iomem /* For clean compiles in earlier kernels without __iomem annotations */ 96 #ifndef __iomem /* For clean compiles in earlier kernels without __iomem annotations */
97 #define __iomem 97 #define __iomem
98 #endif 98 #endif
@@ -171,7 +171,7 @@
171 #define IPS_CMD_DOWNLOAD 0x20 171 #define IPS_CMD_DOWNLOAD 0x20
172 #define IPS_CMD_RW_BIOSFW 0x22 172 #define IPS_CMD_RW_BIOSFW 0x22
173 #define IPS_CMD_GET_VERSION_INFO 0xC6 173 #define IPS_CMD_GET_VERSION_INFO 0xC6
174 #define IPS_CMD_RESET_CHANNEL 0x1A 174 #define IPS_CMD_RESET_CHANNEL 0x1A
175 175
176 /* 176 /*
177 * Adapter Equates 177 * Adapter Equates
@@ -458,7 +458,7 @@ typedef struct {
458 uint32_t reserved3; 458 uint32_t reserved3;
459 uint32_t buffer_addr; 459 uint32_t buffer_addr;
460 uint32_t reserved4; 460 uint32_t reserved4;
461} IPS_IOCTL_CMD, *PIPS_IOCTL_CMD; 461} IPS_IOCTL_CMD, *PIPS_IOCTL_CMD;
462 462
463typedef struct { 463typedef struct {
464 uint8_t op_code; 464 uint8_t op_code;
@@ -552,7 +552,7 @@ typedef struct {
552 uint32_t cccr; 552 uint32_t cccr;
553} IPS_NVRAM_CMD, *PIPS_NVRAM_CMD; 553} IPS_NVRAM_CMD, *PIPS_NVRAM_CMD;
554 554
555typedef struct 555typedef struct
556{ 556{
557 uint8_t op_code; 557 uint8_t op_code;
558 uint8_t command_id; 558 uint8_t command_id;
@@ -650,7 +650,7 @@ typedef struct {
650 uint8_t device_address; 650 uint8_t device_address;
651 uint8_t cmd_attribute; 651 uint8_t cmd_attribute;
652 uint8_t cdb_length; 652 uint8_t cdb_length;
653 uint8_t reserved_for_LUN; 653 uint8_t reserved_for_LUN;
654 uint32_t transfer_length; 654 uint32_t transfer_length;
655 uint32_t buffer_pointer; 655 uint32_t buffer_pointer;
656 uint16_t sg_count; 656 uint16_t sg_count;
@@ -790,7 +790,7 @@ typedef struct {
790 /* SubSystem Parameter[4] */ 790 /* SubSystem Parameter[4] */
791#define IPS_GET_VERSION_SUPPORT 0x00018000 /* Mask for Versioning Support */ 791#define IPS_GET_VERSION_SUPPORT 0x00018000 /* Mask for Versioning Support */
792 792
793typedef struct 793typedef struct
794{ 794{
795 uint32_t revision; 795 uint32_t revision;
796 uint8_t bootBlkVersion[32]; 796 uint8_t bootBlkVersion[32];