diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-02-15 00:54:10 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-02-15 00:54:10 +0000 |
commit | 40dca7e24f3ca9ff9e779e7ceebebbc145fd70f5 (patch) | |
tree | 2e490e2a5849f202690cc46be872c0950997db79 /sys/dev/firewire/firewire.c | |
parent | df82c90d78134072a6b5601f6a7816001215769e (diff) | |
download | FreeBSD-src-40dca7e24f3ca9ff9e779e7ceebebbc145fd70f5.zip FreeBSD-src-40dca7e24f3ca9ff9e779e7ceebebbc145fd70f5.tar.gz |
- Increase split transaction timeout from 2 sec to 6 sec.
Problem reported by: Michael Reifenberger <root@nihil.reifenberger.com>
- Improve debug message.
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r-- | sys/dev/firewire/firewire.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index ab4ed46..79e0e3a 100644 --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -337,7 +337,7 @@ firewire_xfer_timeout(struct firewire_comm *fc) struct timeval split_timeout; int i; - split_timeout.tv_sec = 2; + split_timeout.tv_sec = 6; split_timeout.tv_usec = 0; microtime(&tv); @@ -350,7 +350,7 @@ firewire_xfer_timeout(struct firewire_comm *fc) /* the rests are newer than this */ break; device_printf(fc->bdev, - "split transaction timeout dst=%d tl=%d\n", + "split transaction timeout dst=0x%x tl=0x%x\n", xfer->dst, i); xfer->resp = ETIMEDOUT; STAILQ_REMOVE_HEAD(&fc->tlabels[i], link); @@ -1721,7 +1721,7 @@ fw_rcv(struct firewire_comm* fc, caddr_t buf, u_int len, u_int sub, u_int off, u fp->mode.hdr.tlrt >> 2); if(xfer == NULL) { printf("fw_rcv: unknown response " - "tcode=%d src=0x%x tl=%x rt=%d data=0x%x\n", + "tcode=%d src=0x%x tl=0x%x rt=%d data=0x%x\n", fp->mode.common.tcode, ntohs(fp->mode.hdr.src), fp->mode.hdr.tlrt >> 2, |