summaryrefslogtreecommitdiff
path: root/sys/dev/cons.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2003-03-29 17:52:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2003-03-29 17:52:02 +0000
commit471a7e35aa8eb1431337626194e0eed0384c338c (patch)
tree8d3d00744b3df3d31fbc4ef7ee31d9feb1559b90 /sys/dev/cons.c
parent9085fb972e97fd917644604f6100a04b987b2ae9 (diff)
Another chunk of bus_dma fixes. May actually approach correctness now.
1) Actually map and sync scatter gather list that is also DMA'd. 2) Actually map and sync request sense buffer. 3) Actually POSTREAD/WRITE sync data buffer after I/O, rather than skipping it because the I/O was successful and no chars were left to xfer. 4) Eliminate extra fields, clarify some names, reorder fields to clarify their use. 5) Put common scatter gather preparation logic into separate function. 6) If insertion of request sense command fails, complete active command with XS_SENSE, but zero'd sense data. 7) Eliminate physical address arithmetic as much as possible, centralizing remaining manipulations in code actually sending addresses to adapter.
Diffstat (limited to 'sys/dev/cons.c')
0 files changed, 0 insertions, 0 deletions