From: Mikulas Patocka Date: Tue, 15 Jul 2008 21:16:38 +0000 (-0400) Subject: Add udelay to A100U2W SCSI driver X-Git-Tag: v2.6.27-rc1~1066 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=56d387ec210049be2fdb0fe26ba6d6de1b3c1b15;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index 1dd0fcfe1d7..1e8bdd45783 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -401,6 +401,7 @@ static u8 orc_load_firmware(struct orc_host * host) /* Copy the code from the BIOS to the SRAM */ + udelay(500); /* Required on Sun Ultra 5 ... 350 -> failures */ bios_addr = (u16) le32_to_cpu(data32); /* FW code locate at BIOS address + ? */ for (i = 0, data32_ptr = (u8 *) & data32; /* Download the code */ i < 0x1000; /* Firmware code size = 4K */