Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2048
b: refs/heads/master
c: 380c387
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and James Bottomley committed May 20, 2005
1 parent e100904 commit 3ccbc52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16c4b3e2071ad73e5cd2aa82961eed0414df6a7d
refs/heads/master: 380c3877ae5de888cfb7a59990b9aee5a415295f
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/sym53c416.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ static int sym53c416_host_reset(Scsi_Cmnd *SCpnt)
/* printk("sym53c416_reset\n"); */
base = SCpnt->device->host->io_port;
/* search scsi_id - fixme, we shouldnt need to iterate for this! */
for(i = 0; i < host_index && scsi_id != -1; i++)
for(i = 0; i < host_index && scsi_id == -1; i++)
if(hosts[i].base == base)
scsi_id = hosts[i].scsi_id;
outb(RESET_CHIP, base + COMMAND_REG);
Expand Down

0 comments on commit 3ccbc52

Please sign in to comment.