diff options
author | delphij <delphij@FreeBSD.org> | 2009-05-18 01:51:52 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-05-18 01:51:52 +0000 |
commit | 8dd08ce26523a86f2f91de35a2bad2d04bd3204b (patch) | |
tree | 852c9c8f061dfa782a4088e523c71c52108272b5 /sys/compat/linux/linux_socket.h | |
parent | c690953dc54139dcfb297e3484a9c4792f5aa7ab (diff) | |
download | FreeBSD-src-8dd08ce26523a86f2f91de35a2bad2d04bd3204b.zip FreeBSD-src-8dd08ce26523a86f2f91de35a2bad2d04bd3204b.tar.gz |
DMA synchronization fixes:
- In bce_rx_intr(), use BUS_DMASYNC_POSTREAD instead of
BUS_DMASYNC_POSTWRITE, as we want to "read" from the
rx page chain pages.
- Document why we need to do PREWRITE after we have updated
the rx page chain pages.
- In bce_intr(), use BUS_DMASYNC_POSTREAD and
BUS_DMASYNC_PREREAD when before and after CPU "reading"
the status block.
- Adjust some nearby style mismatches/etc.
Pointed out by: yongari
Approved by: davidch (no objection) but bugs are mine :)
Diffstat (limited to 'sys/compat/linux/linux_socket.h')
0 files changed, 0 insertions, 0 deletions