Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19116
b: refs/heads/master
c: 15084a4
h: refs/heads/master
v: v3
  • Loading branch information
Jack Hammer authored and James Bottomley committed Jan 26, 2006
1 parent c44c9ce commit dd68182
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 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: 77427f514f88143bfef41ba8c1e624bc45f42297
refs/heads/master: 15084a4a63bc300c18b28a8a9afac870c552abce
28 changes: 14 additions & 14 deletions trunk/drivers/scsi/ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -5012,7 +5012,7 @@ ips_init_copperhead(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (j >= 45)
Expand All @@ -5038,7 +5038,7 @@ ips_init_copperhead(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (j >= 240)
Expand All @@ -5056,7 +5056,7 @@ ips_init_copperhead(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (i >= 240)
Expand Down Expand Up @@ -5106,7 +5106,7 @@ ips_init_copperhead_memio(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (j >= 45)
Expand All @@ -5132,7 +5132,7 @@ ips_init_copperhead_memio(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (j >= 240)
Expand All @@ -5150,7 +5150,7 @@ ips_init_copperhead_memio(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (i >= 240)
Expand Down Expand Up @@ -5202,7 +5202,7 @@ ips_init_morpheus(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (i >= 45) {
Expand All @@ -5228,7 +5228,7 @@ ips_init_morpheus(ips_ha_t * ha)
if (Post != 0x4F00)
break;
/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (i >= 120) {
Expand Down Expand Up @@ -5258,7 +5258,7 @@ ips_init_morpheus(ips_ha_t * ha)
break;

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);
}

if (i >= 240) {
Expand Down Expand Up @@ -5318,12 +5318,12 @@ ips_reset_copperhead(ips_ha_t * ha)
outb(IPS_BIT_RST, ha->io_addr + IPS_REG_SCPR);

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);

outb(0, ha->io_addr + IPS_REG_SCPR);

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);

if ((*ha->func.init) (ha))
break;
Expand Down Expand Up @@ -5363,12 +5363,12 @@ ips_reset_copperhead_memio(ips_ha_t * ha)
writeb(IPS_BIT_RST, ha->mem_ptr + IPS_REG_SCPR);

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);

writeb(0, ha->mem_ptr + IPS_REG_SCPR);

/* Delay for 1 Second */
MDELAY(IPS_ONE_SEC);
msleep(IPS_ONE_SEC);

if ((*ha->func.init) (ha))
break;
Expand Down Expand Up @@ -5409,7 +5409,7 @@ ips_reset_morpheus(ips_ha_t * ha)
writel(0x80000000, ha->mem_ptr + IPS_REG_I960_IDR);

/* Delay for 5 Seconds */
MDELAY(5 * IPS_ONE_SEC);
msleep(5 * IPS_ONE_SEC);

/* Do a PCI config read to wait for adapter */
pci_read_config_byte(ha->pcidev, 4, &junk);
Expand Down

0 comments on commit dd68182

Please sign in to comment.