Go to the documentation of this file.
20 #define MAX_INIT_ATTEMPTS 4
54 if (priv_instance == -1) {
55 unifi_warning(priv,
"uf_init_hw: Unknown priv instance, will use fw_init[0]\n");
61 unifi_error(priv,
"Failed to initialise UniFi after %d attempts, "
68 unifi_info(priv,
"Initialising UniFi, attempt %d\n", attempts);
70 if (
fw_init[priv_instance] > 0) {
71 unifi_notice(priv,
"f/w init prevented by module parameter\n");
73 }
else if (
fw_init[priv_instance] == 0) {
89 unifi_error(priv,
"Firmware file required, but not found.\n");
94 unifi_error(priv,
"Failed to initialise UniFi chip.\n");