Some more debug stuff.
This commit is contained in:
parent
2478d1b320
commit
5506bb0f06
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ohci.c,v 1.112 2001/11/21 02:38:35 augustss Exp $ */
|
||||
/* $NetBSD: ohci.c,v 1.113 2001/11/21 02:39:31 augustss Exp $ */
|
||||
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -46,7 +46,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.112 2001/11/21 02:38:35 augustss Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.113 2001/11/21 02:39:31 augustss Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1660,11 +1660,15 @@ ohci_device_request(usbd_xfer_handle xfer)
|
|||
}
|
||||
splx(s);
|
||||
|
||||
#if 0
|
||||
if (ohcidebug > 10) {
|
||||
#if 1
|
||||
if (ohcidebug > 20) {
|
||||
delay(10000);
|
||||
DPRINTF(("ohci_device_request: status=%x\n",
|
||||
OREAD4(sc, OHCI_COMMAND_STATUS)));
|
||||
ohci_dumpregs(sc);
|
||||
printf("ctrl head:\n");
|
||||
ohci_dump_ed(sc->sc_ctrl_head);
|
||||
printf("sed:\n");
|
||||
ohci_dump_ed(sed);
|
||||
ohci_dump_tds(setup);
|
||||
}
|
||||
|
@ -1686,6 +1690,8 @@ ohci_device_request(usbd_xfer_handle xfer)
|
|||
void
|
||||
ohci_add_ed(ohci_soft_ed_t *sed, ohci_soft_ed_t *head)
|
||||
{
|
||||
DPRINTFN(8,("ohci_add_ed: sed=%p head=%p\n", sed, head));
|
||||
|
||||
SPLUSBCHECK;
|
||||
sed->next = head->next;
|
||||
sed->ed.ed_nexted = head->ed.ed_nexted;
|
||||
|
|
Loading…
Reference in New Issue