Skip to content

Commit

Permalink
Handle VIRTIO_IVAR_SUBVENDOR in MMIO
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanv committed Jul 23, 2018
1 parent f92e437 commit 8e7ccd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/dev/virtio/mmio/virtio_mmio.c
Expand Up @@ -426,6 +426,7 @@ vtmmio_read_ivar(device_t dev, device_t child, int index, uintptr_t *result)
case VIRTIO_IVAR_VENDOR:
*result = vtmmio_read_config_4(sc, VIRTIO_MMIO_VENDOR_ID);
break;
case VIRTIO_IVAR_SUBVENDOR:
case VIRTIO_IVAR_MODERN:
*result = 0;
break;
Expand Down

0 comments on commit 8e7ccd2

Please sign in to comment.