summaryrefslogblamecommitdiff
path: root/drivers/virtio/config.c
blob: 983d482fba403f00f866dde6b3ed6a6000472cc3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                              
/* 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>
#include <asm/system.h>