/* The worst case wait for the install activity is about 25 minutes when * installing a new CPLD, which is very seldom. Normal is about 30-35 * seconds. Since the driver can't tell if a CPLD update will happen we * set the timeout for the ugly case.
*/ #define PDSC_FW_INSTALL_TIMEOUT (25 * 60) #define PDSC_FW_SELECT_TIMEOUT 30
/* Number of periodic log updates during fw file download */ #define PDSC_FW_INTERVAL_FRACTION 32
/* Ping on the status of the long running async install * command. We get EAGAIN while the command is still * running, else we get the final command status.
*/
start_time = jiffies;
end_time = start_time + (timeout * HZ); do {
err = pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout);
msleep(20);
} while (time_before(jiffies, end_time) &&
(err == -EAGAIN || err == -ETIMEDOUT));
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.