Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Atsushi Onoe <onoe@netbsd.org>
List: source-changes
Date: 11/20/2000 14:12:20
Module Name:	syssrc
Committed By:	onoe
Date:		Mon Nov 20 12:12:19 UTC 2000

Modified Files:
	syssrc/sys/dev/ieee1394: fwohci.c fwohcireg.h fwohcivar.h
	syssrc/sys/net: if_ieee1394.h if_ieee1394subr.c

Log Message:
Use DMA from mbuf instead of copy in transmit.
	Still use memcpy in receiving because we must use buffer fill mode
	and many packets may share single receive buffer.

XXX: Workaround(?) for CXD3222: it fails to DMA for selfid packet according
to code placement. I'm not sure about the reason (cache? timing? bug?).

Fixed the bug: transmitter sometimes stop and OACTIVE bit of if_fw
never be cleared.
Fixed the bug: freeing free buffer.

Enable ieee1394_drain and ieee1394_watchdog for loss of fragment.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 syssrc/sys/dev/ieee1394/fwohci.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/ieee1394/fwohcireg.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/ieee1394/fwohcivar.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/net/if_ieee1394.h \
    syssrc/sys/net/if_ieee1394subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.