Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   msaitoh
Date:           Wed Mar 27 03:10:39 UTC 2019

Modified Files:
        src/sys/dev/pci: if_bnx.c

Log Message:
 Sync with other *BSDs:

>From OpenBSD's rev. 1.93:
 > to quote from the gospel of bus_dma.9:
 >
 >    Synchronization operations are expressed from the perspective of the host
 >    RAM, e.g., a device -> memory operation is a READ and a memory -> device
 >    operation is a WRITE.
 >
 > the status block that the isr reads is written to by the device.
 > the chip writes to memory, it is therefore a READ.
 >
 > this also adds the preread sync when the map is set up and the postread
 > sync when the map is torn down for better symmetry. there are probably
 > more issues like this in the code, but this is a start.
 >
 > discovered while discussing another diff with claudio@


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/pci/if_bnx.c

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




Home | Main Index | Thread Index | Old Index