Print off what quadrant regulator failed if known in hfa driver.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 6e9de97..45f53c0 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -523,6 +523,18 @@ tryagain:
(db->operation_status < sizeof(hf_usb_init_errors)/sizeof(hf_usb_init_errors[0])) ?
hf_usb_init_errors[db->operation_status] : "Unknown error code");
ret = false;
+ switch (db->operation_status) {
+ case E_CORE_POWER_FAULT:
+ for (i = 0; i < 4; i++) {
+ if (((db->extra_status_1 >> i) & 0x11) == 0x1) {
+ applog(LOG_ERR, "%s %d: OP_USB_INIT: Quadrant %d (of 4) regulator failure",
+ hashfast->drv->name, hashfast->device_id, i + 1);
+ }
+ }
+ break;
+ default:
+ break;
+ }
goto out;
}