diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2019-03-27 03:10:39 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2019-03-27 03:10:39 +0000 |
| commit | 5810085705388eccf4331a2ceb7019aeefdb894a (patch) | |
| tree | 9f9c5631f687c4bfce636acd04ab0bc89894b1dd /sys/dev/microcode | |
| parent | 4b7915c6468973c19744d85321be097d50bca2b0 (diff) | |
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@
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
