diff options
author | joe <joe@FreeBSD.org> | 2002-04-07 14:53:52 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-07 14:53:52 +0000 |
commit | 5d748e8d746084ebdee8b24354fa6599ffe5e526 (patch) | |
tree | bbb9bd92a09e9d30a98aa017031f9f8392597cbf | |
parent | 6ef5bd233e76d65cbc324a90369f9e49e6641735 (diff) | |
download | FreeBSD-src-5d748e8d746084ebdee8b24354fa6599ffe5e526.zip FreeBSD-src-5d748e8d746084ebdee8b24354fa6599ffe5e526.tar.gz |
MFNetBSD:
revision 1.113
date: 2001/11/21 02:39:31; author: augustss; state: Exp; lines: +10 -4
Some more debug stuff.
-rw-r--r-- | sys/dev/usb/ohci.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index dd60e56..60b74468 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -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$ */ /* @@ -1709,6 +1709,10 @@ ohci_device_request(usbd_xfer_handle xfer) usb_delay_ms(&sc->sc_bus, 5); 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); } @@ -1730,6 +1734,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; |