Searched hist:219102 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/sys/dev/sis/ | ||
H A D | if_sisreg.h | diff 219102 Mon Feb 28 18:41:46 MST 2011 yongari 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 |
Completed in 97 milliseconds