Rolf Eike Beer wrote:
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.
Ok - but we're not really converting jiffies to seconds here...
-- james
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html