Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/virtio/virtio.c
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
/* Device independent features. */ | /* Device independent features. */ | ||||
static struct virtio_feature_desc virtio_common_feature_desc[] = { | static struct virtio_feature_desc virtio_common_feature_desc[] = { | ||||
{ VIRTIO_F_NOTIFY_ON_EMPTY, "NotifyOnEmpty" }, | { VIRTIO_F_NOTIFY_ON_EMPTY, "NotifyOnEmpty" }, | ||||
{ VIRTIO_RING_F_INDIRECT_DESC, "RingIndirect" }, | { VIRTIO_RING_F_INDIRECT_DESC, "RingIndirect" }, | ||||
{ VIRTIO_RING_F_EVENT_IDX, "EventIdx" }, | { VIRTIO_RING_F_EVENT_IDX, "EventIdx" }, | ||||
{ VIRTIO_F_BAD_FEATURE, "BadFeature" }, | { VIRTIO_F_BAD_FEATURE, "BadFeature" }, | ||||
{ VIRTIO_F_VERSION_1, "Version1" }, | |||||
{ 0, NULL } | { 0, NULL } | ||||
}; | }; | ||||
const char * | const char * | ||||
virtio_device_name(uint16_t devid) | virtio_device_name(uint16_t devid) | ||||
{ | { | ||||
struct virtio_ident *ident; | struct virtio_ident *ident; | ||||
▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines |