Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

virito: Clean up the dma attrs.

  • Loading branch information...
commit 48e2eead785db801a5c3cabcc18bdfccd42c9f1d 1 parent 7486558
@xl0 authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 virtio/virtio.c
View
5 virtio/virtio.c
@@ -258,7 +258,7 @@ static ddi_dma_attr_t virtio_vq_dma_attr = {
* after page-shifting
*/
0xFFFFFFFF, /* counter register max */
- VIRTIO_PAGE_SIZE, /* page alignment */
+ VIRTIO_PAGE_SIZE, /* page alignment required */
0x3F, /* burst sizes: 1 - 32 */
0x1, /* minimum transfer size */
0xFFFFFFFF, /* max transfer size */
@@ -287,7 +287,8 @@ static ddi_dma_attr_t virtio_vq_indirect_dma_attr = {
static ddi_device_acc_attr_t virtio_vq_devattr = {
DDI_DEVICE_ATTR_V0,
DDI_NEVERSWAP_ACC,
- DDI_STORECACHING_OK_ACC
+ DDI_STORECACHING_OK_ACC,
+ DDI_DEFAULT_ACC
};
static void
Please sign in to comment.
Something went wrong with that request. Please try again.