- Increase split transaction timeout from 2 sec to 6 sec.

Problem reported by: Michael Reifenberger <root@nihil.reifenberger.com>

- Improve debug message.
This commit is contained in:
Hidetoshi Shimokawa 2003-02-15 00:54:10 +00:00
parent db8fe4d4e9
commit 3173a15429
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110891

View File

@ -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,