summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-03-19 07:04:11 +0000
committersimokawa <simokawa@FreeBSD.org>2003-03-19 07:04:11 +0000
commite63e5ae33641e7906245d09be07d1e6e572f0b12 (patch)
treeea0d8838533b01a6e519eaa00622ae0508687098 /sys
parentc318ac02ebccc91a7602c8efffa7b0ea3b323fad (diff)
downloadFreeBSD-src-e63e5ae33641e7906245d09be07d1e6e572f0b12.zip
FreeBSD-src-e63e5ae33641e7906245d09be07d1e6e572f0b12.tar.gz
Clear channel and tag bits before set them.
This should fix the problem that if_fwe doesn't work after DV receiving.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/if_fwe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c
index f3c7614..11dce81 100644
--- a/sys/dev/firewire/if_fwe.c
+++ b/sys/dev/firewire/if_fwe.c
@@ -310,6 +310,7 @@ fwe_init(void *arg)
fwe->pkt_hdr.mode.stream.chtag = fwe->stream_ch;
/* allocate DMA channel and init packet mode */
xferq->flag |= FWXFERQ_OPEN | FWXFERQ_EXTBUF;
+ xferq->flag &= ~0xff;
xferq->flag |= fwe->stream_ch & 0xff;
/* register fwe_input handler */
xferq->sc = (caddr_t) fwe;
OpenPOWER on IntegriCloud