1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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:
Hidetoshi Shimokawa 2003-03-19 07:04:11 +00:00
parent 00aabd830d
commit 58089a20d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112400

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;