diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-03-19 07:04:11 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-03-19 07:04:11 +0000 |
commit | e63e5ae33641e7906245d09be07d1e6e572f0b12 (patch) | |
tree | ea0d8838533b01a6e519eaa00622ae0508687098 | |
parent | c318ac02ebccc91a7602c8efffa7b0ea3b323fad (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/dev/firewire/if_fwe.c | 1 |
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; |