freebsd-dev/sys/dev/sis
Pyun YongHyeon 5ed8e782f9 Make sure changing ownership of RX descriptor to be done as last
operation.  Previously ownership was transferred to hardware before
setting address of new RX buffer such that it was possible for
hardware to use wrong RX buffer address.
While here keep compiler from re-ordering instructions by declaring
descriptor members volatile. Memory barriers would do the same job
but volatile is supposed to be cheaper than using memory barriers,
especially on MP systems.

Submitted by:	marius
MFC after:	1 week
2011-02-28 20:37:48 +00:00
..
if_sis.c Make sure changing ownership of RX descriptor to be done as last 2011-02-28 20:37:48 +00:00
if_sisreg.h Make sure changing ownership of RX descriptor to be done as last 2011-02-28 20:37:48 +00:00