Disable fan/die clock control in hfa if the firmware does not support it, with notification.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index fb7c2ca..5608743 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -936,6 +936,12 @@ static void *hfa_read(void *arg)
/* Do nothing */
break;
default:
+ if (h->operation_code == OP_FAN) {
+ applog(LOG_NOTICE, "%s %d: Firmware upgrade required to support fan control",
+ hashfast->drv->name, hashfast->device_id);
+ opt_hfa_target = 0;
+ break;
+ }
applog(LOG_WARNING, "%s %d: Unhandled operation code %d",
hashfast->drv->name, hashfast->device_id, h->operation_code);
break;