Expose additional fpga status registers.
Report hardware status during PMD init.
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
Acked-by: John Miller <john.miller@atomicrules.com>
ark->sysctrl.t32[4], __func__);
return -1;
}
+ if (ark->sysctrl.t32[3] != 0) {
+ if (ark_rqp_lasped(ark->rqpacing)) {
+ PMD_DRV_LOG(ERR, "Arkville Evaluation System - "
+ "Timer has Expired\n");
+ return -1;
+ }
+ PMD_DRV_LOG(WARNING, "Arkville Evaluation System - "
+ "Timer is Running\n");
+ }
PMD_DRV_LOG(INFO,
"HW Sanity test has PASSED, expected constant"
"cplh pending max", rqp->cplh_pending_max,
"cpld pending max", rqp->cpld_pending_max);
}
+
+int
+ark_rqp_lasped(struct ark_rqpace_t *rqp)
+{
+ return rqp->lasped;
+}
volatile uint32_t cplh_pending_max;
volatile uint32_t cpld_pending_max;
volatile uint32_t err_count_other;
+ char eval[4];
+ volatile int lasped;
};
void ark_rqp_dump(struct ark_rqpace_t *rqp);
void ark_rqp_stats_reset(struct ark_rqpace_t *rqp);
-
+int ark_rqp_lasped(struct ark_rqpace_t *rqp);
#endif