if (sd_msglevel & SDH_COST_VAL)
getnstimeofday(&now);
- sd_cost(("%s: rw=%d len=1 cost=%lds %luus\n", __FUNCTION__,
- rw, now.tv_sec-before.tv_sec, now.tv_nsec/1000-before.tv_nsec/1000));
+// sd_cost(("%s: rw=%d len=1 cost=%lds %luus\n", __FUNCTION__,
+// rw, now.tv_sec-before.tv_sec, now.tv_nsec/1000-before.tv_nsec/1000));
return ((err_ret == 0) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
}
if (sd_msglevel & SDH_COST_VAL)
getnstimeofday(&now);
- sd_cost(("%s: rw=%d, len=%d cost=%lds %luus\n", __FUNCTION__,
- rw, nbytes, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
+// sd_cost(("%s: rw=%d, len=%d cost=%lds %luus\n", __FUNCTION__,
+// rw, nbytes, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
return (((err_ret == 0)&&(err_ret2 == 0)) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
}
* a restriction on max tx/glom count (based on host->max_segs).
*/
if (sg_count >= ARRAYSIZE(sd->sg_list)) {
- sd_err(("%s: sg list entries exceed limit, sg_count=%d(%lu)\n", __FUNCTION__, sg_count, ARRAYSIZE(sd->sg_list)));
+// sd_err(("%s: sg list entries exceed limit, sg_count=%d(%lu)\n", __FUNCTION__, sg_count, ARRAYSIZE(sd->sg_list)));
return (SDIOH_API_RC_FAIL);
}
pdata += pkt_offset;
if (sd_msglevel & SDH_COST_VAL)
getnstimeofday(&now);
- sd_cost(("%s: rw=%d, cost=%lds %luus\n", __FUNCTION__,
- write, now.tv_sec-before.tv_sec, now.tv_nsec/1000-before.tv_nsec/1000));
+// sd_cost(("%s: rw=%d, cost=%lds %luus\n", __FUNCTION__,
+// write, now.tv_sec-before.tv_sec, now.tv_nsec/1000-before.tv_nsec/1000));
sd_trace(("%s: Exit\n", __FUNCTION__));
return SDIOH_API_RC_SUCCESS;
if (sd_msglevel & SDH_COST_VAL)
getnstimeofday(&now);
- sd_cost(("%s: rw=%d, len=%d cost=%lds %luus\n", __FUNCTION__,
- write, len, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
+// sd_cost(("%s: rw=%d, len=%d cost=%lds %luus\n", __FUNCTION__,
+// write, len, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
return ((err_ret == 0) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
}
if (sd_msglevel & SDH_COST_VAL)
getnstimeofday(&now);
- sd_cost(("%s: len=%d cost=%lds %luus\n", __FUNCTION__,
- buf_len, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
+// sd_cost(("%s: len=%d cost=%lds %luus\n", __FUNCTION__,
+// buf_len, now.tv_sec-before.tv_sec, now.tv_nsec/1000 - before.tv_nsec/1000));
return status;
}