diff options
author | simokawa <simokawa@FreeBSD.org> | 2004-01-05 14:21:18 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2004-01-05 14:21:18 +0000 |
commit | 007605b9187cb852ffd9e2b660a880791ad06c92 (patch) | |
tree | 8e94b8afeea0a4c99a0df0234a9c6aecde42494f /sys/dev/firewire/fwohci.c | |
parent | 8f8e1b2ede43eac06fdfa820bf577e5e2a052a48 (diff) | |
download | FreeBSD-src-007605b9187cb852ffd9e2b660a880791ad06c92.zip FreeBSD-src-007605b9187cb852ffd9e2b660a880791ad06c92.tar.gz |
MFp4:
* firewire
- Remove pending list.
- Ignore timeout for the FWXF_START state.
- Define M_FWMEM for debugging.
- Comment out DELAY() in fw_asybusy().
- Improve debugging messages
* sbp
- Freeze simq while bus reset.
Diffstat (limited to 'sys/dev/firewire/fwohci.c')
-rw-r--r-- | sys/dev/firewire/fwohci.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c index ba54a7c..6f63b54 100644 --- a/sys/dev/firewire/fwohci.c +++ b/sys/dev/firewire/fwohci.c @@ -2771,7 +2771,9 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) dbch->buf_offset = - dbch->buf_offset; /* sanity check */ if (resCount != 0) - printf("resCount != 0 !?\n"); + printf("resCount = %d !?\n", + resCount); + /* XXX clear pdb_tr */ goto out; } offset = 0; @@ -2783,6 +2785,7 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) = sizeof(fw_pkt) so this shouldn't happens */ printf("plen(%d) is negative! offset=%d\n", plen, offset); + /* XXX clear pdb_tr */ goto out; } if (plen > 0) { @@ -2793,7 +2796,9 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) printf("splitted payload\n"); /* sanity check */ if (resCount != 0) - printf("resCount != 0 !?\n"); + printf("resCount = %d !?\n", + resCount); + /* XXX clear pdb_tr */ goto out; } vec[nvec].iov_base = ld; |