From 58089a20d1d8ec0ff76784c5dee42bf8ac5dd3ca Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Wed, 19 Mar 2003 07:04:11 +0000 Subject: [PATCH] Clear channel and tag bits before set them. This should fix the problem that if_fwe doesn't work after DV receiving. --- sys/dev/firewire/if_fwe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index f3c7614e4f80..11dce81aaf60 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;