diff options
Diffstat (limited to 'drivers/scsi/53c700.h')
| -rw-r--r-- | drivers/scsi/53c700.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h index a8c83bb03630..7f22a06fe5ec 100644 --- a/drivers/scsi/53c700.h +++ b/drivers/scsi/53c700.h | |||
| @@ -163,6 +163,8 @@ struct NCR_700_command_slot { | |||
| 163 | #define NCR_700_SLOT_BUSY (1|NCR_700_SLOT_MAGIC) /* slot has command active on HA */ | 163 | #define NCR_700_SLOT_BUSY (1|NCR_700_SLOT_MAGIC) /* slot has command active on HA */ |
| 164 | #define NCR_700_SLOT_QUEUED (2|NCR_700_SLOT_MAGIC) /* slot has command to be made active on HA */ | 164 | #define NCR_700_SLOT_QUEUED (2|NCR_700_SLOT_MAGIC) /* slot has command to be made active on HA */ |
| 165 | __u8 state; | 165 | __u8 state; |
| 166 | #define NCR_700_FLAG_AUTOSENSE 0x01 | ||
| 167 | __u8 flags; | ||
| 166 | int tag; | 168 | int tag; |
| 167 | __u32 resume_offset; | 169 | __u32 resume_offset; |
| 168 | struct scsi_cmnd *cmnd; | 170 | struct scsi_cmnd *cmnd; |
| @@ -472,8 +474,7 @@ NCR_700_readl(struct Scsi_Host *host, __u32 reg) | |||
| 472 | ioread32(hostdata->base + reg); | 474 | ioread32(hostdata->base + reg); |
| 473 | #if 1 | 475 | #if 1 |
| 474 | /* sanity check the register */ | 476 | /* sanity check the register */ |
| 475 | if((reg & 0x3) != 0) | 477 | BUG_ON((reg & 0x3) != 0); |
| 476 | BUG(); | ||
| 477 | #endif | 478 | #endif |
| 478 | 479 | ||
| 479 | return value; | 480 | return value; |
| @@ -496,8 +497,7 @@ NCR_700_writel(__u32 value, struct Scsi_Host *host, __u32 reg) | |||
| 496 | 497 | ||
| 497 | #if 1 | 498 | #if 1 |
| 498 | /* sanity check the register */ | 499 | /* sanity check the register */ |
| 499 | if((reg & 0x3) != 0) | 500 | BUG_ON((reg & 0x3) != 0); |
| 500 | BUG(); | ||
| 501 | #endif | 501 | #endif |
| 502 | 502 | ||
| 503 | bEBus ? iowrite32be(value, hostdata->base + reg): | 503 | bEBus ? iowrite32be(value, hostdata->base + reg): |
