diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-07-15 17:16:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-15 17:30:56 -0400 |
commit | 56d387ec210049be2fdb0fe26ba6d6de1b3c1b15 (patch) | |
tree | 7765729d4d4b51007de544af6abb5f7841f515cb /drivers/scsi/a100u2w.c | |
parent | 987ff954cda2a206f5e694f267b0ccad869c257c (diff) |
Add udelay to A100U2W SCSI driver
udelay is required on Sun Ultra 5.
I don't know any reason or explanation for this, it was found purely
experimentally.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/a100u2w.c')
-rw-r--r-- | drivers/scsi/a100u2w.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index 1dd0fcfe1d70..1e8bdd457834 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c | |||
@@ -401,6 +401,7 @@ static u8 orc_load_firmware(struct orc_host * host) | |||
401 | 401 | ||
402 | /* Copy the code from the BIOS to the SRAM */ | 402 | /* Copy the code from the BIOS to the SRAM */ |
403 | 403 | ||
404 | udelay(500); /* Required on Sun Ultra 5 ... 350 -> failures */ | ||
404 | bios_addr = (u16) le32_to_cpu(data32); /* FW code locate at BIOS address + ? */ | 405 | bios_addr = (u16) le32_to_cpu(data32); /* FW code locate at BIOS address + ? */ |
405 | for (i = 0, data32_ptr = (u8 *) & data32; /* Download the code */ | 406 | for (i = 0, data32_ptr = (u8 *) & data32; /* Download the code */ |
406 | i < 0x1000; /* Firmware code size = 4K */ | 407 | i < 0x1000; /* Firmware code size = 4K */ |