summaryrefslogtreecommitdiff
path: root/drivers/virtio/config.c
blob: f70bcd2ff98ffdcb491840bb1a1a197d463f5bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Configuration space parsing helpers for virtio.
 *
 * The configuration is [type][len][... len bytes ...] fields.
 *
 * Copyright 2007 Rusty Russell, IBM Corporation.
 * GPL v2 or later.
 */
#include <linux/err.h>
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <linux/bug.h>