Clear channel and tag bits before set them.

This should fix the problem that if_fwe doesn't work after DV receiving.
This commit is contained in:
simokawa 2003-03-19 07:04:11 +00:00
parent 479761bc56
commit 9623dff573

View File

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