diff options
Diffstat (limited to 'drivers/scsi/aacraid/rx.c')
-rw-r--r-- | drivers/scsi/aacraid/rx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/rx.c b/drivers/scsi/aacraid/rx.c index 73eef3dc5dc6..710a03e54ed0 100644 --- a/drivers/scsi/aacraid/rx.c +++ b/drivers/scsi/aacraid/rx.c | |||
@@ -549,7 +549,9 @@ int _aac_rx_init(struct aac_dev *dev) | |||
549 | dev->OIMR = status = rx_readb (dev, MUnit.OIMR); | 549 | dev->OIMR = status = rx_readb (dev, MUnit.OIMR); |
550 | if ((((status & 0x0c) != 0x0c) || aac_reset_devices || reset_devices) && | 550 | if ((((status & 0x0c) != 0x0c) || aac_reset_devices || reset_devices) && |
551 | !aac_rx_restart_adapter(dev, 0)) | 551 | !aac_rx_restart_adapter(dev, 0)) |
552 | ++restart; | 552 | /* Make sure the Hardware FIFO is empty */ |
553 | while ((++restart < 512) && | ||
554 | (rx_readl(dev, MUnit.OutboundQueue) != 0xFFFFFFFFL)); | ||
553 | /* | 555 | /* |
554 | * Check to see if the board panic'd while booting. | 556 | * Check to see if the board panic'd while booting. |
555 | */ | 557 | */ |