Re: [PATCH 2/6] lpfc 8.1.7 : Fix failing firmware download due to mailbox delays needing to be longer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Smart wrote:
> Fix failing firmware download due to mailbox delays needing to be longer.

>  		/* timeout active mbox command */
> -		mod_timer(&psli->mbox_tmo, jiffies + HZ * LPFC_MBOX_TMO);
> +		mod_timer(&psli->mbox_tmo, (jiffies +
> +			       (HZ * lpfc_mbox_tmo_val(phba, mb->mbxCommand))));
>  	}

In linux/jiffies.h there are some functions for converting jiffies to *secs 
and back which you might find useful.

Eike

Attachment: pgpA8VNgcBKHH.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux