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);
}
size -= scnprintf (next, size,
"SUSPENDED (no register access)\n");
goto done;
size -= scnprintf (next, size,
"SUSPENDED (no register access)\n");
goto done;
class_device_create_file(cldev, &class_device_attr_async);
class_device_create_file(cldev, &class_device_attr_periodic);
class_device_create_file(cldev, &class_device_attr_async);
class_device_create_file(cldev, &class_device_attr_periodic);
class_device_remove_file(cldev, &class_device_attr_async);
class_device_remove_file(cldev, &class_device_attr_periodic);
class_device_remove_file(cldev, &class_device_attr_async);
class_device_remove_file(cldev, &class_device_attr_periodic);