maybe_print_eds (controller, "donehead",
ohci_readl (controller, ®s->donehead), next, size);
maybe_print_eds (controller, "donehead",
ohci_readl (controller, ®s->donehead), next, size);
-
- /* broken fminterval means traffic won't flow! */
- ohci_dbg (controller, "fminterval %08x\n",
- ohci_readl (controller, ®s->fminterval));
}
#define dbg_port_sw(hc,num,value,next,size) \
}
#define dbg_port_sw(hc,num,value,next,size) \
if (verbose) {
ohci_dbg_sw (controller, next, size,
if (verbose) {
ohci_dbg_sw (controller, next, size,
((temp & RH_A_POTPGT) >> 24) & 0xff,
(temp & RH_A_NOCP) ? " NOCP" : "",
(temp & RH_A_OCPM) ? " OCPM" : "",
(temp & RH_A_DT) ? " DT" : "",
(temp & RH_A_NPS) ? " NPS" : "",
(temp & RH_A_PSM) ? " PSM" : "",
((temp & RH_A_POTPGT) >> 24) & 0xff,
(temp & RH_A_NOCP) ? " NOCP" : "",
(temp & RH_A_OCPM) ? " OCPM" : "",
(temp & RH_A_DT) ? " DT" : "",
(temp & RH_A_NPS) ? " NPS" : "",
(temp & RH_A_PSM) ? " PSM" : "",
);
temp = roothub_b (controller);
ohci_dbg_sw (controller, next, size,
);
temp = roothub_b (controller);
ohci_dbg_sw (controller, next, size,
temp = roothub_portstatus (controller, i);
dbg_port_sw (controller, i, temp, next, size);
}
temp = roothub_portstatus (controller, i);
dbg_port_sw (controller, i, temp, next, size);
}