提交 53df8ba8 编写于 作者: F FUJITA Tomonori 提交者: James Bottomley
上级 11002fbc
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <scsi/scsi_dbg.h> #include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h> #include <scsi/scsi_device.h>
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#include <scsi/scsi_eh.h>
#include <asm/lv1call.h> #include <asm/lv1call.h>
#include <asm/ps3stor.h> #include <asm/ps3stor.h>
...@@ -330,11 +331,7 @@ static irqreturn_t ps3rom_interrupt(int irq, void *data) ...@@ -330,11 +331,7 @@ static irqreturn_t ps3rom_interrupt(int irq, void *data)
goto done; goto done;
} }
cmd->sense_buffer[0] = 0x70; scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq);
cmd->sense_buffer[2] = sense_key;
cmd->sense_buffer[7] = 16 - 6;
cmd->sense_buffer[12] = asc;
cmd->sense_buffer[13] = ascq;
cmd->result = SAM_STAT_CHECK_CONDITION; cmd->result = SAM_STAT_CHECK_CONDITION;
done: done:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册