提交 392512fb 编写于 作者: A Alan Cox 提交者: James Bottomley

[SCSI] u14-34f: Fix 32bit only problem

Another user of 32bit time
Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 1ed43910
...@@ -744,7 +744,8 @@ static int wait_on_busy(unsigned long iobase, unsigned int loop) { ...@@ -744,7 +744,8 @@ static int wait_on_busy(unsigned long iobase, unsigned int loop) {
static int board_inquiry(unsigned int j) { static int board_inquiry(unsigned int j) {
struct mscp *cpp; struct mscp *cpp;
dma_addr_t id_dma_addr; dma_addr_t id_dma_addr;
unsigned int time, limit = 0; unsigned int limit = 0;
unsigned long time;
id_dma_addr = pci_map_single(HD(j)->pdev, HD(j)->board_id, id_dma_addr = pci_map_single(HD(j)->pdev, HD(j)->board_id,
sizeof(HD(j)->board_id), PCI_DMA_BIDIRECTIONAL); sizeof(HD(j)->board_id), PCI_DMA_BIDIRECTIONAL);
...@@ -1392,7 +1393,8 @@ static int u14_34f_eh_abort(struct scsi_cmnd *SCarg) { ...@@ -1392,7 +1393,8 @@ static int u14_34f_eh_abort(struct scsi_cmnd *SCarg) {
} }
static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) { static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) {
unsigned int i, j, time, k, c, limit = 0; unsigned int i, j, k, c, limit = 0;
unsigned long time;
int arg_done = FALSE; int arg_done = FALSE;
struct scsi_cmnd *SCpnt; struct scsi_cmnd *SCpnt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册