aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptscsih.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-31 00:57:05 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-31 00:57:05 -0400
commit5bc65793cbf8da0d35f19ef025dda22887e79e80 (patch)
tree8291998abd73055de6f487fafa174ee2a5d3afee /drivers/message/fusion/mptscsih.c
parent6edae708bf77e012d855a7e2c7766f211d234f4f (diff)
parent3f0a6766e0cc5a577805732e5adb50a585c58175 (diff)
[SCSI] Merge up to linux-2.6 head
Conflicts: drivers/scsi/jazz_esp.c Same changes made by both SCSI and SPARC trees: problem with UTF-8 conversion in the copyright. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r--drivers/message/fusion/mptscsih.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index 561074a04b03..bc740a6dd93c 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -2423,11 +2423,11 @@ mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR
2423 ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE; 2423 ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE;
2424 ioc->events[idx].eventContext = ioc->eventContext; 2424 ioc->events[idx].eventContext = ioc->eventContext;
2425 2425
2426 ioc->events[idx].data[0] = (pReq->LUN[1] << 24) || 2426 ioc->events[idx].data[0] = (pReq->LUN[1] << 24) |
2427 (MPI_EVENT_SCSI_DEV_STAT_RC_SMART_DATA << 16) || 2427 (MPI_EVENT_SCSI_DEV_STAT_RC_SMART_DATA << 16) |
2428 (sc->device->channel << 8) || sc->device->id; 2428 (sc->device->channel << 8) | sc->device->id;
2429 2429
2430 ioc->events[idx].data[1] = (sense_data[13] << 8) || sense_data[12]; 2430 ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12];
2431 2431
2432 ioc->eventContext++; 2432 ioc->eventContext++;
2433 if (hd->ioc->pcidev->vendor == 2433 if (hd->ioc->pcidev->vendor ==